I have plugin that set password in cvar but I need simple command not in cvar.
Code:
register_clcmd("amx_set", "setcwpass")// this is set cw password
register_cvar("admin_set_cw", "password") //this is your password feild
public setcwpass(id)
{
if(get_user_flags(id) & ADMIN_LEVEL_C)
{
*set_cvar_string("admin_set_cw","")
* }
else
*console_print(id, "Must be admin to change the CW password")
}
But in game it write that no command how I can do it?
I need change cvar string simple command amx_set pass
not cvar. That amx_set chang string in admin_set_cw ">this<"