is this right?
#1

it is supposed to send the message if the player isnt rcon admin or is lower than level 7 admin
pawn Код:
if(!IsPlayerAdmin(playerid) || gPlayerData[playerid][ADMINLEVEL] < 7) SendClientMessage(playerid, COLOR_RED, "You are not a high enough admin to set admin levels!");
Reply
#2

I don't see any mistake there.
Reply
#3

That will send a message but the player will still be able to use command cos you just send message and you need to return it;

pawn Код:
if(!IsPlayerAdmin(playerid) || gPlayerData[playerid][ADMINLEVEL] < 7) return SendClientMessage(playerid, COLOR_RED, "You are not a high enough admin to set admin levels!");
Reply
#4

okay thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)