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);
}