"or" condition?
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
pawn Код:
if (admin[playerid] == 4 || omod[playerid] == id)
{
    // Do your code.  Now you can see if those conditions are correct much more easilly.
}
else return SendClientMessage(playerid, red, "You cannot use this command.");
this worked thanks a lot *****. but can you give me an explanation why my code didnt work? (coz its just the return and negative (!=) i have)
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)