Thread: [Solved] GameName Issue.
View Single Post
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-12-2019 , 15:42   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #23

PHP Code:
public Description()
{
    new 
GameDescription[32];

    if(
IsMatchLive)
        
formatex(GameDescriptioncharsmax(GameDescription), "[T] %d - %d [CT]"score_teamONEscore_teamTWO);
    else
        
formatex(GameDescriptioncharsmax(GameDescription), "[%s]-MIX-%s"g_Tagg_Version);

    
Steam_SetGameDescription(GameDescription);

But you should use the following where you set IsMatchLive to true and to false.
PHP Code:
if(Steam_IsLoaded())
{
    new 
GameDescription[32];
    
formatex(GameDescriptioncharsmax(GameDescription), "", ...);
    
Steam_SetGameDescription(GameDescription);


Last edited by PartialCloning; 02-12-2019 at 15:46.
PartialCloning is offline