View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 05-22-2008 , 16:25   Weapon Spawner(2012 jan 20)
Reply With Quote #1

Weapon Spawner

Description
This plugin will allow you to create armor entitys for each map, with a menu that will have save and load options.
Please use the latest version, the older one is for those who wants it.
Version
1.4

History
1.0 Release
1.1 Cleaner code. menu will now close properly.
1.2 New cvar. Reset guns option added. Fixed a administrator bug.
1.3 Big rewrite. All weapons can now respawn in the same round.
1.4 Fixed the mp5. Added a extra mode on ws_remove_auto. Added a delete configuration file option. Changed the name to weapon_spawner2.

Cvars/Cmds
ws_menu - opens the menu
ws_auto_remove 2/1/0 - auto remove weapons when the map have loaded. 1:Removes weapons on those maps you have a configuration file for. 2:removes all, no mather what.
ws_auto_load 1/0 - auto loads configurations
ws_reset_round 1/0 - will reload all guns after a round
ws_reset_gun 1/0 - will allow your guns to respawn on the same round
ws_reset_gun_time - the time it takes for a gun to respawn
ws_reset_gun_amount - the amount that will be respawed each time the time has run out.

Require
AMXX 1.70+
Fakemeta
Steam


I recommend that you type the following in your console for fast menu access by pressing the F8 key
Quote:
bind F8 "ws_menu"

Usage
  • Enter the ws menu and make some spawns.
  • When you have made all the spawns you want to have , use the save option on the menu to save it.
  • The weapons will load automatic if you have ws_auto_load 1
  • You can use the option on the menu to remove all the weapons.
  • You can only have one configuration file per map, if you already have a configuration file then your old one will be overwritten and lost.
  • Normal guns wil be auto-removed if you have a configuration file for the map, you can use the menu option to remove the configuration file.


installation
  1. Download Weapon_Spawner2.amxx by pressing the get plugin button.
  2. Put Weapon_Spawner2.amxx in your plugins folder.
  3. Create a folder in addons\amxmodx\configs and name it "ws" without ""
  4. Add Weapon_Spawner2.amxx in your plugins.ini , it is located in your config folder.
Attached Files
File Type: sma Get Plugin or Get Source (Weapon_Spawner.sma - 4789 views - 18.2 KB)
File Type: sma Get Plugin or Get Source (Weapon_Spawner2.sma - 2968 views - 18.9 KB)
__________________
If one of my plugins become broken, contact me by mail. [email protected]

Last edited by fxfighter; 02-14-2012 at 16:17. Reason: Typos
fxfighter is offline
Send a message via MSN to fxfighter