Speed Decrease - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Speed Decrease (
/showthread.php?tid=116514)
Speed Decrease -
TouR - 29.12.2009
I wonder how can i make a speed decreaser..... Let me explain.. When a player is in a veh and type a command his vehicle losing and losing its speed till it stops..
Re: Speed Decrease -
[HiC]TheKiller - 29.12.2009
https://sampwiki.blast.hk/wiki/SetVehicleVelocity
Re: Speed Decrease -
dice7 - 29.12.2009
You can experiment with GetVehicleVelocity and SetVehicleVelocity, but the you'll achieve the smoothest effect with this
pawn Код:
new veh = GetPlayerVehicleID(playerid);
RemovePlayerFromVehicle(playerid);
PutPlayerInVehicle(playerid, veh, 1);
Re: Speed Decrease -
TouR - 29.12.2009
Can you plz tell me a number velocity that makes vehicle runs with 1/2 of it's speed?