Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: Kenneth Law on Mar 05, 2019, 10:05 AM

Title: How to rotate a GUI sprite?
Post by: Kenneth Law on Mar 05, 2019, 10:05 AM
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!
Title: Re: How to rotate a GUI sprite?
Post by: NicusorN5 on Mar 16, 2019, 02:03 PM
Rotation is the angle and RotationCentre is an VectorScreen that specifies the 'center of rotation' of the sprite.
Title: Re: How to rotate a GUI sprite?
Post by: Kenneth Law on Mar 25, 2019, 02:35 PM
Solved thx for the reply