AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Kill Rewards ( Final ) [ Updated 07.01.2012 ] (https://forums.alliedmods.net/showthread.php?t=160064)

HoLLyWooD 06-24-2011 16:10

Kill Rewards ( Final ) [ Updated 07.01.2012 ]
 
10 Attachment(s)
.:>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!:bacon:

MostwantedScript 06-24-2011 18:57

Re: Kill Rewards
 
Please make the cfg to only english...

HoLLyWooD 06-25-2011 00:17

Re: Kill Rewards
 
Quote:

Originally Posted by MostwantedScript (Post 1495662)
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.

MostwantedScript 06-25-2011 12:48

Re: Kill Rewards
 
Quote:

Originally Posted by HoLLyWooD (Post 1495799)
guy you're lazy!.

ofc :)

Dolph_Ziggler 06-25-2011 19:01

Re: Kill Rewards
 
nice :D

al3amri 06-26-2011 01:47

Re: Kill Rewards
 
awesome !

HoLLyWooD 06-26-2011 08:39

Re: Kill Rewards
 
updated. adding ammo refill!

DeLiriuM 06-27-2011 04:12

Re: Kill Rewards
 
Looks nice. Will definitely test it ;) Gj

Trethy 07-01-2011 10:46

Re: Kill Rewards
 
Nice!
+karma

kOTok 07-02-2011 11:24

Re: Kill Rewards
 
хм.. HoLLyWooD, не мог бы ты подсказать почему может не работать плагин..?)
конфиг закинул, плагин тоже.. и прописал естественно..
м.б. есть какие-нить особые требования..?)


All times are GMT -4. The time now is 09:10.

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