Condition question - 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: Condition question (
/showthread.php?tid=529915)
Condition question -
friezakinght - 04.08.2014
Hi, I have a question, if I use conditions like the next code will it work properly?
Код:
if(condition)
{
//code1
}
else if(condition)
{
//code2
}
else
{
//code3
}
I mean will it return code3 if none of the first conditions is fullfilled?
Re: Condition question -
StuartD - 04.08.2014
You're correct, yes.