Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item : Medkit


Post New Thread Reply   
 
Thread Tools Display Modes
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, 2680 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
Mlk27
Veteran Member
Join Date: May 2008
Old 11-08-2008 , 23:22   Re: [ZP] Extra Item : Cure HP/AP
Reply With Quote #2

nice. would be better if it's called MedKit :p
Mlk27 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-09-2008 , 02:12   Re: [ZP] Extra Item : Cure HP/AP
Reply With Quote #3

Yea, nice I will call it's "MedKit", because when I created it took me 3 h and I almost fall asleep...
__________________
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.
Fry! is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-12-2008 , 10:11   Re: [ZP] Extra Item : Medkit
Reply With Quote #4

Updated to v0.4, change plugin name, converted all to fakemeta.
__________________
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.
Fry! is offline
Kalamasnik
Member
Join Date: Apr 2008
Old 11-12-2008 , 15:21   Re: [ZP] Extra Item : Medkit
Reply With Quote #5

Hmm nice Plugin, but can you change this medic plugin for zp? It's more funny.
__________________
Kalamasnik is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 01-03-2009 , 15:53   Re: [ZP] Extra Item : Medkit
Reply With Quote #6

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
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 01-03-2009 , 18:46   Re: [ZP] Extra Item : Medkit
Reply With Quote #7

Instead of using all that if and else if, use switch statements. Btw, nice plugin =)
__________________

Last edited by IneedHelp; 01-03-2009 at 18:49.
IneedHelp is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 01-04-2009 , 04:25   Re: [ZP] Extra Item : Medkit
Reply With Quote #8

lol, I think this is my worst created plugin...
__________________
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.
Fry! is offline
ErrorStereotype
Senior Member
Join Date: Feb 2011
Location: Bosnia and Herzegovina
Old 03-12-2011 , 05:00   Re: [ZP] Extra Item : Medkit
Reply With Quote #9

some ss?
ErrorStereotype is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-12-2011 , 07:37   Re: [ZP] Extra Item : Medkit
Reply With Quote #10

ss of what?
how it sets your hp?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
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 23:04.


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