Does anyone know to add 1 more argument "value" when i set the cvar the value is automatically set to 0
PHP Code:
register_concmd("amx_unlag", "unlag", ADMIN_KICK, "[value]")
public unlag(id,level,cid)
{
if(!cmd_access(id, level, cid, 1))
{
return PLUGIN_HANDLED
}
new arg1[32], name[32]
read_argv(1, arg1, 31)
get_user_name(id, name, 31)
chat_color(0, "^x04[ADMIN]^x03 %s^x04 :^x04 set cvar^x03 sv_unlag^x04 to^x03 %d", name, str_to_num(arg1))
return PLUGIN_HANDLED
}