Deleting all components from a car
#2

pawn Code:
new x, y, z, id, model;

id = GetPlayerVehicleID(playerid);

GetVehiclePos(id, x, y, z);
model = GetVehicleModel(id);
DestroyVehicle(id);
CreateVehicle(model, x, y, z);
Before you start copy-pasting: This will NOT work. It's just to give you an idea.
Reply


Messages In This Thread
Deleting all components from a car - by thimo - 05.04.2011, 14:27
Re: Deleting all components from a car - by Vince - 05.04.2011, 14:49
Re: Deleting all components from a car - by Mmartin - 05.04.2011, 14:55
Re: Deleting all components from a car - by Alby Fire - 05.04.2011, 14:58
Re: Deleting all components from a car - by thimo - 06.04.2011, 05:56

Forum Jump:


Users browsing this thread: 3 Guest(s)