Hello I need help on TF2 Health
1 Attachment(s)
How i get and set the health in sourcepawn Attachment 176002
but not like that https://i.ytimg.com/vi/wrtB2MCnT3A/hqdefault.jpg SetEntityHealth()? |
Re: Hello I need help on TF2 Health
TF2 Attributes, for example, can give you ability increase max health.
Attribute with name "max health additive bonus", or index 26. |
Re: Hello I need help on TF2 Health
Quote:
if scout have 125 max health i want to change max health to 300 |
Re: Hello I need help on TF2 Health
You can get current max health, and with this information, add required "bonus health points".
From one my plugin. Gamedata: Code:
"Games" Code:
#include <sourcemod> Just call UTIL_GetMaxHealth() with passing client index returns max player health with respecting all attributes. I can't guarantee in "freshness" gamedata. I wrote this code (and retrieved gamedata too) in december 2018. Maybe something changed. You can check "freshness" manually here. |
Re: Hello I need help on TF2 Health
Quote:
Quote:
|
Re: Hello I need help on TF2 Health
Quote:
|
Re: Hello I need help on TF2 Health
SDKHook_GetMaxHealth doesn't work on me. Windows, SM 1.9.
|
Re: Hello I need help on TF2 Health
If you're still looking for how to set max health in TF2, you can try my plugin
|
All times are GMT -4. The time now is 10:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.