Raised This Month: $51 Target: $400
 12% 

Show Zombie Health Left Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Petrits
New Member
Join Date: May 2019
Old 02-14-2023 , 16:55   Show Zombie Health Left Plugin
Reply With Quote #1

Hello, I need help with this "Zombie Health Left" Plugin. Instead of showing the actual Health it just shows "s%" as the zombie health. Why is that so?

#include <amxmodx>
#include <zombieplague>

public plugin_init() {
register_plugin("ZP: Show Victim HP On Damage", "1.0", "<VeCo>")
register_event("Damage","event_damage","b","2 !0","3=0","4!0")
}

public event_damage(id)
{
new killer = get_user_attacker(id)
if(zp_get_user_zombie(id)) client_print(killer,print_center,"HP: %i",get_user_health(id))
}
Petrits is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 02-15-2023 , 02:12   Re: Show Zombie Health Left Plugin
Reply With Quote #2

Quote:
client_print(killer,print_center,"HP: %i",get_user_health(id))
Maybe you are using old cs1.6 client, which mean nosteam. Only old client has this issue .
metal_upa is offline
sPed
Member
Join Date: May 2017
Location: Algeria
Old 02-15-2023 , 05:02   Re: Show Zombie Health Left Plugin
Reply With Quote #3

i got this bug before and i found out the problem was in amxmodx version, upgrade your amxmodx
sPed is offline
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 02-15-2023 , 06:51   Re: Show Zombie Health Left Plugin
Reply With Quote #4

https://github.com/Hun1eR/Print-Center-Fix
__________________
deprale is offline
Petrits
New Member
Join Date: May 2019
Old 02-16-2023 , 15:28   Re: Show Zombie Health Left Plugin
Reply With Quote #5

Quote:
Originally Posted by deprale View Post

That fixed it. Thanks a lot...god bless you.

Thanks a lot to the others too!
Petrits 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 11:33.


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