why doesn't this code work?
#1

this code doesn't seem to do anything:
public OnVehicleDeath(vehicleid, killerid){
SetTimer("DestroyVehicle(vehicleid)",5000,false);
}

i've tried it with and without (vehicleid), yet it still does nothing. the car respawns and this code is useless.

using this code, i am able to get cars to disappear when their health hits 0, unfortuantely this also means that some cars disappear before they explode:
public OnVehicleDeath(vehicleid, killerid){
DestroyVehicle(vehicleid);
}

can anyone help me to make all (or most) cars explode when they are flipped over, but not respawn after?
Reply


Messages In This Thread
why doesn't this code work? - by Yourfatness - 25.12.2010, 18:39
Re: why doesn't this code work? - by WillyP - 25.12.2010, 19:45
Re: why doesn't this code work? - by Mean - 25.12.2010, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)