How to bind an user key HELP
Hi, I wanted to see if I could help, I am creating a plugin and let me know as bind a key to a player counter to say one sentence: I leave as I'm the code:
# Include <amxmodx> # Include <amxmisc> # Define PLUGIN "AMXX Additional Commands" # Define VERSION "0.1" # Define AUTHOR "By Rastaman" plugin_init public () { register_plugin (PLUGIN, VERSION, AUTHOR) register_concmd (amx_setip "," command_setip "ADMIN_LEVEL_C," amx_setip <nick>) return PLUGIN_CONTINUE } public command_setip (id, level, cid) { if (! cmd_access (id, level, cid, 2)) return PLUGIN_HANDLED new arg [32] read_argv (1, arg, 31) new player = cmd_target (id, arg, 9) if (! player) return PLUGIN_HANDLED new name [32] get_user_name (player, name, 31) client_cmd (player, "bind x + jump") client_cmd (player, "bind j say message") / * aka kiero put a bind to the key "j" But I say takes command Or for not making me say command separate the message, recognizes such as putting in cs console is: bind j "say message" return PLUGIN_CONTINUE } So I wonder if anyone can give me a hand ... from already thank you very much |
Re: How to bind an user key HELP
Changing user settings is not allowed here.
|
| All times are GMT -4. The time now is 10:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.