This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

HL HUD


Post New Thread Reply   
 
Thread Tools Display Modes
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-05-2009 , 11:57   Re: HL HUD
Reply With Quote #11

how armor hud works then ? o.O
__________________
xPaw is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-05-2009 , 12:01   Re: HL HUD
Reply With Quote #12

I have seen a health hud to on a ZP mod
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-05-2009 , 12:07   Re: HL HUD
Reply With Quote #13

Battery message use a short. 1 << 15 the max left-shift. So you can send up to 32768. But since it's limited to 3 numbers, you can go to 999.
Arkshine is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-05-2009 , 12:38   Re: HL HUD
Reply With Quote #14

Well this one shows true health, armor (and if defined gravity and speed)
http://forums.alliedmods.net/showthread.php?t=36540
micke1101 is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 05-06-2009 , 05:37   Re: HL HUD
Reply With Quote #15

And as you may have noted that one doesn't use HL's Health/Armour icons at all.

It's just a status message. (If that's what they're called)
purple_pixie is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-09-2009 , 07:52   Re: HL HUD
Reply With Quote #16

How do i delete the old HUD?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-09-2009 , 13:28   Re: HL HUD
Reply With Quote #17

You can't if you mean to replace by another.
Arkshine is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-09-2009 , 13:36   Re: HL HUD
Reply With Quote #18

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <fun>

#define PLUGIN "New_HP|Armor"
#define VERSION "0.1"
#define AUTHOR "TitANious"

new hudsync;
new 
maxplayers;

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
hudsync CreateHudSyncObj();
    
maxplayers get_maxplayers();
    
    
set_task(0.1"stats"0""0"b"0);
}

public 
stats()
{            
    for(new 
<= maxplayers i++)
    {
        if(!
is_user_alive(i))
            continue;
        new 
hp get_user_health(i);
        new 
ap get_user_armor(i);   
    
        
set_hudmessage(25500, -1.00.9106.012.0);
        
ShowSyncHudMsg(ihudsync "%d HP | %d AP "hpap);
    } 

Then replace this with the hud? I mean delete the other HUD, then just use this plugin?

Last edited by TitANious; 05-09-2009 at 13:54.
TitANious is offline
Send a message via MSN to TitANious
{PHILMAGROIN}
Senior Member
Join Date: Aug 2007
Location: In the middle of the des
Old 05-10-2009 , 02:13   Re: HL HUD
Reply With Quote #19

Quote:
Originally Posted by purple_pixie View Post
That sounds highly probable to me, arkshine

And One, try reading what you've written before hitting that "Post" button.

Then delete it, then go outside.

And then just make sure not to post it once you get back inside.
Off Topic: i just read this and could not stop laughing for about 3 minutes haha.
__________________
[B]
{PHILMAGROIN} 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 04:01.


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