Posts: 447
Threads: 105
Joined: Feb 2013
Quote:
Originally Posted by PowerPC603
It's actually in seconds according to the wiki.
You must have a timer running somewhere in your code which respawns all vehicles every second.
Also, use a loop to set the virtual world:
pawn Код:
for (new i; i < sizeof(tank); i++) SetVehicleVirtualWorld(tank[i], 50);
for (new i; i < sizeof(vehiclebf); i++) SetVehicleVirtualWorld(vehiclebf[i], 50);
Much shorter and automatically uses extra added vehicles if you add some (increase the array-size and add vehicles, you don't even have to edit the loop).
|
Does this timer Repeating?
SetTimerEx("VehRes",4500,0,"i",vehicleid);
I dont have anything else.