Raised This Month: $ Target: $400
 0% 

undefined symbol "amxclient_cmd"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rbasile
New Member
Join Date: Dec 2022
Old 12-01-2022 , 10:36   undefined symbol "amxclient_cmd"
Reply With Quote #1

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(idlevelcid) {
    if (!
cmd_access(idlevelcid1))
        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 017undefined symbol "amxclient_cmd" 
Is amxclient_cmd not part of amxmodx? The API says so[1].

[1]: <https://www.amxmodx.org/api/amxmodx/amxclient_cmd>
rbasile is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode