31.05.2010, 15:28
Quote:
Originally Posted by Fro1sha
Please example RotateObject(objectid,Float:rotX,Float:rotY,Float: rotZ,points,Floatpeed);
How many points and speed need use ? |
Actual rotZ = 0.0
New rotZ = 90.0
Points = 90(so rotZ will be 1.0,2.0,3.0,4.0... to 90.0) or 45(so rotZ will be 2.0,4.0,6.0,8.0... to 90.0) or 180(so rotZ will be 0.5,1.0,1.5,2.0... to 90.0) or any othe number, but if it's a multiplier of the new highest value, rotation will be more exatly.
Speed = Recomended not high to 50.0 and only edit Points.
I recommend to use the example script. Test this code in your server and change values for test points and speed:
Код:
/rotate 25 0.0 0.0 90.0 45 50.0
0.0 = rotX increase
0.0 = rotY increase
90.0 = rot Z increase
90 = points
50.0 = Speed
You can use negative values too in that command.