(y_groups) i | 0x80000000 - 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: (y_groups) i | 0x80000000 (
/showthread.php?tid=419845)
(y_groups) i | 0x80000000 -
Misiur - 02.03.2013
Hello. I was looking what Group_Create returns, and I found this piece of code:
Now, in y_nogroups I've found that
pawn Код:
#define GROUP_MASK (Group:0x80000000)
So we have minimal possible 32bit number or'ed with i (first free index I guess). The value itself is inprintable (%d gives "--", because the number itself is out of range (10000000000000000000000000000001)).
How can I store values returned by Group_Create and compare them with normal numbers?