Quote:
Originally Posted by ProIcons
new vars[2]
get_cvar_string("amx_boxing", varz, 1)
in cvar_string you have varz it must be vars
get_cvar_string("amx_boxing", vars, 1);
and a ; in the end
|
Quote:
Originally Posted by NcB_Sav
after you change the value you have to restart the round...
You have it on round start the only time you actully have the plugin check if its on or off.
|
so, what i have to do? :S
PHP Code:
register_cvar("amx_boxing","1")
public enable(id)
{
new vars[2]
get_cvar_string("amx_boxing", vars, 1);
if (equal(vars,"1") && !g_bEnabled)
}
????????