11-29-2016, 07:57 PM
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <nvault>
#include <engine>
#include <cstrike>
#include <hamsandwich>
Description
When you touch a weapon from the ground, if that weapon exist in vault, this plugin will block picking-up it or will remove it( depends of the cvar ).
You can add or remove weapons in the vault by using commands.
Example to block m4a1:
Quote:
amx_cspum_addkey "m4a1"
'm4a1' is a key wich blocks the weapon M4a1 to be picked up or can be removed on touch(dependes on cvar ).
For list of all keys check the 'Admin commands' section.
Admin Command top
Quote:
amx_cspum_addkey < Weapon key >
( #this command add a new weapon in the vault )
amx_cspum_remkey < Weapon key >
( #this command remove a weapon from the vault )
amx_cspum_keylist
( # This command will show you a a list with all weapons avaible to block them )
amx_cspum_blocklist
( # Block all the weapons from the list )
amx_cspum_resetlist
( # Reset all the weapons from the vault. )
Installation top
To install the plugin:
Download cspum.sma and cspum.amxx
Go to cstrike/amxmodx/plugins and open plugins.ini , please add at the end of the file: "cspum.amxx" ( without quotes ).
Optionaly You could take cspum.sma and leave it in addons/amxmodx/scripting/ , but it's not a must...
Change map/Open the server and enjoy life.
Cvars top
cspum_type
"2" - Block the capability of picking up an weapon when you touch it.
"1" - Remove the weapon when you touch it.
Download: http://node1.lamdaprocs.com/index.php/s/ldpMsMPLUaNCOsj
#include <amxmisc>
#include <fakemeta>
#include <nvault>
#include <engine>
#include <cstrike>
#include <hamsandwich>
Description
When you touch a weapon from the ground, if that weapon exist in vault, this plugin will block picking-up it or will remove it( depends of the cvar ).
You can add or remove weapons in the vault by using commands.
Example to block m4a1:
Quote:
amx_cspum_addkey "m4a1"
'm4a1' is a key wich blocks the weapon M4a1 to be picked up or can be removed on touch(dependes on cvar ).
For list of all keys check the 'Admin commands' section.
Admin Command top
Quote:
amx_cspum_addkey < Weapon key >
( #this command add a new weapon in the vault )
amx_cspum_remkey < Weapon key >
( #this command remove a weapon from the vault )
amx_cspum_keylist
( # This command will show you a a list with all weapons avaible to block them )
amx_cspum_blocklist
( # Block all the weapons from the list )
amx_cspum_resetlist
( # Reset all the weapons from the vault. )
Installation top
To install the plugin:
Download cspum.sma and cspum.amxx
Go to cstrike/amxmodx/plugins and open plugins.ini , please add at the end of the file: "cspum.amxx" ( without quotes ).
Optionaly You could take cspum.sma and leave it in addons/amxmodx/scripting/ , but it's not a must...
Change map/Open the server and enjoy life.
Cvars top
cspum_type
"2" - Block the capability of picking up an weapon when you touch it.
"1" - Remove the weapon when you touch it.
Download: http://node1.lamdaprocs.com/index.php/s/ldpMsMPLUaNCOsj