[VIDEO] Vehicles Respawn bug
#4

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.
Reply


Messages In This Thread
[VIDEO] Vehicles Respawn bug - by SPA - 26.03.2014, 11:24
Re: [VIDEO] Vehicles Respawn bug - by Blademaster680 - 26.03.2014, 11:27
Re: [VIDEO] Vehicles Respawn bug - by PowerPC603 - 26.03.2014, 12:09
Re: [VIDEO] Vehicles Respawn bug - by SPA - 26.03.2014, 12:35
Re: [VIDEO] Vehicles Respawn bug - by Blademaster680 - 26.03.2014, 12:59
Re: [VIDEO] Vehicles Respawn bug - by SPA - 26.03.2014, 13:24
Re: [VIDEO] Vehicles Respawn bug - by SPA - 27.03.2014, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)