I tryed searching which is more useful or best to use %i OR %d for integer values
are there some privilegs using 1 to other.
And when Player already is admin.
lets say I want to remove admin, but not from the sql database and then
PHP Code:
server_cmd("amx_reloadadmins");
Just set temporarly no admin.
PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("No Admin", "v1", "kasu");
register_clcmd("say /noadmin", "noAdmin");
}
public noAdmin(id){
set_user_flags(id, read_flags("z"));
client_print(id, print_chat, "Should be no admin but your still... :S");
}
and 3rd

which is faster
setting using array as boolean or integer
PHP Code:
global_variable[512];
function bla(event, player, ....){
global_variable[event] = true;
OR
global_variable[event] = 1;
}
which is faster / better way to use
and is there a way to set values "false" or / 0 in array without going through all array.
example
global_variable[16] = true;
global_variable[129] = true;
global_variable[3] = true;
is there a quick way like setting string array to 0
as global_variable[0] = 0;
but can you do the same for bool / int array