|
Senior Member
Join Date: Oct 2018
Location: Leeds
|
02-14-2019
, 15:23
Re: [NOT SOLVED] GameName Issue.
|
#25
|
Quote:
Originally Posted by PartialCloning
PHP Code:
public Description()
{
new GameDescription[32];
if(IsMatchLive)
formatex(GameDescription, charsmax(GameDescription), "[T] %d - %d [CT]", score_teamONE, score_teamTWO);
else
formatex(GameDescription, charsmax(GameDescription), "[%s]-MIX-%s", g_Tag, g_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(GameDescription, charsmax(GameDescription), "", ...);
Steam_SetGameDescription(GameDescription);
}
|
Thanks, it worked!
__________________
|
|
|
|