04.08.2015, 10:09
Found that for y_bits, y_bits only works for 1bit values like boolean variables
https://sampforum.blast.hk/showthread.php?tid=489897
rBits is slower than y_bits because it uses functions instead of macros
But I think if you want to use 2,4,8 or 16 bit variables you should use functions
The advantage of macros would be if you use constants but that is only mostly given with 1bit
Conclusion, for 1bit variables I would use y_bits otherwise rbits
https://sampforum.blast.hk/showthread.php?tid=489897
rBits is slower than y_bits because it uses functions instead of macros
But I think if you want to use 2,4,8 or 16 bit variables you should use functions
The advantage of macros would be if you use constants but that is only mostly given with 1bit
Conclusion, for 1bit variables I would use y_bits otherwise rbits