04.09.2016, 00:20
Seguinte, tenho o comando de reporte, e quando o adm recebe o reporte, aparece as infos que vem daqui:
Mas quero que envie para os adm e o moderadores, entгo fiz assim:
Mas quando coloco assim, ele nгo envia й nada, nem pro adm nem pro moderador.
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) SendClientMessage(i, 0xFFFFFFFF, string); if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) PlayerPlaySound(i, 5206, 0, 0, 0); if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) GameTextForPlayer(i, "~n~Novo Report", 4000, 5);
Код:
if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) if (Conta[i][Mod] >= 1) SendClientMessage(i, 0xFFFFFFFF, string); if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) if (Conta[i][Mod] >= 1) PlayerPlaySound(i, 5206, 0, 0, 0); if(IsPlayerConnected(i) == 1) if (Conta[i][Level] >= 1) if (Conta[i][Mod] >= 1) GameTextForPlayer(i, "~n~Novo Report ~w~]", 4000, 5);