[Question] Crating And Destroying Cars And Objects.
#2

To create vehicles ingame, you have to use CreateVehicle. To remove them later on, you have to store their ids, as you already tried.
pawn Код:
racecar1 = CreateVehicle...
racecar2 = CreateVehicle...

//or with an array
new racecar[max_cars];
racecar[0] = ...
racecar[1] = ...
Then in /quitrace use DestroyVehicle with the stored ids.
Reply


Messages In This Thread
[Question] Crating And Destroying Cars And Objects. - by Alex_Valde - 18.10.2010, 08:04
Re: [Question] Crating And Destroying Cars And Objects. - by Mauzen - 18.10.2010, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)