Raised This Month: $ Target: $400
 0% 

Plese HELP!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 07-16-2010 , 18:05   Re: Plese HELP!
Reply With Quote #2

There isn't a maximum health cap. The health number in your HUD will only show up to 255 (or 250, don't remember) and then reset once it passes that, but your actual health value will differ from what the HUD displays.

If you still wanted to do this, you'd do something similar to:
Code:
#define MAX_HEALTH  255 #define ADD_HEALTH  100 set_user_health( id, min( ( get_user_health( id ) + ADD_HEALTH ), MAX_HEALTH ) )
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ 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 07:04.


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