23.02.2013, 10:44
Hello there, how to compress and save bit-flags variable, and how to unpress and load it? I dont really want to save / save/load 32 symbols everytime, so maybe there is way to compress it?
for example enum
for example enum
Код:
enum flags:(<<= 1) { flag1= 1, flag2, flag3, flag4, flag5 }; new flags:array[MAX_PLAYERS];