How to put Limit in this?
#22

Quote:
Originally Posted by Harry_Sandhu
View Post
There is Still a Problem in this Code.
I have put
pawn Code:
if(IsPlayerAdmin(playerid) && PlayerInfo[playerid][pAdmin] >= 5)
But when i am lvl5 also then it also says you are not authorized.
And when i RCon log then it worx but if i am less than lvl 5 then on Rcon also it wont Work. plZ HELP
pawn Code:
if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] >= 5)
When u put && it will work ONLY if you are RCON and lvl5 admin. This way it will work if you are RCON or lvl5 (&& means AND, || means OR)
Reply


Messages In This Thread
How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:28
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 04:30
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:36
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 04:39
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:41
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 04:43
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:45
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 04:46
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:47
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 04:51
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 04:55
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 05:02
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 05:06
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 05:07
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 05:09
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 05:09
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 05:15
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 05:15
Re: How to put Limit in this? - by Shockey HD - 31.07.2011, 05:23
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 07:32
Re: How to put Limit in this? - by Harry_Sandhu - 31.07.2011, 07:39
Re: How to put Limit in this? - by Nenad - 31.07.2011, 07:55
Re: How to put Limit in this? - by iggy1 - 31.07.2011, 08:04

Forum Jump:


Users browsing this thread: 4 Guest(s)