SA-MP Forums Archive
Specified time for driving car - 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: Specified time for driving car (/showthread.php?tid=631564)



Specified time for driving car - Mijata - 31.03.2017

How to add specified time for driving car, like for hydra player have 2 mins to drive then player got ejected from car...


Re: Specified time for driving car - Toroi - 31.03.2017

Create a function to eject players from vehicles and trigger it with SetTimerEx (passing the playerid value) under the respective check in the OnPlayerStateChange callback.


Re: Specified time for driving car - Mijata - 02.04.2017

Can u give me example