29.08.2013, 00:56
Give a variable to your CreateVehicle and put a DestroyVehicle before it, this would give
pawn Код:
new Veh[MAX_PLAYERS] = -1; // At the top of your code
// In your menu response
DestroyVehicle(Veh[playerid]); // Will destroy the vehicle, if no vehicle have been created will destroy the vehicle id -1 (Not existing)
Veh[playerid] = CreateVehicle(blah blah);