Quote:
Originally Posted by claudiuhks
Did you know that in structure (1 << K), K might be from 0 to 31? If you don't want more than 32 characters, then a numerical variable is enough.
In case you have more than 32 characters, you should do something like this:
new Flags[33][128];
new Client = GetRandomClient(); // an example.
formatex(Flags[Client], charsmax(Flags[]), "%s", "abcdefghijklmnopqrstu1234567890-=\[];',./_+|{}:^"<>?`~!@#$%^^&*()"); // note that ^" means " and ^^ means ^ for real, in a string.
if (containi(Flags[Client], "#") != -1) { // client got # flag. }
|
Yes, already made something like this on forum, but get_flags and (or, don't remember) read_flags doesn't support it, you have convert those natives.
__________________