if(PlayerInfo[playerid][pAdmin] < 1 || !IsPlayerAdmin(playerid)) ....
#10

Quote:
Originally Posted by Kyance
Посмотреть сообщение
Well, should i just remove the "!IsPlayerAdmin"? ;d
I think that's not a solution because you can't customize admin commands for each level , Let's try by that only instead of using that with rcon admin !
pawn Код:
CMD:givescoreall(playerid, params[]) {
    new score;
    printf("-Admin debug | Level : %d",PlayerInfo[playerid][pAdmin]);
    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_RED, "[ADMIN] - You're not a high enough level to use this command!");
Tell me if that's work please without the rcon admin !
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)