25.10.2012, 10:58
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
if((killerid != playerid) || (killerid = INVALID_PLAYER_ID))
{
pInfo[killerid][Kills]++;
pInfo[playerid][Deaths]++;
}
else
{
pInfo[playerid][Suicides]++;
}
return 1;
}