How is the best way to check on new plugin if other plugin that it depends on is active ?
I tried to put cvar on the independant plugin (ss_myplugin_version) and check if there is such cvar on the new plugin but it was a waste of time .. filled with errors and such.
PS: The inactivity in this forum boosts highly my research skills
This got the cvar on 2nd plugin
PHP Code:
public plugin_cfg(){
if(cvar_exists("am")){
g_cvar_am = get_cvar_pointer("am");
}else{
g_cvar_am = register_cvar("am", "0");
set_cvar_string("am",ISITON);
}
}
done.