Sorry if this is a little low effort, but I'm new to this and can't find whats wrong.
I've got this little script:
PHP Code:
#include <amxmodx>
#include <amxmisc>
public cmd_votemap(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_CONTINUE
amxclient_cmd(id, "amx_votemapmenu")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("say /votemap", "1", "rami")
register_clcmd("say /votemap", "cmd_votemap", 0, "- Shows the votemap menu")
}
And when I compile it with the web compiler I get:
PHP Code:
/tmp/textmWzvk1.sma(8) : error 017: undefined symbol "amxclient_cmd"
Is amxclient_cmd not part of amxmodx? The API says so[1].
[1]: <https://www.amxmodx.org/api/amxmodx/amxclient_cmd>