[Pedido] Criar comando /admins
#1

comando /admins para ver os admins online se alguem suber agradeзo
Reply
#2

pawn Код:
CMD:admins(playerid,params[])
{
   for(new i=0; i<MAX_PLAYERS; i++)
   {
      if(PlayerInfo[i][pAdmin] == 1)
      {
        // ...
      }
    }
    return true;
}
Reply
#3

Tenta aew

pawn Код:
if(!strcmp(cmdtext, "/admins", true))
{
if(IsPlayerConnected(playerid))

for(new i=0; i<MAX_PLAYERS; i++)
   {
      if(PlayerInfo[i][pAdmin] <= 1)
   {
//coloque como quer q apareзa aqui
}
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)