16.04.2013, 22:47
Hi guys
i need know somethings about this cmd
and where can i using it
Please guys help me
i need know somethings about this cmd
and where can i using it
Please guys help me
if (condition1 || condition2)
if (condition1 && condition2)
if(PlayerInfo[playerid][AdminLevel] >= 1 ||PlayerInfo[playerid][HelperLevel] >= 1){blabla rest of the stuff}
if(IsACop(killerid) && GetPlayerWantedLevel(playerid)>0){blabla}
In this case:
pawn Код:
In this case: pawn Код:
The necessity of these signs will arrise at its own when you start scripting... ![]() |
if you mean what i think you mean
you use || when you need to check if 2 or more things are true , and go forward if any is true EXAMPLE : This is from my goto comand pawn Код:
The &&(yes , 2 of them ) , just like what it means , and , you use this when you want to check 2 or more things and you want all of them to be true EXAMPLE pawn Код:
|