Support for gamemode numbers

Adding the gamemodes numbers as a way to gather the gamemode.