AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Server Addon : Show Zombie health (https://forums.alliedmods.net/showthread.php?t=147797)

CSO-fag 01-14-2011 08:38

[ZP] Server Addon : Show Zombie health
 
http://zombie-mod.ru/uploads/posts/2...94_show_hp.jpg

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

Quote:

Originally Posted by WaLkMaN (Post 1393323)
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 :D

WaLkMaN 01-14-2011 08:42

Re: [ZP] Server Addon : Show Zombie health
 
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))



CSO-fag 01-14-2011 09:54

Re: [ZP] Server Addon : Show Zombie health
 
http://lh4.ggpht.com/_PlgqS84hams/TT.../s640/err1.jpg

why this still happening? :shock:

HoLLyWooD 01-14-2011 09:56

Re: [ZP] Server Addon : Show Zombie health
 
You have no zombieplague file in a directory in your compiler

yokomo 01-14-2011 11:28

Re: [ZP] Server Addon : Show Zombie health
 
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.

CSO-fag 01-15-2011 07:10

Re: [ZP] Server Addon : Show Zombie health
 
Quote:

Originally Posted by yokomo (Post 1393447)
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 :P

ChickenChaser 06-06-2011 12:46

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

Dolph_Ziggler 06-07-2011 19:48

Re: [ZP] Server Addon : Show Zombie health
 
Quote:

Originally Posted by ChickenChaser (Post 1482468)
[IMG]http://img850.**************/img850/1341/copyof1294908694showhp.jpg[/IMG] It wouldn't be more efficiently if u can move the health bar whereever you wannt :D ? xD

you can

ChickenChaser 06-09-2011 13:51

Re: [ZP] Server Addon : Show Zombie health
 
how to change exactly like in the picture, I mean in the left corner

tei1995 06-09-2011 21:16

Re: [ZP] Server Addon : Show Zombie health
 
Quote:

Originally Posted by ChickenChaser (Post 1484505)
how to change exactly like in the picture, I mean in the left corner

use hud_message, check position point:D


All times are GMT -4. The time now is 15:59.

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