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

CS Armor Drop (on death)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   twistedeuphoria (82)
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-14-2005 , 04:27   CS Armor Drop (on death)
Reply With Quote #1

Title:
CS Armor Drop (on death)

Summary:
When a player dies, if they have armor, they will drop their armor on the ground next to their corpse.
A player can then walk over it and pick it up, letting them get a "percentage" of the armor left behind.
Also, the player will recieve the same armor type as what they picked up.
All armor will be deleted when round ends. Or on specified time (see cvars).

Cvars:
armor_pct - (Default 20%) This is percentage of armor that will be received when its picked up.
armor_max - (Default 100) This is the max amount of armor a user can get from picking up.
armor_min - (Default 15) Minimum armor needed, for player to drop when killed.
armor_removetime - (Default 2min) Time before armor is removed from map (unless round ends).


Requires : AMXX 1.60
Modules : Engine, FakeMeta
Tested : Win32 (Linux untested)

Author: OneEyed
Version: 1.1


Thanks to ccnncc99, sXy-Schreck, phear of rice, and Aunt Friggin' Connie, for helping me test and fix this plugin!

- Change Log:
-v1.1
- Fixed to work on AMXX 1.60
- Added "Armor Drop" CVAR for queries to pick up.


Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
Attached Files
File Type: sma Get Plugin or Get Source (armordrop.sma - 7672 views - 8.5 KB)
__________________
OneEyed is offline
Front Line
Senior Member
Join Date: Jan 2005
Old 07-14-2005 , 04:29  
Reply With Quote #2

Hey thats very g00d

btw nice karma

Hey u script very similar to Burnzy
Who i indeed like
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-14-2005 , 06:59  
Reply With Quote #3

Nice.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
acehigh
Junior Member
Join Date: Jun 2005
Old 07-14-2005 , 07:46  
Reply With Quote #4

will this work for zombie panic ?
acehigh is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-14-2005 , 12:21  
Reply With Quote #5

Quote:
Originally Posted by acehigh
will this work for zombie panic ?
ummm, not really, but i could probably make one for it =/
OneEyed is offline
acehigh
Junior Member
Join Date: Jun 2005
Old 07-14-2005 , 12:37  
Reply With Quote #6

could you? that would be great
acehigh is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 07-14-2005 , 15:20  
Reply With Quote #7

This will go right next to nade drops and make it complete.
__________________
bmann_420 is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-15-2005 , 03:50  
Reply With Quote #8

Tag this to CS and choose a category? I assume you will do that soon and have approved this. Kudos for having a clean looking code.
Johnny got his gun is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-15-2005 , 04:35  
Reply With Quote #9

Quote:
Originally Posted by Johnny got his gun
Tag this to CS and choose a category? I assume you will do that soon and have approved this. Kudos for having a clean looking code.
Thanks, i take that as a compliment from you =).
But as to the catagory stuff, I did add that information when posting the plugin, but BAIL was fixing up the forum a bit, and I'm guessing he bugged it.. And now I can't edit it to fix it. Soooo ya..
OneEyed is offline
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-15-2005 , 12:17  
Reply With Quote #10

Good job with nice plugin. +1 for you.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
Reply


Thread Tools
Display Modes

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 11:13.


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