找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 945|回复: 9

【已解决】怎么屏蔽连阻

[复制链接]

该用户从未签到

发表于 2008-3-20 12:22:26 | 显示全部楼层 |阅读模式
谁 知道 怎么评比连阻啊  我怎么开个服务器 1.6的版本 但是不知道怎么屏蔽连阻

该用户从未签到

发表于 2008-3-20 12:26:13 | 显示全部楼层
AMX插件官方网站:http://amxmod.net/         文章翻译:安魂古堡。请大家尊重我的劳动成果,现在几乎没有一个网站有这样的文章,绝对原创,不要复制,转载,放下链接就可以了。

Restricting weapons in AMX is fairly easy and can be done two different ways. The first method is with the Restrict Weapons menu. Below is what the first page looks like. You activate this menu from the amxmodmenu, or by using the amx_restmenu command in your console.

通过AMX插件你可以用2种不同的方法封禁武器。第一种方法是用武器禁止列表。可以通过amxmodmenu文件运行,或者在控制台输入amx_restmenu来实现武器封禁。<Written by KinGtIon;More information http://hi.baidu.com/anhun/blog/item/21fa267bc30d78f50ad18712.html>

Restrict WeaponsHandguns            USP系列

1. H&K USP .45 Tactical             警察USP
2. Glock18 Select Fire                土匪USP
3. Desert Eagle .50AE                沙漠之鹰
4. SIG P228                        
5. Dual Beretta 96G Elite            双抢
6. FN Five-Seven           1/5

OFF
OFF
OFF
OFF
OFF
OFF
Each weapon can be toggled ON (restricted) or OFF (not restricted) by selecting the number in front of what you want to restrict. Option 9 will show you additional weapons not shown in the first page of the menu. The weapon(s) will remain restricted for the rest of the map and become available again on the next map. If you want the weapons to be permanently restricted, choose option 8 to save the restriction(s) you made. Likewise for unrestricting, if you have saved weapon restriction(s) in place, and unrestrict a weapon you need to save your settings or the weapons will be restricted again on the next map. <Written by KinGtIon>

每个武器都可以通过选择前面的号码来进行封禁或者开启使用。选择9号操作可以选择禁止/解除更多武器...开启禁止后,此武器在之后的任何地图都将是被禁止的。如果你想永久封禁此武器,你可以选择8来保存你的设置到服务器<意思就是服务器重启后武器封禁依然有效>;此方法对解除武器封禁同样适用。如果你只是封禁/解除之后没有保存到服务器,那么下张图时,此武器的封禁/解除无效。

The second method for restricting weapons is via the server console or using rcon. Type the command amx_restrict in your console. You will get this:<Written by KinGtIon>

第2种方法是通过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>          加载服务器以前的禁止设置
             /****下面的内容我就不翻译了,看不明白也不要紧了****/

The weapon categories are listed as ammo, equip, pistol, etc. By restricting a category, all items in the category are restricted. So by restricting pistol, no one can purchase pistols.

To restrict a specific weapon, do amx_restrict list in the console to see a list of weapon names. The value column contains the name you use to restrict with. Here is what amx_restrict list shows us:

----- Weapons Restriction: -----
              name                                       value                 status
           1: H&K USP .45 Tactical                       usp                   OFF
           2: Glock18 Select Fire                        glock                 OFF
           3: Desert Eagle .50AE                         deagle                OFF
           4: SIG P228                                   p228                  OFF
           5: Dual Beretta 96G Elite                     elites                OFF
           6: FN Five-Seven                              fn57                  OFF
           7: Benelli M3 Super90                         m3                    OFF
           8: Benelli XM1014                             xm1014                OFF
           9: H&K MP5-Navy                               mp5                   OFF
10: Steyr Tactical Machine Pistol              tmp                   OFF
----- Entries 1 - 10 of 34 -----
----- Use 'amx_restrict list 11' for more -----
amx_restrict list 11 will show you additional weapons not shown on the first page of the list. Use the same method for the third (21) and forth (31) page also.

If you wanted to restrict the Desert Eagle, you would do it like this:

amx_restrict on deagle
And then amx_restrict list would show you this:

           3: Desert Eagle .50AE                         deagle                ON
To unrestrict it, just use off instead of on. The command amx_restrict save will save your changes and make them stay that way until you change it again.

These changes are kept in a file called weaponrest.ini in the addons\amx\config folder. This is a text file and can be opened as such, but it's recommended to use one of the two methods above for making changes to weapon restrictions. If this file is edited while the server is running, unpredictable results will probably occur. This file doesn't exist until changes are saved using amx_restmenu or amx_restrict. <Written by KinGtIon;More information visit http://hi.baidu.com/anhun/blog/item/21fa267bc30d78f50ad18712.html>

具体使用方法:

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

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

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

其他武器依此类推,如果你找不出武器名称,那么你也不要做什么OP了。

/******************************************This article Written by KinGtIon*****************************************/

对付作弊的绝招:

1. amx_uberslap <authid, nick or #userid>

命令说明:扇耳光到只剩1点生命,并将玩家置于高空最后坠死

2.amx_slap <name or #userid>

命令说明:扇玩家耳光并给予一定的生命伤害.命令使用:amx_slap #1 89 给予玩家Cloud耳光并89点伤害。

3.amx_takemoney <nick> OR <#userid> <amount>
     给玩家金钱类似amx_givemoney #1

4.amx_rocket <authid, nick, @team or #userid>
      命令说明:将玩家绑成火箭发射出去如amx_rock #1

5.amx_disarm #1

评分

参与人数 1金币 +2 +2 收起 理由
SiMen.Hunter + 2 + 2 鼓励分享

查看全部评分

该用户从未签到

发表于 2008-3-20 12:26:53 | 显示全部楼层
我抄袭的 马上停电了 没时间看了  你自己看吧

该用户从未签到

 楼主| 发表于 2008-3-20 12:35:21 | 显示全部楼层
谢谢你了哈!!!!!!!!!!!!!!!!!!

该用户从未签到

发表于 2008-3-20 16:34:25 | 显示全部楼层
好复杂的 2楼 看不懂

该用户从未签到

发表于 2008-3-20 16:51:32 | 显示全部楼层
2楼的.....看不懂...............

该用户从未签到

发表于 2008-3-20 17:09:55 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

该用户从未签到

发表于 2008-3-20 17:42:21 | 显示全部楼层
原帖由 kz.z+ 于 2008-3-20 12:26 发表
我抄袭的 马上停电了 没时间看了  你自己看吧

这年头了还停电啊!!

该用户从未签到

发表于 2008-4-2 06:26:14 | 显示全部楼层

我的文章怎么拷到这来了?

该用户从未签到

发表于 2008-4-2 06:34:14 | 显示全部楼层
貌似还是在HR当服务器管理员的时候写的.
最近才写了个死亡服架设的也被拿走了,汗得.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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