I created a cvar, which if it is 1, the plugin still works with amx_off, and if it is 0, it doesn't.
But i can't make it workk!
PHP Code:
mix = register_cvar("totalcs_mix","0")
public plugin_cfg() {
if(get_pcvar_num(mix)==1){
if(is_plugin_loaded("Pause Plugins") != -1)
server_cmd("amx_pausecfg add ^"%s^"", PLUGIN)
}
}