[Help] with easy condition
Hi, here is cheap_suit regeneration Health function
I add armour. but it has a bug. when your hp / ap = 200 and enemy hits you. your hp and ap immediately goes to 200. ( should be 10 each 2 secs ) Code:
public Task_HealthRegen(id) |
Re: [Help] with easy condition
Instead you can just use the min native:
Code:
set_user_health( id, min( iHealth, 200 ) ) |
Re: [Help] with easy condition
I believe that you need to separate this into two separate if statements:
PHP Code:
|
Re: [Help] with easy condition
thanks , one time I did so, than deleted. will try again
|
| All times are GMT -4. The time now is 04:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.