09.12.2012, 11:25
I have
so with that I can return true or false... but insted of that I wana to return the %2 that is slot from the enum...
PHP код:
new bitsvaribile[MAX_PLAYERS];
enum E_bitsSlot
{
fristSlotIsThis = 1,
theRestOfThem,
...
utilTheLastOne
};
#define BitCheck(%1,%2) ( ( bitsvaribile[%1] ) & ( 1 << %2 ) )