Health Restore
I'm wondering how to restore the health bar with a command..
for example: /restore-health I = I ++ (if health <100) something like this XD PS. I'm no coder/programmer |
Re: Health Restore
Try is:
PHP Code:
|
Re: Health Restore
thanks a lot !
I really appreciate this. will put this code in my plugin ^^ it says 1 warning. line 15: Warning 255: unreachable code line15: Code:
set_user_health(id, 100) |
Re: Health Restore
I fixed, try now
|
Re: Health Restore
PHP Code:
And if(get_user_health(id) <= 100) means if user health is LOWER or equal to 100. You must use == instead of <= |
Re: Health Restore
thanks again!
|
Re: Health Restore
Quote:
|
| All times are GMT -4. The time now is 08:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.