"&&" question
#3

Lol when i opened up the topic, I thought is it one of my old questions(because of the avatar)

Quote:
Originally Posted by juraska
Посмотреть сообщение
use || or && but dont () your script

if (APlayerData[playerid][PlayerLevel] == 5 || PoliceGetsWeapons == true || APlayerData[playerid][PlayerClass] == ClassPolice)
{
}
() Don't affect your script at all.

|| means OR
&& means AND
so maybe there's some mistake at your code, for example PoliceGetsWeapons is false.
Reply


Messages In This Thread
"&&" question - by SomebodyAndMe - 23.11.2011, 16:49
Re: "&&" question - by juraska - 23.11.2011, 16:52
Re: "&&" question - by wups - 23.11.2011, 16:55
Re: "&&" question - by Max_Coldheart - 23.11.2011, 16:58
Re: "&&" question - by wups - 23.11.2011, 17:20
Re: "&&" question - by Michael_P - 24.11.2011, 03:12
Re: "&&" question - by Wesley221 - 24.11.2011, 06:48
Re: "&&" question - by [MG]Dimi - 24.11.2011, 06:56
Re: "&&" question - by Wesley221 - 24.11.2011, 07:13
Respuesta: Re: "&&" question - by Donuts - 24.11.2011, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)