So my question is: given the following code, what value will "amx_some_cvar" have in the end ?
PHP Code:
#include <amxmodx>
new the_pcvar
public plugin_init(){
the_pcvar = register_cvar("amx_some_cvar", "0")
}
// this is just an example
public client_connect(id){
set_pcvar_num(the_pcvar, 1)
}
The reason I'm asking this is that I've tried to change the PCVARs but so far it doesn't seem to work. The only way I was able to change them was via set_cvar_*()