SA-MP Forums Archive
Mantaining Players Speed. - 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: Mantaining Players Speed. (/showthread.php?tid=153664)



Mantaining Players Speed. - v0nz - 10.06.2010

Pretty simple. How can I maintain the players Velocity to 50? Like GetVehicleVelocity then SetVehicleVelocity. Also, where will I put it?


Re: Mantaining Players Speed. - Sergei - 10.06.2010

OnPlayerUpdate.


Re: Mantaining Players Speed. - v0nz - 10.06.2010

Alright, how exactly would I go about scripting that?


Re: Mantaining Players Speed. - !CryWolf - 10.06.2010

create a loop that check player velocity, and if it equal to 50 set it to what do you want.