SA-MP Forums Archive
return tag. - 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: return tag. (/showthread.php?tid=464370)



return tag. - audriuxxx - 16.09.2013

Hi,

Can i use return after switch?

Код:
switch(listitem)
{
case 0:
{

}
case 1:
{

}
}
return 1;
}



Re: return tag. - DanishHaq - 16.09.2013

I do and I don't get any problems with it.


Re: return tag. - Konstantinos - 16.09.2013

Yes.