[COD] Connect/Disconnect

Quem não conhece aquele mesagens de saiu e entrou no servidor? posta isso e teras!
public OnPlayerDisconnect(playerid, reason)
{
new
string[64],
name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
switch(reason)
{
case 0: format(string,sizeof string,"%s saiu . (Crash)",name);
case 1: format(string,sizeof string,"%s saiu . (/q)",name);
case 2: format(string,sizeof string,"%s saiu . (Kick/Ban)",name);
}
SendClientMessageToAll(COR_GAY,string);
return 1;
}

StumbleDiggTechnoratiRedditDelicious