How to rotate a GUI sprite?

Started by Kenneth Law, Mar 05, 2019, 10:05 AM

Previous topic - Next topic

Kenneth Law

Anyone knows how to rotate a GUI sprite?
https://forum.vc-mp.org/?topic=4710.msg34467#msg34467
I've viewed the link above and found these two codes
GUISprite.Rotation
GUISprite.RotationCentre
but have no idea how to use it. I would appreciate if someone could help me with it!

NicusorN5

Rotation is the angle and RotationCentre is an VectorScreen that specifies the 'center of rotation' of the sprite.

Kenneth Law