How to make a vehicle remover?
#2

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);
Reply


Messages In This Thread
How to make a vehicle remover? - by QatarKnight - 29.08.2013, 00:39
Re: How to make a vehicle remover? - by urbanghetto - 29.08.2013, 00:56
Respuesta: How to make a vehicle remover? - by RafaelZam - 29.08.2013, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)