OnVehicleDeat
#6

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


Messages In This Thread
OnVehicleDeat - by cruising - 28.08.2010, 10:19
Re: OnVehicleDeat - by Sergei - 28.08.2010, 10:20
Re: OnVehicleDeat - by [HiC]TheKiller - 28.08.2010, 10:21
Re: OnVehicleDeat - by cruising - 28.08.2010, 10:24
Re: OnVehicleDeat - by Adil - 28.08.2010, 10:24
Re: OnVehicleDeat - by [XST]O_x - 28.08.2010, 10:24
Re: OnVehicleDeat - by cruising - 28.08.2010, 10:30
Re: OnVehicleDeat - by [XST]O_x - 28.08.2010, 10:32
Re: OnVehicleDeat - by cruising - 28.08.2010, 10:36
Re: OnVehicleDeat - by Claude - 28.08.2010, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)