/o issues? [UPDATED]
#4

Quote:
Originally Posted by MellowHammer
Посмотреть сообщение
pawn Код:
if(!(PlayerInfo[playerid][pAdmin] >= 1)) return SendClientMessage(playerid, COLOR_NOAUTH, "You are not authorized to use this command.");
If you look closely, you can see that you make it so players with admin level 0 receive this message.
not >= 1 is 0 or less. That is why normal players can't use /o.
The thing is that I want the players to use /o when it is enabled and not disable. The admins can use it all the time, and that is correct. But when it is enabled they should get permissions to use it, and not when it's disabled though. Just the admins shall get permissions to use it all the time, if I am editing that - all the players may use it all the time I guess?
Reply


Messages In This Thread
/o issues? [UPDATED] - by Hargrave - 27.07.2013, 18:33
Re: /o issues? - by Necip - 27.07.2013, 18:35
Re: /o issues? - by MellowHammer - 27.07.2013, 18:37
Re: /o issues? - by Hargrave - 27.07.2013, 18:39
Re: /o issues? [UPDATED] - by MellowHammer - 27.07.2013, 18:41
Re: /o issues? [UPDATED] - by Hargrave - 27.07.2013, 18:42
Re: /o issues? [UPDATED] - by MellowHammer - 27.07.2013, 18:43
Re: /o issues? [UPDATED] - by Hargrave - 27.07.2013, 18:44
Re: /o issues? [UPDATED] - by Necip - 27.07.2013, 18:45
Re: /o issues? [UPDATED] - by Hargrave - 27.07.2013, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)