SA-MP Forums Archive
skill level bike - 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: skill level bike (/showthread.php?tid=293124)



skill level bike - ombre - 27.10.2011

Hi,

There is a function or other for don't jump with his BMX? As in the beginning in GTA, for to be more RP.

Thx.


Re : skill level bike - ombre - 30.10.2011

up plz


Re: skill level bike - Gamer_Z - 30.10.2011

there is no bike skill function however you can detect the key press, get players Z coord, and set the Z again so he won't jump.

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/SetPlayerPos