23.12.2016, 10:49
iam death with a gun, but why after send death with a gun, send again suicide ? this make my server bugged, and sometimes can spawn at blueberry

this code

this code
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(PlayerInfo[playerid][Logged] == 1) { SendDeathMessage(killerid, playerid, reason); PlayerInfo[playerid][pDeaths]++; PlayerInfo[killerid][pKills]++; new str[254]; format(str,sizeof(str),"{FFFF00}[DEATH]: {FFFFFF}You have been killed by %s.",GetName(killerid)); SendClientMessage(playerid,-1,str); format(str,sizeof(str), "[DEATH] %s killed %s ", GetName(killerid) , GetName(playerid)); Log("death", str); if(team[playerid] == HUMAN) team[playerid] = ZOMBIE; } return 1; }