difference between < and > in if(pinfo[playerid][Adminlevel]
#4

Two examples of using > and <.

pawn Код:
if(pAdmin[playerid] > 4) // checks if an admin level is GREATER THAN 4 (doesn't work if the admin level is equal to 4, ONLY greater than [so 5, 6, 7, 8, 9, 10, etc])

if(pAdmin[playerid] < 5) // checks if an admin level is LESS THAN 5, for example 4, 3, 2, 1, 0, etc are all LESS THAN 5
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)