Nicht ganz. So:
C
public OnPlayerDisconnect(playerid)
{
new name[MAX_PLAYER_NAME], string[100];
if(inEvent[playerid] != true)return 1;
format(string, sizeof(string), "{FF1717}[EVENT]:{FFFFFF}{%06x} %s{FFFFFF} is out of the Event.", GetPlayerColor(playerid) >>> 8,name);
SendClientMessageToAll(0xC4C4C4FF, string);
inEvent[playerid] =false;
return 1;
}
