Destroy Vehicle
#4

pawn Код:
DestroyVehicle(car[playerid]);
but i guess that would only destroy the last created vehicle.
so u need to make new varibales for each playerid like

pawn Код:
new firstone;//ontopofscript
new secondone;//same
pawn Код:
//at creating the vehicle for the first racer
firstone = playerid;
//and the same for the secondracer
secondone = playerid;
then when u destroy the vehicles u do:
pawn Код:
DestroyVehicle(car[firstone]);
DestroyVehicle(car[secondone]);
Reply


Messages In This Thread
Destroy Vehicle - by DevilRevenge - 13.07.2009, 09:38
Re: Destroy Vehicle - by Abernethy - 13.07.2009, 09:40
Re: Destroy Vehicle - by DevilRevenge - 13.07.2009, 09:43
Re: Destroy Vehicle - by saiberfun - 13.07.2009, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)