Raised This Month: $51 Target: $400
 12% 

[WS] Weapon Storage Crates 1.0b


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Emp` (115)
oRNY
Member
Join Date: Feb 2008
Location: Israel
Old 02-08-2008 , 14:37   [WS] Weapon Storage Crates 1.0b
Reply With Quote #1

Hey, I'm new here.. Hopefully this somewhat creative plug-in will be appreciated

Version 1.0b Added functionallity:

"ws_ban name" - Ban someone from using the storage crate.
"ws_unban name" - Unban soneone so he can once again use the storage crate.

"ws_random 0/1" - Defines whether or not the user gets a random weapon when he withdraws, or if he gets to choose from a list. (defaults to 0)
"ws_limituse 0 to 999" Limits the number of weapons a user can withdraw per round. 0 means infinite uses. (defaults to 0)


about:

Ever threw away an awp because you wanted to by an m4a1?
Ever found an AK47 as a CT, and wanted to give it to someone else, or just didn't wanna keep it?

Now you can share all your unwanted - or extra - weapons, with your teammates!

Using a storage crate in each team's spawn area, you can store and withdraw weapons, instead of having them
dissapear as the round changes.

Simply press "E" near the storage crate and you'll be greeted with a few simple options - deposit your current weapon, or withdraw a weapon from the storage crate.

Admins can limit each team's storage capacity by using the "ws_maxitems #" cvar. (default is 10)
Admins can also choose whether or not the storage crates are team specific, or can be used by both sides by using the "ws_teamlimited 0/1" cvar. (default is 1 - team limited.)

On custom maps, the storage crates' coordinates may not be available ahead, so the admin must use the "ws_admin" once command to set the coordinates for each teams' storage crate. (can also be used to change the default coordinates on default maps)
The coordinates will then be saved forever for that custom map.

Weapons are saved on map changes, and on round ends.
If you do not wish for the weapons to be saved on round ends and map changes, which is not recommended, you can use the "ws_save 0/1" cvar. (default is obviously 1).

To display this help screen ingame as an admin, type "ws_help" in the console.

And obviously, there's the "ws_on 0/1" cvar. (defaulted to 1..)

The first time you run this mod, please use the admin panel (ws_admin) and choose option 4: "Reset to defaults", to reset the storage crates' coordinates for all basic maps.
This only needs to be done once.


Pictures:




Credits:

- Me; oRNY (code) and Whenn (models)

Any further requests or advice on how to improve this mod will be greatly appreciated, seeing as this is my first mod.

The source code is full of comments in-case anyone is interested in reading it.
Attached Files
File Type: rar Weapon Storage.rar (3.41 MB, 2747 views)
File Type: sma Get Plugin or Get Source (weaponstorage.sma - 3068 views - 30.9 KB)

Last edited by oRNY; 02-09-2008 at 16:09. Reason: updated to 1.0b
oRNY is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode