Raised This Month: $ Target: $400
 0% 

Solved HUD not being displayed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-28-2018 , 13:09   HUD not being displayed
Reply With Quote #1

I'm trying to fix this for hours and I still don't get why I'm not seeing a HUD getting displayed. The function that triggers the HUD is called on Ham_Killed but it still persists to not display.
PHP Code:
public @HamKilled_PostiVictimiAttackeriShouldGib )
{
    if( 
g_bHasGameStarted )
    {
        if( 
GetTeamAlivePlayersGetPlayerTeamiVictim ) ) == // all his teammates are dead
        
BetterLuckNextTimeiVictim ); // he lost the round
    
}
}

BetterLuckNextTimeiPlayer )
{
    
set_hudmessage025500.300.3000.010.0 );
    
show_hudmessageiPlayer"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( ) + ) );
            }
        }
    }

I just don't get what would cause it to not be displayed..
__________________

Last edited by edon1337; 07-17-2018 at 08:31.
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