Plugin Info:
|
Modification:
Category:
Approver: Orangutanz (13)
|
AMX Mod X Plugin Approver
|
12-04-2007
, 01:32
Forbidden weapons [ Updated : 08/01/2008 ]
|
#1
|
Forbidden weapons( Last update : 08/01/2008 )
Description :
- - - - - - - - - This plugin allows you to specify what weapons will be forbidden to be used in few ways.
Features :
- - - - - - - -
- Using cvars to define easily forbidden weapons.
- Forbidden weapons can be set per team.
- Automatic dropping when you get a forbidden weapon ( at buying, given by map, etc.. )
- Immediate removing when a forbidden weapon is dropped.
- Not allowing to pick up forbidden weapons on the ground.
- Multilingual plugin. (°)
(°) See /amxmodx/data/lang/forbidden_weapons.txt file.
Requirement :
- - - - - - - - - - -- Cs 1.6 / Cz
- AMXX 1.7x or highly.
Commands :
- - - - - - - -- amx_fw_stop : Stop plugin properly.
- amx_fw_start : Start plugin stopped with the command 'amx_fw_stop' command.
Cvars :
- - - - -- fw_team_t <weapon1,weapon2,etc..>
Specifies the weapons to restrict to the 'T' team.
- fw_team_ct <weapon1,weapon2,etc..>
Specifies the weapons to restrict to the 'CT' team. -----
Here a full weapons names list :
- Common : glock18, usp, p228, deagle, m3, xm1014, mp5navy, tmp, p90, scout, awp, m249, hegrenade, flashbang, smokegrenade.
- 'CT' weapons : fiveseven, ump45, m4a1, sg550, aug, famas
- 'T' weapons : elite, mac10, galil, ak47, sg552, g3sg1 The value by default : "" . ( it means empty so all weapons are allowed )
If 'fw_team_t' and 'fw_team_ct' cvars are empty, the plugin will be disabled.
Example :
- You want to restrict only 'deagle' and "He" to the T team : fw_team_t "deagle,hegrenade"
- You want to restrict only 'm4a1', 'ak47' and 'smokegrenade' to the CT team : fw_team_ct "m4a1,ak47,smokegrenade"
- fw_mode <flags>
Specifes mode to enable.
The flags are additives.
"a" : Automatic dropping when you get forbidden weapon ( at buying, given by map, etc.. )
"b" : Immediate removing when forbidden weapon is dropped.
"c" : Not allowing to pick up weapons on the ground. The value by default : "abc".
- fw_chat_delay <delay>
Specifies a delay in seconds between each message when you're trying to pick up the same forbidden weapon on the ground.
( No need to flood the chat )
The value by default : "3".
- fw_log_enabled <0|1>
Enable log to check what weapons have been loaded.
The value by default : "1".
Colored text :
- - - - - - - - - - -
Colored messages are supported in chat. You may want to customize color.
There are 3 string replace characters.
!g : green color
!t : team color ( T -> Red ; CT -> Blue )
!n : regular color ( yellow by default ) See /amxmodx/data/lang/forbidden_weapons.txt file.
Note : This plugin is a request.
Note : Feel free to correct my poor english.
__________________
Last edited by Arkshine; 01-08-2008 at 09:51.
Reason: Updated. v1.1.2
|
|
|
|