/car problem
#1

^^^^^^^^
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)