[Ajuda] pq o ultimo player q loga fica marcado como mod?
#2

Tenta Assim .-.

pawn Код:
if(strcmp(cmdtext, "/moderadores", true) == 0){
SendClientMessage(playerid, verdel,"~~~~~~~~~~~~~~~~ Moderadores Online ~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, C_G,"Super-Homem (BOT)");
new Jogador[24];
new count = 0;
new msg[120];
for(new i=0; i<MAX_PLAYERS; i++){
GetPlayerName(i,Jogador,24);
format(file,sizeof(file),PASTA_CONTAS,Jogador);
if(pAdmin[i] == 1 || pAdmin[i] == 2 || pAdmin[i] == 3)//admins do level 1 ao 3
{
format(msg,sizeof(msg),"%s (%d)", Jogador,i);
SendClientMessage(playerid, C_G, msg);
count++;
}
}
if(count == 0){
SendClientMessage(playerid, 0xFF0000AA, "Ninguйm online й moderador!");
}
return 1;
}
pawn Код:
if(strcmp(cmdtext, "/admins", true) == 0){
SendClientMessage(playerid, verdel,"~~~~~~~~~~~~~~~~ Administradores Online ~~~~~~~~~~~~~~~~");
new Jogador[24];
new count = 0;
new msg[120];
for(new i=0; i<MAX_PLAYERS; i++){
GetPlayerName(i,Jogador,24);
format(file,sizeof(file),PASTA_CONTAS,Jogador);
if(pAdmin[i] == 4 || pAdmin[i] == 5)//admins do level 4 ao 5
{
format(msg,sizeof(msg),"%s (%d)", Jogador,i);
SendClientMessage(playerid, C_G, msg);
count++;
}
}
if(count == 0){
SendClientMessage(playerid, 0xFF0000AA, "Nenhum Admin online no momento!");
}
return 1;
}
Reply


Messages In This Thread
pq o ultimo player q loga fica marcado como mod? - by aldair8 - 12.12.2012, 17:55
Re: pq o ultimo player q loga fica marcado como mod? - by williamgato - 12.12.2012, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)