16.11.2011, 19:50
Код:
new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); switch(reason) { case 0: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) perdeu a conexгo.", name, playerid); case 1: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) saiu do servidor.", name, playerid); // case 2: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) foi expulso do servidor.", name,playerid); } SendClientMessageToAll(COLOR_CONNECTION, string); SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);