The console command is:
changegamemode (map) (the name of the folder in your \garrysmod\gamemodes)
You need to define the default gamemode on the command line.
[QUOTE=VladimirMurphy;20930500]You need to define the default gamemode on the command line.[/QUOTE]
Not required.
The easy way is either what HighdefGE said, or by adding "sv_defaultgamemode yourgamemodenamehere" (without the quotes) in game.cfg/server.cfg in the cfg directory.
[QUOTE=Ywa;20933759]Not required.
The easy way is either what HighdefGE said, or by adding "sv_defaultgamemode yourgamemodenamehere" (without the quotes) in game.cfg/server.cfg in the cfg directory.[/QUOTE]
it still comes up with sandbox and when i type in changegamemode darkrp is says its and undefined map or couldnt be found?
[QUOTE=dirtybryan;20941284]it still comes up with sandbox and when i type in changegamemode darkrp is says its and undefined map or couldnt be found?[/QUOTE]
Then download a map of your choice, and extract it to your \orangebox\garrysmod\maps\ folder of your server. Launch the server, and do the command again.
commandline is over ridding it
[QUOTE=Ywa;20933759]Not required.
The easy way is either what HighdefGE said, or by adding "sv_defaultgamemode yourgamemodenamehere" (without the quotes) in game.cfg/[B]server.cfg[/B] in the cfg directory.[/QUOTE]
Autoexec.cfg, and before the map command if there is one.
Sorry, you need to Log In to post a reply to this thread.