Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: FarisDon on Jul 25, 2015, 10:09 AM

Title: Sprite
Post by: FarisDon on Jul 25, 2015, 10:09 AM
CreateSprite( "Ring.png", -300, 470, 0, 0, 0, 255 );This is an example of real speedo meter of soul shaker ,  and i want to know that what is that , -300, 470, 0, 0, 0, 255 ???
Title: Re: Sprite
Post by: DizzasTeR on Jul 25, 2015, 10:35 AM
I'll try my best to explain.

CreateSprite( "Ring.png", -300, 470, 0, 0, 0, 255 );
CreateSprite( SpriteName(string), X, Y, 0, 0, 0, Alpha );


About the 0's I never my self knew what are those, couldn't find an explanation for them anywhere, and I didn't bother to try out what they do, maybe scaling and other options I guess.
Title: Re: Sprite
Post by: KAKAN on Jul 25, 2015, 10:37 AM
The 0,s are the rotation x,y,z of the sprite I guess, u can try them out
Title: Re: Sprite
Post by: KAKAN on Jul 25, 2015, 10:46 AM
So I wasn't fully wrong
CreateSprite("Filename.png", x, y, rX, rY, rotation, alpha)
that's the format^
You can see the whole topic Here (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=2515.0)