Respawn a vehicle?
#1

How would i do that?
Like whats the main bit,
Maybe DestroyVehicle then, CreateVehicle?
But how would i do it, For specific vehicle though,
Just the main bit not the whole code
Reply
#2

first you gotta find the vehicle id, then destroy that vehicle, then create the vehicle again. Keep in mind that sometimes this will throw your vehicle id system out of whack.
Reply
#3

There isn't any need to re-create it, just use SetVehicleToRespawn function.
Reply
#4

How do you do that for every vehicle though? I've got about 1900 vehicles in my GM!
Reply
#5

pawn Код:
for(new v = 1; v <= MAX_VEHICLES; v++) SetVehicleToRespawn(v);
Reply
#6

<3 (no homo)

Thanks dude!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)