搜索
查看: 1878|回复: 1

苛求:能否单独做一个屏蔽热键的插件

[复制链接]
发表于 2008-11-25 10:57:42 | 显示全部楼层 |阅读模式 来自 中国–湖北–武汉–江夏区
防住激光,屏蔽住ins和del是个好办法
但为了屏蔽键而安装RHLC实在不是好办法
而试了client_exec的插件,虽然unbind del,实际确没有用,作弊器依然能使用热键
我想麻烦高手单独做出一个类似RHLG的block_keys的插件来
我在amxx的官网看到这些代码,不知有没有用
  1. register_forward( FM_CmdStart, "CmdStart" )
  2. public CmdStart( const id, const uc_handle, random_seed )
  3. {
  4.     if ( !is_user_alive( id ) )
  5.         return FMRES_IGNORED
  6.     static buttons
  7.     buttons = get_uc( uc_handle, UC_Buttons )
  8.     if ( buttons & IN_USE )
  9.         // Do something here
  10.         buttons &= ~IN_USE // Block them from using perhaps?
  11.     set_uc( uc_handle, UC_Buttons, buttons ) // Update buttons then supercede
  12.     return FMRES_SUPERCEDE
  13. }
复制代码
 楼主| 发表于 2008-11-28 18:45:22 | 显示全部楼层 来自 中国–湖北–武汉–江夏区

回复: 苛求:能否单独做一个屏蔽热键的插件

期望高手做出类似RHLG一样的,按指定键会Ban的插件
自己顶一下
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表