Please someone help me with this!
PHP Code:
new test
public plugin_init()
{
test = register_cvar("active","1")
register_concmd("mix", "function", ADMIN_SLAY, "")
}
public function(id) {
if(test==1){
client_print(id, print_chat, "Is 1")
}
if(test==0){
client_print(id, print_chat, "Is 0")
}
}