28.08.2010, 10:24
You are looping through all vehicles then only respawning vehicle ID 0?
And if you want only the vehicle that died to respawn:
EDIT: If you want the car NOT to respawn,put the 'respawntime' or 'respawndelay' in CreateVehicle or AddStaticVehicleEx as -1.
And if you want only the vehicle that died to respawn:
pawn Code:
public OnVehicleDeath(vehicleid,killerid)
{
SetVehicleToRespawn(vehicleid);
return 1;
}

