Raised This Month: $ Target: $400
 0% 

Stop_user_hp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-05-2010 , 18:12   Re: Stop_user_hp
Reply With Quote #1

That's because you registered Health event (this event is called whenever player health changes) and you set player max health there. Instead of that you should register post spawn (you can use hamsandwich) and set it there.

Your way of setting player max health based on level is a total failure. You needed 500 lines of code while you could achieve the same effect using 2 lines:
PHP Code:
public Health(id)
    
set_user_health(id100 PlayerLevel[id]) 
__________________
Impossible is Nothing
Sylwester is offline
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 05:27.


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