Block "+use" command
Hello guys! I'm trying to make a plugin wich block the "+use" command or detect the use key pressing, and block the command. Until now i did this, but doesn't block the "+use" command. Code:
#include <amxmodx>Thanks in advance and sorry for my bad English. |
Re: Block "+use" command
You can't hook original + commands like +use, +attack,... with register_clcmd()
Try to use Ham_Use |
Re: Block "+use" command
Search.
|
Re: Block "+use" command
Hook FM_CmdStart and then check if user has pressed IN_USE key...if so then return FMRES_SUPERCEDE to block it..:)
|
Re: Block "+use" command
Code:
|
Re: Block "+use" command
try putting this plugin in the top of plugins.ini
|
Re: Block "+use" command
Quote:
|
| All times are GMT -4. The time now is 14:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.