dcmd_acmds PROBLEM (+REP)
#2

pawn Код:
dcmd_acmds(playerid, params[])
{
    #pragma unused params
    if(gPlayerInfo[playerid][PLAYER_LEVEL] < gCommands[ACMDS]) {
        new string[128];
        format(string, sizeof(string), "You must be a level %d administrator to use that command!", gCommands[ACMDS]);
        SendClientMessage(playerid, COLOR_ORANGE, string);
    }
    else {
        SendClientMessage(playerid, COLOR_ORANGE, "ADMIN COMMANDS: /kick,/ban");
    }
    return 1;
}
Reply


Messages In This Thread
dcmd_acmds PROBLEM (+REP) - by James Coral - 05.01.2012, 12:17
Re: dcmd_acmds PROBLEM (+REP) - by Konstantinos - 05.01.2012, 12:22
Re: dcmd_acmds PROBLEM (+REP) - by James Coral - 05.01.2012, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)