22.03.2016, 20:41
OnPlayerDeath:
If i kill a player with katana,reason do not display as i killed player with katana!
but displayed that player death with suicide..
Код:
SendDeathMessage(killerid, playerid, reason);
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid) { if(damagedid != INVALID_PLAYER_ID) { if(weaponid == 8) SetPlayerHealth(damagedid, 0); } return 1; }
but displayed that player death with suicide..