29.11.2011, 11:57
if you mean destroy the car when you die ?
would work i think
note i havent tested it
also that will only work if your in the car when you die if your not and you jump out when falling into the water idk =/ have to wait for someone more experinced, of which there are many lol.
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
return 1;
return 1;
}
note i havent tested it
also that will only work if your in the car when you die if your not and you jump out when falling into the water idk =/ have to wait for someone more experinced, of which there are many lol.