operators
#1

Hello guys!

Simple stuff here:

Код:
if(PlayerInfo[playerid][pAdmin] <= 5) return 0;
Its says Unknown command even if im 5 level admin.

Whats wrong?

tried like this

Код:
if(PlayerInfo[playerid][pAdmin] != 5) return 0;
same...
Reply
#2

What exactly are you trying to do?
Reply
#3

Im trying to create a house if player is admin 5 lvl create house if not return 0;
Reply
#4

pawn Код:
CMD:createhouse(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] >= 5)
    {
    // create house
    }
    return 1;
}
Reply
#5

Server: Unknown command. even if im 5 lvl admin.
Reply
#6

Show us your whole command.
Reply
#7

Fixed.Still thank you for your time.Rep+
Reply


Forum Jump:


Users browsing this thread: