05.02.2016, 13:42
Quote:
|
I mean, it seems a lot easier for beginners to read a code like this:
Код:
new bool:bool; if(!bool) Код:
new mybit; if(IsBit(mybit, 0)) |
For example this include is good when you save such a boolean values in the database.
Quote:
|
you could eliminate your defines by bitshifting 1 left by setid (1 << setid) in your methods.
|
Quote:
|
How does this differ from rBits (https://sampforum.blast.hk/showthread.php?tid=275142) ?
|
Quote:
Update to version 1.1
- removed "Bit:" flags
- stocks rewrited to defines
- SetBit is now SetBitTrue and SetBitFalse
- parameters is now "var" and "bit" (old = "bits" and "setid");


