Setlevel doesn't work properly
#10

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
Not really, you said it yourself though it means OR, if the player level lower than 4 OR not RCON logged in.
Why don't you test it yourself and see?

It's like when using NOT. The OR becomes AND.

If the player is neither admin with level >= 4, nor rcon admin return error.

What you're saying is:
A player is level 2 and rcon admin so your code will return an error because the player is not 4+ level, HOWEVER he's rcon admin.

Using AND instead will make the command to work for the player who are only level 4+ admins, or only RCON admins or both.
Reply


Messages In This Thread
Setlevel doesn't work properly - by Vasu99 - 01.03.2014, 16:00
Re: Setlevel doesn't work properly - by RajatPawar - 01.03.2014, 16:06
Re: Setlevel doesn't work properly - by ReD_HunTeR - 01.03.2014, 16:07
Re: Setlevel doesn't work properly - by Vasu99 - 01.03.2014, 16:14
Re: Setlevel doesn't work properly - by RajatPawar - 01.03.2014, 16:16
Re: Setlevel doesn't work properly - by Vasu99 - 01.03.2014, 16:18
Re: Setlevel doesn't work properly - by RajatPawar - 01.03.2014, 16:19
Re: Setlevel doesn't work properly - by Konstantinos - 01.03.2014, 16:49
Re: Setlevel doesn't work properly - by DaniceMcHarley - 01.03.2014, 17:25
Re: Setlevel doesn't work properly - by Konstantinos - 01.03.2014, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)