24.02.2013, 14:00
Quote:
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. |