How to get a entity(NPC) health?
i had a code which is:
Code:
#define HEALTH_OFFSET 100000.0 |
Re: How to get a entity(NPC) health?
Your not supposed to bump your thread unless its been longer than 2 weeks.
Hud Message: PHP Code:
Chat Message: PHP Code:
|
Re: How to get a entity(NPC) health?
Change
[php] Chat Message: PHP Code:
[php] Chat Message: PHP Code:
|
Re: How to get a entity(NPC) health?
Quote:
btw, thanks all |
Re: How to get a entity(NPC) health?
You could use pev(ent, pev_health) since it returns an integer value, so you avoid using floatround() native.
|
Re: How to get a entity(NPC) health?
Quote:
|
Re: How to get a entity(NPC) health?
Quote:
Code:
|
Re: How to get a entity(NPC) health?
Quote:
|
Re: How to get a entity(NPC) health?
Yes that's true but for whatever reason he might only require Engine for the rest of his plugin ... saves using another module.
|
Re: How to get a entity(NPC) health?
Quote:
|
| All times are GMT -4. The time now is 03:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.