Question
Can I do this?
Code:
set_user_health(id, 900 + (2 * (g_HealthLevel[id] * Health_PerLevel)))Code:
set_user_health(id, 2 * (g_HealthLevel[id] * Health_PerLevel) - 100)How may I do this? |
Re: Question
u have to use:
get_user_health first to get the actual health left then set it with the actual + your value |
Re: Question
marquezs: What doesn't work about it? I think most mods have a problem displaying health above 255 on the HUD because it is received as a byte (max value of 255), even though the actual health can be higher.
|
Re: Question
I think he´s not asking about if it can be shown, rather if the
Code:
900 + (2 * (g_HealthLevel[id] * Health_PerLevel)) |
| All times are GMT -4. The time now is 21:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.