View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
Sam Tsuki
Senior Member
Join Date: Apr 2008
Location: KoKoRo!
Old 08-14-2008 , 16:13   Award Grenades: Reloaded v1.5
Reply With Quote #1

Award Grenades: Reloaded

.: Description :.
When you kill a person you'll be awarded with Grenades.
You can use 3 conditions:
1. Team
2. Head Shot
3. Weapon

.: Required Modules :.
Fun
CSX
CStrike

.: CVARs :.
Code:
award_nades 1        //Enables the plugin
award_he 1        //How many HE Grenades a player should be awarded when killing another player?
award_fb 1        //How many Flash Bangs a player should be awarded when killing another player?
award_sg 1        //How many Smoke Grenades a player should be awarded when killing another player?
he_max 3        //What's the maximum number of HEs a player can be awarded with?
fb_max 5        //What's the maximum number of FBs a player can be awarded with?
sg_max 4        //What's the maximum number of SGs a player can be awarded with?
award_team Any        //Which team should be awarded? (Any, CT, T)
award_headshot 0    //Is a Head Shot needed ot get awarded?
award_weapon any    //What weapon is needed to get awarded? (knife, usp, glock18, etc.)
.: CMDs :.
Code:
say /awardcmds                                //Shows Award Grenades: Reloaded Commands
say /awardmenu                                //Shows a menu to know the awards and conditions
award_nades_toggle <0|1>                        //ADMIN_LEVEL_D, Enables or disables the plugin
award_nades_awards <he><fb><sg>                        //ADMIN_LEVEL_D, Changes the the awarded Grenades
give_nade <name> <nade>    <amount>                    //ADMIN_LEVEL_D, Gives a Grenade to a player
//Leave <nade> empty to give all Grenades, 'he' to give HEs, 'fb' to give Flash Bangs, 'sg' to give smoke grenades
award_team_toggle <Any|CT|T>                        //ADMIN_LEVEL_D, Changes which team should be awarded? *case sensetive*
award_hs_toggle <0|1>                            //ADMIN_LEVEL_D, Changes if a head shot is needed to get awarded
award_wpn_toggle <any|weapon name>                    //ADMIN_LEVEL_D, Changes if a weapon is needed to get awarded (knife, usp, glock18, etc.)
award_valid_weapons                            //ADMIN_LEVEL_D, Shows valid weapons
award_valid_weapons2                            //ADMIN_LEVEL_D, Shows the rest of the valid weapons
.: Updates :.
v1.1
- Fixed some scripting errors

v1.2
- Added award_team cvar and award_team_toggle command

v1.3
-Changed name to "Award Grenades: Reloaded"
-Added award_headshot and award_weapon CVARs
-Added award_nades_awards, award_hs_toggle, award_wpn_toggle, award_valid_weapons and award_valid_weapons2 ADMIN_LEVEL_D commands
-Added /awardcmds and /awardmenu client commands

v1.4
-Some bug fixes

v1.5
-Removed "award_fb_amount" CVAR
-Added "he_max", "fb_max" and "sg_max" CVARs
-Now the plugin uses v3x's Grenade Sack method to give nades

Requested
Attached Files
File Type: sma Get Plugin or Get Source (award_nades.sma - 4661 views - 20.0 KB)
__________________
My Approved Plugins:
Sam Tsuki

HvM XP Mod's addons:
Co-op Maps
Money System

Last edited by Sam Tsuki; 09-07-2008 at 12:02.
Sam Tsuki is offline