AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Extra Item : Medkit (https://forums.alliedmods.net/showthread.php?t=80277)

Fry! 11-08-2008 17:43

[ZP] Extra Item : Medkit
 
1 Attachment(s)
[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)

Mlk27 11-08-2008 23:22

Re: [ZP] Extra Item : Cure HP/AP
 
nice. would be better if it's called MedKit :p

Fry! 11-09-2008 02:12

Re: [ZP] Extra Item : Cure HP/AP
 
Yea, nice I will call it's "MedKit", because when I created it took me 3 h and I almost fall asleep...

Fry! 11-12-2008 10:11

Re: [ZP] Extra Item : Medkit
 
Updated to v0.4, change plugin name, converted all to fakemeta.

Kalamasnik 11-12-2008 15:21

Re: [ZP] Extra Item : Medkit
 
Hmm nice Plugin, but can you change this medic plugin for zp? It's more funny.

georgik57 01-03-2009 15:53

Re: [ZP] Extra Item : Medkit
 
can you edit this plugin and make it to give the player a medkit when he buys the extra item, and not set his health to a certain amount...
take a look at this page
Somewhere it has this code:
Quote:

give item_healthkit
I think the item_medkit exists too...
Anyway please can you do the plugin in this format? I would be verry greatfull:)

IneedHelp 01-03-2009 18:46

Re: [ZP] Extra Item : Medkit
 
Instead of using all that if and else if, use switch statements. Btw, nice plugin =)

Fry! 01-04-2009 04:25

Re: [ZP] Extra Item : Medkit
 
lol, I think this is my worst created plugin... :D

ErrorStereotype 03-12-2011 05:00

Re: [ZP] Extra Item : Medkit
 
some ss?

georgik57 03-12-2011 07:37

Re: [ZP] Extra Item : Medkit
 
ss of what?
how it sets your hp?


All times are GMT -4. The time now is 22:19.

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