warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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;
}