Raised This Month: $ Target: $400
 0% 

[ZP] Server Addon : Show Zombie health


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CSO-fag
Senior Member
Join Date: May 2010
Location: Indonesia, South Jakarta
Old 01-14-2011 , 08:38   [ZP] Server Addon : Show Zombie health
Reply With Quote #1



This Addon can show zombie health when you point at zombie [when being human class]

Quote:
Originally Posted by WaLkMaN View Post
PHP Code:
#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))

thx to WaLkMaN
__________________
I play: CS 1.6, CSS, HL2, CSO, Seal Online, Ragnarok, and.....

1. [ZP] Zombie Ambience
[IMG]http://img714.**************/img714/9589/12013gd1w.gif[/IMG]
Adding more Link

Last edited by CSO-fag; 01-17-2011 at 06:27.
CSO-fag is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 01-14-2011 , 08:42   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #2

PHP Code:
#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))

WaLkMaN is offline
CSO-fag
Senior Member
Join Date: May 2010
Location: Indonesia, South Jakarta
Old 01-14-2011 , 09:54   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #3



why this still happening?
__________________
I play: CS 1.6, CSS, HL2, CSO, Seal Online, Ragnarok, and.....

1. [ZP] Zombie Ambience
[IMG]http://img714.**************/img714/9589/12013gd1w.gif[/IMG]
Adding more Link
CSO-fag is offline
HoLLyWooD
Senior Member
Join Date: Nov 2010
Location: Ukraine Krivoy Rog
Old 01-14-2011 , 09:56   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #4

You have no zombieplague file in a directory in your compiler
HoLLyWooD is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 01-14-2011 , 11:28   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #5

Make sure "zombieplague.inc" file is in your include folder then compile it. how can you doesn't have this include file? since you are playing ZP. So weird.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
CSO-fag
Senior Member
Join Date: May 2010
Location: Indonesia, South Jakarta
Old 01-15-2011 , 07:10   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #6

Quote:
Originally Posted by yokomo View Post
Make sure "zombieplague.inc" file is in your include folder then compile it. how can you doesn't have this include file? since you are playing ZP. So weird.
oh, so thats the prob, i compile it on another folder
__________________
I play: CS 1.6, CSS, HL2, CSO, Seal Online, Ragnarok, and.....

1. [ZP] Zombie Ambience
[IMG]http://img714.**************/img714/9589/12013gd1w.gif[/IMG]
Adding more Link
CSO-fag is offline
ChickenChaser
Member
Join Date: Aug 2010
Old 06-06-2011 , 12:46   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #7

[IMG]http://img850.**************/img850/1341/copyof1294908694showhp.jpg[/IMG] It wouldn't be more efficiently if u can move the health bar whereever you wannt ? xD

Last edited by ChickenChaser; 06-06-2011 at 12:50.
ChickenChaser is offline
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-07-2011 , 19:48   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #8

Quote:
Originally Posted by ChickenChaser View Post
[IMG]http://img850.**************/img850/1341/copyof1294908694showhp.jpg[/IMG] It wouldn't be more efficiently if u can move the health bar whereever you wannt ? xD
you can
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
ChickenChaser
Member
Join Date: Aug 2010
Old 06-09-2011 , 13:51   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #9

how to change exactly like in the picture, I mean in the left corner
ChickenChaser is offline
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 06-09-2011 , 21:16   Re: [ZP] Server Addon : Show Zombie health
Reply With Quote #10

Quote:
Originally Posted by ChickenChaser View Post
how to change exactly like in the picture, I mean in the left corner
use hud_message, check position point
tei1995 is offline
Reply


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 15:59.


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