SA-MP Forums Archive
Help with South Central please - 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: Help with South Central please (/showthread.php?tid=620843)



Help with South Central please - FrGd - 03.11.2016

I'm using the South Central for studies and appeared to me a problem when I buy a vehicle anyone can turn it on, how to fix it?


Re: Help with South Central please - GoldenLion - 03.11.2016

There is a Car_IsOwner function.


Re: Help with South Central please - FrGd - 03.11.2016

How to use it?


Re: Help with South Central please - GoldenLion - 03.11.2016

When a player types /engine you should check if player owns the vehicle he is inside, if yes then start the engine, else if it's not a temporary vehicle and player doesn't own then don't.