09.02.2014, 19:23
pawn Код:
public onPlayerDeath(playerid, killerid, reason)
{
if (reason == 50)
{
new currentveh;
currentveh = GetPlayerVehicleID(killerid);
DestroyVehicle(currentveh);
SendDeathMessage(killerid, playerid, reason);
SendClientMessage(killerid, -1, "Heliblading is not allowed!");
}
return 1;
}