if( || ) Error
#6

When you do:
pawn Код:
if (!A || !B)
and you're not A but you're B, then it will still return the error. The operator should be logical AND:
pawn Код:
if (!A && !B)
if player is neither A nor B, return the error.
Reply


Messages In This Thread
if( || ) Error - by SkyWinder - 05.11.2017, 11:28
Re: if( || ) Error - by Sew_Sumi - 05.11.2017, 11:41
Re: if( || ) Error - by SkyWinder - 05.11.2017, 11:43
Re: if( || ) Error - by Lucases - 05.11.2017, 12:15
Re: if( || ) Error - by SkyWinder - 05.11.2017, 12:19
Re: if( || ) Error - by Konstantinos - 05.11.2017, 13:34
Re: if( || ) Error - by SkyWinder - 05.11.2017, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)