I have put an entry check whenever a player connects, based on a certain condition.
There's a cvar that enables/disables entry checking. But it doesn't seem to work.
Even if I disable the checking, it still keeps on checking.
Code:
Code:
public plugin_init()
{
.......
g_entrycheck = register_cvar("check_entry", "1")
}
public client_connect(id)
{
if( !get_pcvar_num(g_entrycheck) )
return PLUGIN_HANDLED
// check entry...
}