Raised This Month: $ Target: $400
 0% 

Solved HUD not being displayed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-29-2018 , 07:09   Re: HUD not being displayed
Reply With Quote #7

Quote:
Originally Posted by maqi View Post
You don't need a flag to skip dead, you need a flag to skip alive As I can see, you are never going to show this message to an alive player. so go with
Code:
get_players ( iPlayers, iNum, "bch" );
Yeah, I misunderstood what you said, that would work, thanks.

Quote:
Originally Posted by maqi View Post
Other than that, check for some other hud message overwriting the same channel.
I also think that might be the case, I already used -1 channel so it automatically finds a new channel, so they don't overwrite each other, but it's not working.

EDIT: Client_print works, but not HUDs..

PHP Code:
BetterLuckNextTimeiPlayer )
{
    
set_hudmessage025500.300.3000.010.0__, -);
    
show_hudmessageiPlayer"Your team placed: #%d", ( GetRemainingTeams( ) + ) );

    
client_printiPlayerprint_center"Your team placed: #%d", ( GetRemainingTeams( ) + ) );
    
    if( 
GetPlayerPerTeam( ) > )
    {
        new 
szPlayers32 ], iNumiTempID;
        
get_playersszPlayersiNum"bch" );
        
        for( new 
iiNumi++ )
        {
            
iTempID szPlayers];
            
            if( ( 
GetPlayerTeamiTempID ) == GetPlayerTeamiPlayer ) ) && ( iTempID != iPlayer ) )
            {
                
set_hudmessage025500.350.3500.010.0__, -);
                
show_hudmessageiTempID"Your team placed: #%d", ( GetRemainingTeams( ) + ) );
            }
        }
    }

__________________

Last edited by edon1337; 06-29-2018 at 07:15.
edon1337 is offline
 



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 12:35.


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