31.05.2015, 08:16
Code:
if(PlayerInfo[playerid][pAdmin] >= 2)
Code:
if(PlayerInfo[playerid][pAdmin] > 1)
So which one would be the best one to use and why?
if(PlayerInfo[playerid][pAdmin] >= 2)
if(PlayerInfo[playerid][pAdmin] > 1)
load.s.pri fffffffc const.alt 4 sgeq ;for >= stor.s.pri fffffffc ;$exp ; line 88 break ; b8e8 load.s.pri fffffffc const.alt 3 sgrtr ;This is for >
if(adminlevel >= 2)
if(0 <= variable <= 100)
// vs
if(-1 < variable < 101)
new foo;
if(foo > 0)//If foo is greater than/bigger than.
{
foo = 0;
print("Hello World!");
}
else
{
foo = 1;
print("Goodbye Cruel World!");
}
new foo;
if(foo >= 1)//If foo is greater than/bigger than.
{
foo = 0;
print("Hello World!");
}
else
{
foo = 1;
print("Goodbye Cruel World!");
}