[COD/TUT] Chat Kill

Adicionando um Chat Kill Com Quem Entrou (icone Azul) quem Saiu (Icone Vermelho)


OnPlayerConnect
PAWN Code:
public OnPlayerConnect(playerid)
{
SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
return 1;
}


OnPlayerDisconnect
PAWN Code:
public OnPlayerDisconnect(playerid)
{
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
}



OnPlayerDeath

PAWN Code:
SendDeathMessage(killerid,playerid,reason);
Fonte: http://forum.sa-mp.com/index.php?topic=12197.msg82860#msg82860

StumbleDiggTechnoratiRedditDelicious