29.05.2016, 15:16
Basicamente o player deve estar no rcon para usar o chat e sу verб a mensagem quem estiver logado tbm no rcon.
Код:
if(text[0] == '@') { if(IsPlayerAdmin(playerid)) { new String[129], Name; GetPlayerName(playerid, Name, 24); for(new i = 0; i < MAX_PLAYERS; i ++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerAdmin(i)) { format(String, sizeof String, "[ADM-CHAT] %s: %s", Name, text); SendClientMessage(i, -1, String); } } } }