SA-MP Forums Archive
What does this mean? [inside] - 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: What does this mean? [inside] (/showthread.php?tid=474188)



What does this mean? [inside] - LastChaos - 06.11.2013

What does this mean? Please explain to me.

PHP код:
...
something |= 0b100;
... 
and
PHP код:
...
if(
something 0b100something |= 0b1;
... 
How does it work?


Re: What does this mean? [inside] - Vince - 06.11.2013

You can find more information here. Though I have to warn you: if you're not at all familiar with binary then it will take quite a lot of time to understand it all. It is usually well worth your time though. It can provide you with a lot of optimization options. Furthermore, since binary is such a generic thing in IT it might prove useful in your professional life if you decide to pursue a career in IT.