28.02.2013, 02:44
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.
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.