SA-MP Forums Archive
If Statements - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: If Statements (/showthread.php?tid=665594)



If Statements - MichiCZ - 10.04.2019

Hello, can anyone explain me, how to use If Statements
I mean, how to combine them, how to create multiple statement, etc...

Thanks.


Re: If Statements - coool - 10.04.2019

https://sampwiki.blast.hk/wiki/Control_Structures#if
Code:
if (a == 2 && b == 3) //Two if statements combined



Re: If Statements - MichiCZ - 10.04.2019

Thank you, I didn't know how to find it on the wiki


Re: If Statements - Infin1ty - 10.04.2019

Quote:
Originally Posted by MichiCZ
View Post
Thank you, I didn't know how to find it on the wiki
In the 21st Century, something called a 'search bar' arose from a need of quick answers.
Use it.


Re: If Statements - Logic_ - 10.04.2019

I wonder if you did study the logic gates or not in the school.