# IScriptPlayer.setGameMode [← IScriptPlayer](index.md) · [← Master](../../wiki.md) setGameMode(int gameMode) void Set player's game mode.