Raised This Month: $ Target: $400
 0% 

Solved Diagnose health


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-19-2022 , 20:58   Diagnose health
Reply With Quote #1

Hi, I got a code from another plugin and connected it to the mode
Which causes health to be displayed in the form of sprites
I have this
PHP Code:
    new Float:percent=float(get_user_health(id))/float(ArrayGetCell(g_zclass_hpg_iZombieClass[id]));
    new 
Float:framepev(entpev_fuser1)-(pev(entpev_fuser1)*percent); 
The problem is that if I buy HP from the store it can not detect the amount of health

Last edited by amirwolf; 01-20-2022 at 10:11.
amirwolf is offline
 


Thread Tools
Display Modes

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 11:37.


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