Raised This Month: $ Target: $400
 0% 

Solved HUD not being displayed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-29-2018 , 06:32   Re: HUD not being displayed
Reply With Quote #1

Quote:
Originally Posted by maqi View Post
It's executed in the right order.

PHP Code:
BetterLuckNextTimeiVictim );   // first
log_to_file"csbattleroyale.txt""#1 Called | iVictim = %d"iVictim );  //second 
Yes, my bad, I didn't notice

Quote:
Originally Posted by maqi View Post
- You are showing ( GetRemainingTeams( ) - 1 ) to the player but ( GetRemainingTeams( ) + 1 ) to his team ( Im not sure if this is intended, but doesn't seem right )
I have already fixed it since last night

Quote:
Originally Posted by maqi View Post
- Don't use szPlayers[ i ] if you already defined iTempID, or don't use iTempID at all
Doesn't really fix this bug but you're right, I was in a rush when I edited the code so I missed that.

Quote:
Originally Posted by maqi View Post
- And I would suggest adding some flags to the get_players native, as you don't need a hud message to be shown to bots for example, or even alive players in this case.
If I add the flag to skip dead players how would I loop through his dead teammates?

Quote:
Originally Posted by maqi View Post
As for the hud not showing ( if it still isn't ), can we please take a look at the GetRemainingTeams() ?
It was showing like 30 mins ago now It's gone again, idk what's causing it to not show sometimes..

As I said, it just returns an integer.
PHP Code:
GetRemainingTeams( )
{
    new 
iRemainingTeams;

    for( new 
iTeam 1iTeam <= GetMaxTeams( ); iTeam++ )
    {
        if( 
GetTeamAlivePlayersiTeam ) >= // GetTeamAlivePlayers returns number of alive players in a team
        
{
            
iRemainingTeams++;
        }
    }
    return 
iRemainingTeams;

__________________

Last edited by edon1337; 06-29-2018 at 06:34.
edon1337 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 12:35.


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