Hi,
When i register fullupdate cmd in a plugin, cvars or cmds that i register below seem to not exist.
Have you ever got the same problem or do i something wrong ?
ex :
This works fine
Code:
cvar = register_cvar("amx_cvar","1")
register_clcmd("say /test","cmdtest")
register_clcmd("fullupdate", "fullupdateCmd")
But with this code, cvar amx_cvar and cmd test don't exist !!!
Code:
register_clcmd("fullupdate", "fullupdateCmd")
cvar = register_cvar("amx_cvar","1")
register_clcmd("say /test","cmdtest")
fullupdateCmd is :
Code:
public clcmd_fullupdate() {
return PLUGIN_HANDLED_MAIN
}