[Tutorial] Booleans and what they can be used for (Checking states, etc)
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Actually, a computer mostly runs on a 12V rail. That 5 Volt shizzle is something they teach you in electronics class if you're working with electronic components (transistors, capacitors, logic gates and shit).

Other than that, the idea of the regular boolean is quite obsolete in SA-MP, since you are in fact wasting 31 perfectly good bits (time 500 if you use MAX_PLAYERS). That's why people have come up with bit shifted enums. I'm sure that there's a tutorial somewhere in this forum or on the wiki.
Yep http://forum.sa-mp.com/showthread.ph...22#post1037822
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)