"or if"
#3

Maybe it will make things easier for you :

pawn Код:
// Top of your script
#define OR ||
#define AND &&

Example of usage:

pawn Код:
if (IsPlayerConnected(playerid) AND !IsPlayerNPC(playerid))
pawn Код:
if (MyVariable == 1 OR MyVariable == 2)
Reply


Messages In This Thread
"or if" - by oliverrud - 18.02.2011, 04:13
Re: "or if" - by Krx17 - 18.02.2011, 04:23
Re: "or if" - by MrDeath537 - 18.02.2011, 04:34

Forum Jump:


Users browsing this thread: 1 Guest(s)