/car problem - 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: /car problem (
/showthread.php?tid=419239)
/car problem -
Ananisiki - 28.02.2013
^^^^^^^^
Re: /car problem -
GiamPy. - 28.02.2013
new personalVehicle;
Then, add in the /veh command:
if(personalVehicle) return SendClientMessage(playerid, COLOR_RED, "You possess a vehicle already.");
Then, assign "vid" to personalVehicle.
Make another command to destroy "personalVehicle".
Always remember to reset the var once you've destroyed it.