16.12.2013, 15:11
Basically, i just started with the pAdmin stuff, but i keep getting this message ->
Even though i set myself to level 1 or higher, it will keep saying the "You're not a high enough level to use this command!"
But if i log in via the RCON, it will let me use the command.
Wikipedia( https://sampwiki.blast.hk/wiki/Control_Structures ) says the "||" should mean "or"..
pawn Код:
CMD:adminduty(playerid,params[]) {
if(PlayerInfo[playerid][pAdmin] < 1 || !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "[ADMIN] - You're not a high enough level to use this command!");
//rest of script
But if i log in via the RCON, it will let me use the command.
Wikipedia( https://sampwiki.blast.hk/wiki/Control_Structures ) says the "||" should mean "or"..