SA-MP Forums Archive
GetVehicleVelocity - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetVehicleVelocity (/showthread.php?tid=490701)



GetVehicleVelocity - mickos - 27.01.2014

pawn Код:
if(IsPlayerInAnyVehicle(playerid))
    GetVehicleVelocity(GetPlayerVehicleID(playerid), x1, y1, z1);
    SetVehicleVelocity(GetPlayerVehicleID(playerid), x1, y1, z1+ 0.3);
I tried to make the vehicle go jump, when I press capslock. It works but, when I drive, the vehicle stops, but it musn't be stop. It must be go jump forward backward etc etc. Whats wrong?