Raised This Month: $59 Target: $400
 14% 

Regeneration with Stamina Factor - ESF


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Earth's Special Forces        Category:   Fun Stuff        Approver:   Emp` (115)
fry
New Member
Join Date: Jul 2007
Old 07-05-2007 , 19:12   Regeneration with Stamina Factor - ESF
Reply With Quote #1

Hi guys, i created this plugin for make the fights a little longer. Is good for 1x1, or 2x2, without respaw.
Works giving 1hp/s, in the start, but if your life < 75% of max value, you gonna lose stamina, and with time your regeneration factor is change for 1hp in 2 seconds, and later for 1hp in 3 seconds.
You can recover your stamina, if you life > 75%, with time, just try to keep this value.

Is a primary version of my plugin, but thats works, and if you want change the time of hp regen, just change the CVAR regen_time.
Attached Files
File Type: sma Get Plugin or Get Source (staminaregen.sma - 2180 views - 1.3 KB)
File Type: zip staminaregen.zip (3.4 KB, 769 views)

Last edited by fry; 07-05-2007 at 20:37.
fry is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-05-2007 , 19:19   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #2

Hum...arrange the text a bit!
Don't attach the .amxx !

Here
Code:
 for(new i=0;i<=32;i++)
use get_players() !
Also a more efficient way is with client_prethink(fakemeta of course).
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-05-2007 at 19:22.
Alka is offline
fry
New Member
Join Date: Jul 2007
Old 07-05-2007 , 19:59  
Reply With Quote #3

Thanks, is my first plugin, i don't know much about... =]
Attached Files
File Type: zip staminaregen.zip (3.4 KB, 154 views)
fry is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-05-2007 , 20:07   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #4

In your first post, remove the .amxx file. When you upload the .sma file, there is a link to get the .amxx file without having to upload it. That was one thing Alka was trying to say
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fry
New Member
Join Date: Jul 2007
Old 07-06-2007 , 05:56   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #5

I removed a little bug in regen gain.
Now works 100%.
Attached Files
File Type: zip staminaregenV2.zip (3.4 KB, 288 views)
fry is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 07-06-2007 , 07:00   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #6

Instead of posting a new zip every time you update it, edit your first post.
mateo10 is offline
ksapdude
Member
Join Date: Jul 2007
Old 07-17-2007 , 23:15   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #7

thanks dude, ESF FOR EVER.
ksapdude is offline
Simon10362
Junior Member
Join Date: Aug 2007
Location: Estonia
Old 08-18-2007 , 15:43   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #8

I don't get it.....
It doesnt work for me, even with the default files,values.... etc....
Compiled locally = doesnt work
Using your own provided amxx = doesnt work
Compiled with the online compiler = doesnt work
BTW: whats "include <esf>" for????

Buggy....
Simon10362 is offline
Send a message via MSN to Simon10362
oglop
Member
Join Date: Jul 2010
Location: Czech Republic
Old 05-03-2011 , 17:24   Re: Regeneration with Stamina Factor - ESF
Reply With Quote #9

yea same to me. how could this been approved?
oglop is offline
Reply


Thread Tools
Display Modes

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 15:53.


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