note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
SetGameModeText
Description
Set the name of the game mode, which appears in the server browser.
Name | Description |
---|---|
format[] | The gamemode name to display. |
OPEN_MP_TAGS:... | Indefinite number of arguments of any tag. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
SetGameModeText("Team Deathmatch");
return 1;
}
#define GAME_MODE_VERSION "1.5.0"
public OnGameModeInit()
{
SetGameModeText("Roleplay v%s", GAME_MODE_VERSION);
return 1;
}