Healing always to 100 hp no matter what I change. Need 255.
Hello,
Problem is with blockmaker heal block: If I have 255 hp and I go on heal block it goes back 100, I tried everything, I even changed it all to 255 to see if it will heal to 255, still 100. Code:
actionHeal(id) |
Re: Healing always to 100 hp no matter what I change. Need 255.
Just add a check:
PHP Code:
|
Re: Healing always to 100 hp no matter what I change. Need 255.
PHP Code:
|
Re: Healing always to 100 hp no matter what I change. Need 255.
Wait, now I am confused. Do you want the block to heal to 255 if the user has more then 100 hp, or just stop the users health from going down to 100 if they have more then 100?
|
Re: Healing always to 100 hp no matter what I change. Need 255.
Quote:
|
Re: Healing always to 100 hp no matter what I change. Need 255.
Code:
|
Re: Healing always to 100 hp no matter what I change. Need 255.
tested them both, they both go back to 100
|
Re: Healing always to 100 hp no matter what I change. Need 255.
Quote:
In chat, do the following: say "blah" - nothing should happen now injure yourself to any degree besides killing yourself. use a grenade on yourself or something say "blah" - your health should now be 100 say "blah" - nothing should happen, health still at 100 say "hp" - your health should now go to 110 say "blah" - your health should now go to 255 say "blah" - nothing should happen, health still at 255 PHP Code:
|
Re: Healing always to 100 hp no matter what I change. Need 255.
I test that blah thing, it works like you said, but when i put the actionheal in bm it doesnt work'
maybe u can try in bm, and see if works EDIT: Btw, wheres the bm_healamount in it |
Re: Healing always to 100 hp no matter what I change. Need 255.
Code:
|
| All times are GMT -4. The time now is 18:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.