Quote:
if(get_pcvar_num(cvar_mode) == 0)
else if(get_pcvar_num(cvar_mode) == 1)
else if(get_pcvar_num(cvar_mode) == 2)
|
Use case and switch instead of multiple if-statements.
PHP Code:
{
return true
}
->
For one line you can use TAB instead of using brackets.
PHP Code:
new user_name[33]
Do that in the function, not in global as you use it only there.
In stock is_user_overlimit(id)
PHP Code:
return PLUGIN_CONTINUE
->
PHP Code:
return PLUGIN_HANDLED
__________________