PHP Code:
set_user_flags(id,read_flags("abcd....")); // And other flags
Ps. These set_user_flags it will replate existing flags example:
If the player have "a" flag, its will replace again with a flag "a" i not understand the Optmization of this, so for remove the "z" user flag, it will used with a
PHP Code:
remove_user_flags(id,read_flags("z")); // Or others flags
A better example:
If will turn a normal user admin with a flag "a", write this:
PHP Code:
set_user_flags(id,read_flags("a"));
But the result is the player with these flags: "az"
so to remove the "z" flag, you need to:
PHP Code:
remove_user_flags(id,read_flags("z")); // Or others flags
I not sure of this
__________________