Raised This Month: $ Target: $400
 0% 

permanent dhudmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 08-07-2011 , 05:31   permanent dhudmessage
Reply With Quote #1

I have this plugin:

PHP Code:
#include         <amxmodx>
#include         <amxmisc>
#include        <dhudmessage>

#define PLUGIN        "HudStat"
#define AUTHOR        "AloneLive"
#define VERSION        "0.1"

new gMaxPlayers;



public 
plugin_init()
{
    
register_plugin(PLUGIN,VERSION,AUTHOR)
    
    
gMaxPlayers get_maxplayers();
    
set_task(0.1,"hud_hpap""b"
}

public 
hud_hpap() {
    for( new 
id 1id <= gMaxPlayersid++ ) {
        if( 
is_user_alive(id) ) {
            
set_dhudmessage(016000.00.9510.10.10.10.1true);
            
show_dhudmessage(id"  + %i   |   @ %i   |   Фраги:   %i   |   Смерти   %i"get_user_health(id), get_user_armor(id), get_user_frags(id), get_user_deaths(id))
        }
    }

but message flickers sometimes.. How to make the message permanent?
Default hp and armor sprites removed by hud_customizer plugin.
__________________
sorry my bad english...
alonelive 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 03:24.


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