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

Kill Rewards ( Final ) [ Updated 07.01.2012 ]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
HoLLyWooD
Senior Member
Join Date: Nov 2010
Location: Ukraine Krivoy Rog
Old 06-24-2011 , 16:10   Kill Rewards ( Final ) [ Updated 07.01.2012 ]
Reply With Quote #1

.:>x] KILL REWARDS [x<:.


Greetings!
I want to present you my plugin, which allows players to award bonuses for the killing.
Types of bonuses:
  1. HP control ( vampire )
  2. Armor regeneration
  3. Grenade Awards
  4. Knife kill bonus
  5. Change money kill bonus
  6. Ammo refill on kill
used modules:
fakemeta
Benefits of the plugin:
  1. All types of bonuses are a very fine adjustment.
  2. In my plugin does not have a bug that when a player has 256 HP (the HUD displays 0) - then it starts to respond to the keyboard like a drunk
  3. Very fine-tune the recovery of ammo on kill. You can specify how many % to recover the kill in headshot occurred, or in another part of the body!

Installation:
Copy kill_rewards.cfg to configs dir. Copy kill_rewards.amxx to plugins dir. Init kill_rewards.amxx in configs/plugins.ini. Start server.
Code:
// Управление восстановлением здоровья
// Health Recovery Management

// Работает ли при убийстве своих / Award for his murder? 
amxr_ff_on 0		( no умолчанию ( Default ) - 0 )

//-----------------------------------------------------------------//

// Включение восстановления HP / switching-on recovering HP
amxr_hp_on 1		( no умолчанию ( Default ) - 1 )
// Сколько регенить HP при убийстве / How many HP regenerating for kill
amxr_hp 20		( no умолчанию ( Default ) - 20 )
// Сколько регенить HP при убийстве в голову / How many HP regenerating for head kill
amxr_hp_hs 40		( no умолчанию ( Default ) - 40 )
// Максимум HP / Maximum HP
amxr_max_hp 200		( no умолчанию ( Default ) - 200 )

//-----------------------------------------------------------------//

// Включает отображение HUD HP у игрока / Switching-on show HUD HP status
amxr_hp_hud_status	( по умолчанию ( Default ) - 1 )
// Минимальное кол-во HP для отображеня / Min hp for displaing
amxr_hp_hud_minhp	( По умолчанию ( Default ) - 150 )

//-----------------------------------------------------------------//

// Включение наград гранатами / switching-on grenade rewards
amxr_grenade_on 1	( no умолчанию ( Default ) - 1 )
// Награждать только при хедшоте / reward only if headshot
amxr_only_hs 1		( no умолчанию ( Default ) - 1 )
// Сколько боевых гранат может иметь юзер / How many henades can have user
amxr_he_limit 3		( no умолчанию ( Default ) - 3 )
// Сколько слеnoвых гранат может иметь юзер / How many flashbang can have user
amxr_flash_limit 3	( no умолчанию ( Default ) - 3 )
// Сколько дымовых гранат может иметь юзер / How many smokenades can have user
amxr_smoke_limit 1	( no умолчанию ( Default ) - 1 )

//-----------------------------------------------------------------//

// Влючение наград деньгами / switching-on money rewards
amxr_cash_on 1		( no умолчанию ( Default ) - 1 )
// Сколько давать денег за убийство / How many money give for kill
amxr_normal_cash 25	( no умолчанию ( Default ) - 25 )
// Сколько давать денег за хедшот / How many money give for head kill
amxr_hs_cash 100	( no умолчанию ( Default ) - 100 )

//-----------------------------------------------------------------//

// Включение наград за убийства ножем / switching-on rewards for knife kills
amxr_knife_on 1		( no умолчанию ( Default ) - 1 )
// Сколько давать денег за убийство ножем/ How many money give for knife kill
amxr_knife_cash 1000	( no умолчанию ( Default ) - 1000 )
// Сколько восстанавливать HP за убийство с ножа / How many HP recovery for knife kill
amxr_knife_hp 50	( no умолчанию ( Default ) - 50 )

//-----------------------------------------------------------------//


// Включение восстановления брони при убийстве / switching-on rewards armor for kills
amxr_armor_on 1		( no умолчанию ( Default ) - 1 )
// Тип брони ( 0 - Простая, 1 - со шлемом ) / Armor type ( 0 - klevar, 1 - vesthelm )
amxr_armor_type 1	( no умолчанию ( Default ) - 1 )
// Сколько брони восстановить за убийство // Restore armor for kill
amxr_armor 3		( no умолчанию ( Default ) - 3 )
// Сколько брони восстановить за убийство в голову // Restore armor for headshot kill
amxr_armor_hs 5		( no умолчанию ( Default ) - 5 )
// Сколько брони максимум // Maximum user armor
amxr_armor_max 150	( no умолчанию ( Default ) - 150 )

//-----------------------------------------------------------------//

// Включение восстановления патронов при убийстве / switching-on rewards ammo for kills
amxr_refill_on 1	( no умолчанию ( Default ) - 1 )
// Сколько % патронов восстановить при убийстве / How many % ammo restore on kill
amxr_refill_prc 50	( по умолчанию ( Default ) - 50 )
// Сколько % патронов восстановить при убийстве в голову / How many % ammo restore on headshot kill
amxr_refill_prchs 90	( по умолчанию ( Default ) - 90 )
Code:
//******************************************************************************************************//
//													//
//	Plugin made for http://kodportal.ru								//
//	Plugin is free											//
//	Official release http://forums.alliedmods.net/showthread.php?t=160064				//
//													//
//	Changelog:											//
//													//
//      07.01.2012 - v 1.6 - Stop using cstrike.inc							//
//      03.01.2012 - v 1.5 - Fixed bugs. Adding CSDM support. Adding hud display HP status		//
//	26.06.2011 - v 1.4 - Adding ammo refil for kills & using fakemeta								//
//	24.06.2011 - v 1.3 - Fixing bug with 256 HP for health reward. First release			//
//	24.06.2011 - v 1.2 - Adding ammo & cash rewards							//
//	24.06.2011 - v 1.1 - Fix bug with duplicate rewards						//
//	24.06.2011 - v 1.0 - Creating plugin. Grenade & vampire rewards					//
//													//
//	Credits:											//
//													//
//	TheRadiance - for CSDM Refil ammo 	http://forums.alliedmods.net/showthread.php?t=85787	//
//	Shalfee - for idea Vampire plugin	http://forums.alliedmods.net/showthread.php?p=455096	//
//													//
//******************************************************************************************************//
Sorry for my bad English!
Attached Files
File Type: sma Get Plugin or Get Source (kill_rewards.sma - 6318 views - 18.4 KB)
File Type: cfg kill_rewards.cfg (3.8 KB, 4126 views)
__________________

You do not know what to tell? Keep silent! You will look cleverer!
Не знаешь что сказать? Промолчи! Будешь выглядеть умней!
Статьи по скриптингу: НА РУССКОМ

Last edited by HoLLyWooD; 01-07-2012 at 09:09. Reason: update 07.01.2012
HoLLyWooD is offline
MostwantedScript
Senior Member
Join Date: Sep 2010
Location: Sweden,Gothenburg
Old 06-24-2011 , 18:57   Re: Kill Rewards
Reply With Quote #2

Please make the cfg to only english...
__________________
Owner & Creator of
http://mostwantedhf.info
MostwantedScript is offline
Send a message via Skype™ to MostwantedScript
HoLLyWooD
Senior Member
Join Date: Nov 2010
Location: Ukraine Krivoy Rog
Old 06-25-2011 , 00:17   Re: Kill Rewards
Reply With Quote #3

Quote:
Originally Posted by MostwantedScript View Post
Please make the cfg to only english...
Hmm, the guy you're lazy! There's one minute of work. By removing the value left in the CFG.
__________________

You do not know what to tell? Keep silent! You will look cleverer!
Не знаешь что сказать? Промолчи! Будешь выглядеть умней!
Статьи по скриптингу: НА РУССКОМ
HoLLyWooD is offline
MostwantedScript
Senior Member
Join Date: Sep 2010
Location: Sweden,Gothenburg
Old 06-25-2011 , 12:48   Re: Kill Rewards
Reply With Quote #4

Quote:
Originally Posted by HoLLyWooD View Post
guy you're lazy!.
ofc
__________________
Owner & Creator of
http://mostwantedhf.info
MostwantedScript is offline
Send a message via Skype™ to MostwantedScript
Old 06-25-2011, 05:41
Arkshine
This message has been deleted by Arkshine. Reason: nvm
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-25-2011 , 19:01   Re: Kill Rewards
Reply With Quote #6

nice
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
al3amri
Member
Join Date: May 2011
Old 06-26-2011 , 01:47   Re: Kill Rewards
Reply With Quote #7

awesome !
__________________
YO !
al3amri is offline
HoLLyWooD
Senior Member
Join Date: Nov 2010
Location: Ukraine Krivoy Rog
Old 06-26-2011 , 08:39   Re: Kill Rewards
Reply With Quote #8

updated. adding ammo refill!
__________________

You do not know what to tell? Keep silent! You will look cleverer!
Не знаешь что сказать? Промолчи! Будешь выглядеть умней!
Статьи по скриптингу: НА РУССКОМ
HoLLyWooD is offline
DeLiriuM
Senior Member
Join Date: Dec 2006
Old 06-27-2011 , 04:12   Re: Kill Rewards
Reply With Quote #9

Looks nice. Will definitely test it ;) Gj
__________________
DeLiriuM is offline
Trethy
Member
Join Date: Jun 2011
Old 07-01-2011 , 10:46   Re: Kill Rewards
Reply With Quote #10

Nice!
+karma
__________________
Im new at coding..
And i need things for my jailbreak server

But no one help me..
Trethy is offline
Reply



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 10:15.


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