13.08.2015, 21:44
The problem is the left shift, it wont work with your current mask, change it to that
PHP код:
const GANG_REL_MASK = 0b11;
gang_relationships[player_gang_id] &= ~(GANG_REL_MASK << shift_val);

