Something wrong with set_user_health?
It still shows 100 *o* what's wrong?
PHP Code:
|
Re: Something wrong with set_user_health?
1 Attachment(s)
client_putinserver is executed as soon as a person enters the server .. There is a possibility a player hasnt join the team yet. Your code executes set user health instantly as the person joins the servers and practically hasnt even joined the team.
Try the file attached. Tested. |
Re: Something wrong with set_user_health?
Try to use Ham_Spawn post?
|
Re: Something wrong with set_user_health?
PHP Code:
|
Re: Something wrong with set_user_health?
Iceshot, no, I just want to set the user health to 120 if I enable health_enable to 1, else of 1, it will be set to 100. !is_user_alive is the condition when the player is dead, isn't it? So I guess if alive, it will always set to 120. I am right, aren't I?
|
Re: Something wrong with set_user_health?
Quote:
Quote:
Use my code and you'll see.. |
Re: Something wrong with set_user_health?
It doesn't give any effect, the health is still 100
|
Re: Something wrong with set_user_health?
this is working very well.
Quote:
|
Re: Something wrong with set_user_health?
Okya, thank you all, it works fine now.
|
| All times are GMT -4. The time now is 06:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.