Admin Command /o
#1

When ordering /o how can you talk to an admin /o her to show you have as an admin level ??!!
Reply
#2

pawn Код:
if(strcmp(cmd, "/aooc", true) == 0 || strcmp(cmd, "/ao", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
            if(gPlayerLogged[playerid] == 0)
            {
                SendClientMessage(playerid, COLOR_GREY, "   You havent logged in yet !");
                return 1;
            }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            new length = strlen(cmdtext);
            while ((idx < length) && (cmdtext[idx] <= ' '))
            {
                idx++;
            }
            new offset = idx;
            new result[96];
            while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
            {
                result[idx - offset] = cmdtext[idx];
                idx++;
            }
            result[idx - offset] = EOS;
            if(!strlen(result))
            {
                SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/ao)oc [Admin OOC Chat]");
                return 1;
            }
            format(string, sizeof(string), "(( Admin %s: %s ))", sendername, result);
            OOCOff(COLOR_OOC,string);
        }
        return 1;
    }
Reply
#3

I do not want, I want to defend my level, Example: Admin Level 1338 - iRealCFG say:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)