|
Author
|
Message
|
|
Junior Member
|

04-29-2006
, 00:49
Serious problem......HELP !!
|
#1
|
/* AMX Mod X script.
*
* (c) Copyright 2005, skywalker
*
* This plugin opens the amx mod x menu when you
* say "menu" in normal chat.
*
*
*/
#include <amxmodx>
public say_menu(id) {
if ((get_user_flags(id) & ADMIN_IMMUNITY) || (get_user_flags(id) & ADMIN_RESERVATION)) {
client_cmd(id,"amx_menu")
}
else
client_cmd(id,"amx_menu")
return PLUGIN_HANDLED
}
public plugin_init() {
register_plugin("Say menu","1.0","skywalker")
register_clcmd("say menu","say_menu",ADMIN_LEVEL_D,"- displays User menu")
return PLUGIN_CONTINUE
}
On the addons\amxmodx\configs,I create autobind.ini
the autobind.ini only include bind "F1" "say menu"
when I put bind "F2" "hlmp_menu" into autobind.ini
In CS,I only can use F1 to show the menu
after go the server,I see my config
only see bind "F2" "hlmp_men"
Can anyone help me ?
have other key bind.amxx??
thank you very much !!!!!!
|
|
|
|