[FilterScript] [FS] Windedґs Medicines - Pills & Healthkit & Beer
#1

Windedґs Medicines
Information
This mod gives buyable pills and healthkit to the game, useful for roleplay, deathmatch and zombie survival. It also adds drinking, but its only using the special drinking action; nothing special.

How does it work?
Pills give you a health boost, meaning your health will decrease to the original amount slightly after taking pills, but be careful: Everytime you use pills, when the health reaches back to the original amount, you will still loose a bit of health, so you may die if you have low health and use pills.
Health Kit is more realistic way of healing yourself, you will go down on your knees and heal yourself for a certain amount of time, and after that you will get health.
Beer gives you a bottle of beer where you can drink from, not made by me, its the special action.

How to use it?
If you plan on installing this mod on your own server, place .amx and .pwn file to filterscripts folder.
If the server you currently play has this mod, use these commands:
/buypills - Buy pills, one of this and you can take pills once
/takepills or /tp - Take pills, you need to buy pills first
/buyhealthkit - Buy health kit, one of this and you can heal yourself once
/heal or /hl - Heal yourself, you need to buy health kit first
/drink or /dr - Drink beer

Config
Код:
/******Change the values below to your liking********/
#define PRIZE_PILLS 200 //The amount of money needed for buying pills
#define PRIZE_PILLS_TAKE -200 //Change this to same with above, but keep - before it, example: #define PRIZE_PILLS 650 and #define PRIZE_PILLS_TAKE -650
#define PRIZE_HEALTHKIT 500 //The amount of money needed for buying health kit
#define PRIZE_HEALTHKIT_TAKE -500 //Change this to same with above, but keep - before it
#define PILLS_TIMEBETWEEN 1000 //Time in milliseconds between decreasing health with pills
#define HEALTHKIT_HEALTIME 6000 //Time in milliseconds as duration of healing with health kit
#define PILLS_GIVEHEALTH 50 //Amount of health given with pills
#define HEALTHKIT_GIVEHEALTH 80 //Amount of health given with Health Kit
#define PILLS_END_LOOSE 5 //Amount of health lost when pills effect stops
/****************************************************/
Find these lines in the script and you can configure the mod with them.

Bugs
None found currently, but if you find any bugs, please report them.

Download

Video coming soon.
Reply
#2

Any comments?
Reply
#3

Very nice ! Keep it up
Reply
#4

Quote:
Originally Posted by Hip-hop
Very nice ! Keep it up
Thanks very much, next version will include steroids, meaning youre health decreases slower when someone is shooting you.

May also include adrenaline
Reply
#5

Not tested, but sounds good.
Keep up the good work.
Reply
#6

good job
Reply
#7

More comments please
Reply
#8

Not bad
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)