Raised This Month: $ Target: $400
 0% 

Fist zombie Hp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 12-31-2012 , 23:59   Re: Fist zombie Hp
Reply With Quote #1

what error u have..
wicho is offline
bat
Veteran Member
Join Date: Jul 2012
Old 01-01-2013 , 03:46   Re: Fist zombie Hp
Reply With Quote #2

__________________
bat is offline
Send a message via Skype™ to bat
Miljan9
Member
Join Date: Dec 2011
Location: Belgrade / Serbia
Old 01-01-2013 , 11:33   Re: Fist zombie Hp
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <zombieplague>

public zp_round_started(gamemode) {
    if((
gamemode != MODE_INFECTION) && 
    (
gamemode != MODE_SWARM) && 
    (
gamemode != MODE_MULTI) && 
    (
gamemode != MODE_PLAGUE) && 
    (
gamemode != MODE_NEMESIS) &&
    (
gamemode == MODE_SURVIVOR)){
        
mod_first_zm();
    }
    return 
PLUGIN_CONTINUE;
}

public 
mod_first_zm() {
    for (new 
id 1id get_maxplayers(); id++) {
        if(
zp_get_user_zombie(id)) {
            new 
health get_user_health(id);
            new 
nick[32];
            
get_user_name(id,nick,31);
            
set_hudmessage(0255255, -1.00.2506.010.0);
            
show_hudmessage(0"%s is First Zombie!^n%d HP",nick,health)
        }
    }

__________________
Hi I'm from Serbian and i don't speak English good.
Miljan9 is offline
MercedeSx7
Senior Member
Join Date: Feb 2012
Location: Serbia
Old 01-02-2013 , 06:48   Re: Fist zombie Hp
Reply With Quote #4

Quote:
Originally Posted by Miljan9 View Post
PHP Code:
#include <amxmodx>
#include <zombieplague>

public zp_round_started(gamemode) {
    if((
gamemode != MODE_INFECTION) && 
    (
gamemode != MODE_SWARM) && 
    (
gamemode != MODE_MULTI) && 
    (
gamemode != MODE_PLAGUE) && 
    (
gamemode != MODE_NEMESIS) &&
    (
gamemode == MODE_SURVIVOR)){
        
mod_first_zm();
    }
    return 
PLUGIN_CONTINUE;
}

public 
mod_first_zm() {
    for (new 
id 1id get_maxplayers(); id++) {
        if(
zp_get_user_zombie(id)) {
            new 
health get_user_health(id);
            new 
nick[32];
            
get_user_name(id,nick,31);
            
set_hudmessage(0255255, -1.00.2506.010.0);
            
show_hudmessage(0"%s is First Zombie!^n%d HP",nick,health)
        }
    }

Why this? o.O

In main zp plugin ->
PHP Code:
ShowSyncHudMsg(0g_HudSync"%L"LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id], get_user_health(forward_id))) 
Lang file
PHP Code:
NOTICE_FIRST = %s is the first zombie!^n%d HP 
__________________

Last edited by MercedeSx7; 01-02-2013 at 06:50.
MercedeSx7 is offline
bat
Veteran Member
Join Date: Jul 2012
Old 01-02-2013 , 07:50   Re: Fist zombie Hp
Reply With Quote #5

PHP Code:
ShowSyncHudMsg(0g_HudSync"%L"LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id], get_user_health(forward_id))) 
Lang file
PHP Code:
NOTICE_FIRST = %s is the first zombie!^n%d HP 
[/QUOTE]

Thanks
__________________
bat is offline
Send a message via Skype™ to bat
bat
Veteran Member
Join Date: Jul 2012
Old 01-01-2013 , 12:06   Re: Fist zombie Hp
Reply With Quote #6

no work
__________________
bat is offline
Send a message via Skype™ to bat
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 01-02-2013 , 05:44   Re: Fist zombie Hp
Reply With Quote #7

Я писал для ЗП 5.0 , скинь код где показывается худ сообщение на первого ЗМ.
Podarok 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 21:05.


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