Raised This Month: $ Target: $400
 0% 

Solved HP Bar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AnimalMonster
Senior Member
Join Date: May 2020
Old 06-26-2020 , 08:46   Re: HP Bar
Reply With Quote #2

Sorry but i don't really know.....
maybe try to inverse them??
PHP Code:
if(HEALTH_BOSS < (cso_boss_health 1000.0))
    {
        
set_pev(y_hpbarpev_frame0.0 + ((((cso_boss_health 1000.0) - ) * 100) / HEALTH_BOSS))
    } else {
        
set_pev(y_hpbarpev_frame100.0)
    } 
AnimalMonster 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 17:12.


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