Raised This Month: $ Target: $400
 0% 

How to get a entity(NPC) health?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4554
Senior Member
Join Date: Aug 2009
Old 08-10-2011 , 07:04   Re: How to get a entity(NPC) health?
Reply With Quote #1

Quote:
Originally Posted by hornet View Post
Your not supposed to bump your thread unless its been longer than 2 weeks.

Hud Message:
PHP Code:
set_hudmessage255255255);
show_hudmessage0"Entity health is %i"floatroundentity_get_floatentEV_FL_health ) ) ); 
If you want to change the position and effects then use the rest of the parametres.

Chat Message:
PHP Code:
client_print0print_chat"Entity health is %i"floatroundentity_get_floatentEV_FL_health ) ) ); 
sorry i forgot the rule
btw, thanks all
4554 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode