Raised This Month: $ Target: $400
 0% 

Using health as a percent value


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 02-14-2013 , 12:17   Using health as a percent value
Reply With Quote #1

Hello there.

I wanna use the health to show a percentage of the real health of a player, but everytime i want to use an
PHP Code:
set_pev(victim,pev_health,...) 
it returns zero.

How can i put a value on the health whithout returning zero and have that 0hp Bug?
Yes, i tried something like set_pev(victim,pev_health,27) and i failed miserably

Thanks in Advance.
XINLEI is offline
 



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 20:35.


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