For some reason the hooks on the buy command don't work, did i do something wrong ?
And yes, i am in the buy zone when calling the commands
Seems like VGUI menu opens fine, even after returning the command handled, also there is no print chat message
Using the latest dev version
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("buy", "hookbuycmd")
}
public hookbuycmd(id)
{
client_print(0, print_chat, "blabla")
return PLUGIN_HANDLED
}
__________________