Author Topic: Setting game mode when a map changes  (Read 2153 times)

0 Members and 2 Guests are viewing this topic.

Offline Thud13

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Setting game mode when a map changes
« on: February 28, 2007, 01:09:19 PM »
Hello, I was wondering how I could set a certain game mode when a certain map goes in the rotation?

For example, when de_dust2 rotates I would like the game mode to be set to headcrab attack.

How would I do this? Thank you!

(For Gmod 10)

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Setting game mode when a map changes
« Reply #1 on: February 28, 2007, 02:18:36 PM »
setting sv_gamemode and sv_defaultgamemode before changing should work.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage