public OnPlayerDisconnect(playerid, reason)
{
new pname [MAX_PLAYER_NAME];
new string[64];
GetPlayerName(playerid, pname, sizeof(pname));
switch(reason)
{
case 0: format(string, sizeof(string), "%s hat den Server verlassen. (Timeout)", pname);
case 1: format(string, sizeof(string), "%s hat den Server verlassen.", pname);
case 2: format(string, sizeof(string), "%s hat den Server verlassen. (Kick/Ban)", pname);
}//<-------
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}