24.12.2010, 15:13
hello people, i'm here to ask could I do a speedboost but on foot? I tried something like this:
But it has no effect :S
What am I missing ro doing wrong?
thanks for help
(I'm on 0.3c RC6)
Код:
new Float:speed[3], Float:x,Float:y,Float:z,Float:total; GetPlayerVelocity(playerid, speed[0], speed[1], speed[2]); total = floatsqroot((speed[0] * speed[0]) + (speed[1] * speed[1]) + (speed[2] * speed[2])); total += 1; SetPlayerVelocity(playerid,x,y,z);
What am I missing ro doing wrong?
thanks for help
(I'm on 0.3c RC6)