Thread: [Subplugin Submission] [ZP] Extra Item : Medkit
View Single Post
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-08-2008 , 17:43   [ZP] Extra Item : Medkit
Reply With Quote #1

[ZP] Extra Item : Medkit
( for Humans only )

by The_Thing


Description :

You can now cure your self when zombies had taken damage on your Health or Armor. This can only be done by taking a certain amount of ammo packs out depending on your condition.

Cvars :
Quote:
  • zp_medkit <1|0> - Enable or disable this plugin, default is 1
  • zp_medkitHP <1|0> - Enable or disable to medkit for HP, default is 1
  • zp_medkitAP <1|0> - Enable or disable to medkit for AP, default is 1
// Medkit for HP
  • zp_medkit_cost90hp "21" - This is how much You will pay for cure your 90hp if You will have only 10hp
  • zp_medkit_cost80hp "19" - This is how much You will pay for cure your 80hp if You will have only 20hp
  • zp_medkit_cost70hp "17" - This is how much You will pay for cure your 70hp if You will have only 30hp
  • zp_medkit_cost60hp "15" - This is how much You will pay for cure your 60hp if You will have only 40hp
  • zp_medkit_cost50hp "13" - This is how much You will pay for cure your 50hp if You will have only 50hp
  • zp_medkit_cost40hp "11" - This is how much You will pay for cure your 40hp if You will have only 60hp
  • zp_medkit_cost30hp "9" - This is how much You will pay for cure your 30hp if You will have only 70hp
  • zp_medkit_cost20hp "7" - This is how much You will pay for cure your 20hp if You will have only 80hp
  • zp_medkit_cost10hp "5" - This is how much You will pay for cure your 10hp if You will have only 90hp
  • zp_medkit_cost100hp "0" - This means that You have full HP already.
// Medkit for AP
  • zp_medkit_cost90ap "25" - Same as for HP only armor will be more expensive.
  • zp_medkit_cost80ap "23" -
  • zp_medkit_cost70ap "21" -
  • zp_medkit_cost60ap "19" -
  • zp_medkit_cost50ap "17" -
  • zp_medkit_cost40ap "15" -
  • zp_medkit_cost30ap "13" -
  • zp_medkit_cost20ap "11" -
  • zp_medkit_cost10ap "9" -
  • zp_medkit_cost100ap "0" - This means that You have full AP already.


Commands
:


say /medkithp or say_team /medkithp - to buy a HP cure randomly
say /medkitap or say_team /medkithp - to buy a AP cure randomly

Changelog
:


Code:
09/11/2008 - v0.1 - First release
09/11/2008 - v0.2 - added armor feature too
11/11/2008 - v0.4 - change plugin name, converted all to fakemeta.


P.S.


Very useful on Swarm mode. Enjoy!

------------------------------
09/11/2008 - v0.2 updated (21 views)
Attached Files
File Type: rar zp_extra_medkit v0.4.rar (9.9 KB, 2687 views)
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 11-12-2008 at 10:10.
Fry! is offline