CS武器禁用(盾牌/手雷/连狙)的方法

插件方面:
1、安装amx或amxx
2、保证打开restmenu.amx禁用武器插件(应该都带有此插件)
3、在cs的命令行使用amx_restmenu命令
4、出现武器控制菜单,选择禁用的武器后,保存一下就可以了。
也可以直接编辑weaprest.ini文件例如:
shield ; Tactical Shield
就是禁止使用盾牌。
补充一下:amxx必须使用0.16版,0.2版的不行,如果amxx0.16和版本高于2738的cs1.6冲突时,可以更换老的GameUI.dll文件解决。

用户具体设置:
CS1.6武器禁用(盾牌/手雷/连狙)的方法
方法一:修改weaprest.ini文件(C:\Program Files\HLServer\cstrike\addons\amxmodx\configs\weaprest.ini)
; Generated by Restrict Weapons Plugin. Do not modify!
; value name
g3sg1             ; H&K G3/SG-1 Sniper Rifle
dsg550            ; Sig SG-550 Sniper
shield            ; Tactical Shield

方法二:通过OP rcon命令实行封禁/解除。在控制台输入amx_restrict命令。你将得到如下提示:

Usage: amx_restrict <command> [value]
Commands:
on - set restriction on whole equipment 〈禁止所有武器〉
off - remove restriction from whole equipment 〈开启所有武器〉
on <value> [...] - set specified restriction 〈设置禁止〉
off <value> [...] - remove specified restriction 〈解除禁止〉
list - display list of available equipment and weapons 〈显示可用的武器以及装备〉
save - save restriction 〈保存武器设置〉
load [file] - load restriction [from a file] 〈加载服务器武器设置〉
Available values to restrict are:
ammo, equip, pistol, shotgun, sub, rifle, machine
Type 'amx_restrict list' for more specified values
Basically, your commands are:<Written by KinGtIon>
amx_restrict on <weapon name or catagory> <武器名字或全名> on 代表禁止
amx_restrict off <weapon name or catagory> off 代表开启使用
amx_restrict list 武器列表
amx_restrict save 武器禁止之后保存文件<任何时候都有效,不保存将只对当前地图有效>
amx_restrict load <weaponrest.cfg> 加载服务器以前的禁止设置

具体使用方法:

先打开武器列表:rcon amx_reatrict list 武器列表第一页<手枪系列>;rcon amx_reatrict list11武器列表第二页<短枪系列>; rcon amx_reatrict list21 武器列表第三页<长枪系列>; rcon amx_reatrict list31武器列表第四页<盾牌和子弹>。在里面找出相应的武器名称。

禁枪命令:如禁匪徒连狙:rcon amx_restrict on g3gs1;警察连狙:rcon amx_restrict on sg550;盾牌:rcon amx_restrict on shield。

解除封禁:用off代替on就可以了。

方法三:通过menu菜单直接选择禁用武器禁用
进入游戏后按“Y”后输入MENU回车 出现OP菜单后翻页到最后又禁用武器,选择要禁用的武器



文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
评论: 0 | 引用: 0 | 查看次数: -
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.