25.11.2013, 00:32
Have a question for those that have accomplished this.
Basically, if a vehicle's health reaches the point of catching fire, i'd like for the "explosion" to still happen and after it does, for the DestroyVehicle(car[killerid]); to happen. So basically, set a little timer for it.
So basically, OnVehicleDeath is just doing:
So how would i put SetTimerEx into the DestroyVehicle?
Basically, if a vehicle's health reaches the point of catching fire, i'd like for the "explosion" to still happen and after it does, for the DestroyVehicle(car[killerid]); to happen. So basically, set a little timer for it.
So basically, OnVehicleDeath is just doing:
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
DestroyVehicle(car[killerid]);
return 1;
}