Raised This Month: $ Target: $400
 0% 

Healing always to 100 hp no matter what I change. Need 255.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 07-30-2009 , 10:29   Re: Healing always to 100 hp no matter what I change. Need 255.
Reply With Quote #6

Code:
actionHeal(id) {     if ( !( halflife_time() >= gfNextHealTime[id] ) ) return PLUGIN_HANDLED;         new amount = floatround(get_cvar_float("bm_healamount"), floatround_floor);     new new_health = (get_user_health(id) + amount);         if ( new_health > 100 ) return PLUGIN_HANDLED;         set_user_health(id, new_health);         gfNextHealTime[id] = halflife_time() + 0.5;         return PLUGIN_HANDLED; }
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!


Last edited by LaineN; 07-30-2009 at 15:53.
LaineN is offline
 



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 18:24.


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