27.07.2016, 21:52
I want to kill the vehicle only in Deathm. But only vehicleid, killerid params are valid.
Код HTML:
if(GetPVarInt(playerid,"Deathm")) { DestroyVehicle(vehicleid); }
Код:
public OnVehicleDeath( vehicleid, killerid ) { if(GetPVarInt(playerid,"Deathm")) { DestroyVehicle(vehicleid); } return ( 1 ); }