AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Serious problem......HELP !! (https://forums.alliedmods.net/showthread.php?t=27774)

vincentwind 04-29-2006 00:49

Serious problem......HELP !!
 
/* 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 !!!!!!

v3x 04-29-2006 01:08

http://forums.alliedmods.net/showthread.php?t=26363


All times are GMT -4. The time now is 05:00.

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