"or" condition?
#1

umm ive seen people using the || as or condition but i doesnt work for me. did i make any mistake?

Код:
	if(admin[playerid]!= 4 || omod[playerid] != id) return SendClientMessage(playerid, red, "You cannot use this command.");
it says i cant use the cmd
Reply


Messages In This Thread
"or" condition? - by THE_KNOWN - 08.04.2011, 06:55
Re: "or" condition? - by BMUK - 08.04.2011, 08:38
Re: "or" condition? - by THE_KNOWN - 08.04.2011, 08:58
Re: "or" condition? - by BMUK - 08.04.2011, 09:05
Re: "or" condition? - by THE_KNOWN - 08.04.2011, 12:06
Re: "or" condition? - by [03]Garsino - 08.04.2011, 12:10
Re: "or" condition? - by THE_KNOWN - 08.04.2011, 12:11
Re: "or" condition? - by THE_KNOWN - 08.04.2011, 12:16
Re: "or" condition? - by [03]Garsino - 08.04.2011, 12:21
Re: "or" condition? - by THE_KNOWN - 08.04.2011, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)