[Ajuda] Comando /admins Nгo funciona
#1

Bom gente meu comando /admins funciona no Meu servidor Local mais quando eu Upo pra samphost Nгo funciona olhem:
pawn Код:
COMMAND:admins(playerid, params[])
{
    new AdminList[500], Name[24];
    SendAdminText(playerid, "/admins", params);
    if (APlayerData[playerid][LoggedIn] == true)
    {
        for (new i; i < MAX_PLAYERS; i++)
        {
            if (IsPlayerConnected(i))
            {
                GetPlayerName(i, Name, sizeof(Name));
     
                if (APlayerData[i][PlayerLevel] > 0)
                {
                    format(AdminList, 500, "%s%s: %s (id: %i), Level de admin: %i\n", AdminList, AdminLevelName[APlayerData[i][PlayerLevel]], Name, i, APlayerData[i][PlayerLevel]);
                }
            }
        }
        if (strlen(AdminList) > 0) ShowPlayerDialog(playerid, DialogNoResponse, DIALOG_STYLE_LIST, "Admins Online:", AdminList, "OK", "Cancelar");
        else SendClientMessage(playerid, 0xFF0000FF, "Nгo tem admins online agora!");
    }
    return 1;
}
Ajuda Por Favor,Obrigado
Reply


Messages In This Thread
Comando /admins Nгo funciona - by CLANdok - 21.10.2013, 06:30
Re: Comando /admins Nгo funciona - by CLANdok - 21.10.2013, 10:43
Re: Comando /admins Nгo funciona - by CharlieBrown - 21.10.2013, 14:13

Forum Jump:


Users browsing this thread: 1 Guest(s)