/admins
#1

Im level 1338, and /admins doenst show me on /admins list.

/admins :
Код:
if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] < 1338)
				  {
What problem is?

Admins level 1-5 + 1337 + 1338
Reply
#2

you're checking if the level is lower 1338, not equal or lower than.

change to this

pawn Код:
if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] <= 1338)
Reply
#3

pawn Код:
if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] <= 1338)
                  {
Equality wasn't checked.

Cheers.

#EDIT#: Sry didn't notice someone posted yet.
Reply
#4

Thanks to lrZ^ aka LarzI and DeathOnaStick.
Reply
#5

np
and I don't mind deathonastick :P
Reply
#6

Quote:
Originally Posted by lrZ^ aka LarzI
np
and I don't mind deathonastick :P
Puuhh... i thought you would kill me now

Noprob.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)