07.09.2015, 18:36
You do realize that this is already implemented into PAWN as packed strings?
will print
Code:
new string[5 char] = !"test"; printf("number base 10: %d", string[0]); printf("number base 2: %b", string[0]);
Code:
number base 10: 1952805748 number base 2: 1110100011001010111001101110100