Garry's Mod

Garry's Mod

Not enough ratings
Random Map Script
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
1.962 KB
25 Sep, 2019 @ 10:35am
2 Apr, 2022 @ 2:22pm
3 Change Notes ( view )

Subscribe to download
Random Map Script

Description
➤⠀A⠀B⠀O⠀U⠀T
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬⠀▬▬▬⠀▬▬⠀▬
This script automatically loads a random map, if a selected map is loaded.
I use this script on my server to have a little more variety with each server
start.

➤⠀C O N V A R S
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬⠀▬▬▬⠀▬▬⠀▬
randommap 1 (Default: 1)
Toggles the random map script.

randommap_trigger gm_construct (Default: gm_construct)
The map that will trigger the mapchange.

randommap_prefix gm (Default: gm)
The prefix for maps that the script can use.
If you set this to "*" the script will look for every map you have installed.

➤⠀B U G S
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬⠀▬▬▬⠀▬▬⠀▬
Currently no known bugs.
Please write a comment if you find a bug, so I can fix it.



Popular Discussions View All (1)
0
20 Dec, 2024 @ 1:17pm
None of "Random map" addons work for me
Y!2!K!★
12 Comments
Breb Inc 5 May @ 5:06pm 
freezes the game on reload
Y!2!K!★ 20 Dec, 2024 @ 12:39pm 
nope not working
MR. Fresch 21 Jan, 2024 @ 5:27am 
Ich möchte das Addon auf einem TTT-Server betreiben, habe aber folgendes Problem.
meine eingestellten Parameter in der server.cfg sehen wie folgt aus:
randommap 1
randommap_trigger gm_construct
randommap_prefix ttt

Als Startmap des habe ich gm_construct eingestellt.
Sobald ich aber den Server jetzt neustarte, hängt er in einer Art Dauerschleife. Laut Konsole wird die Map gm_construct geladen, danach steht in der Konsole Host_Changelevel. Der Server startet dann wohl neu und das gleiche geht von vorne los. Hast du eine Idee woran das liegen kann?
balkaptan 20 Jul, 2023 @ 9:03pm 
I need Command please add
24601 9 Nov, 2022 @ 11:52pm 
Well I installed it like normal. There was nothing wrong when I installed it except for the fact that the convar wasn't there even when I restarted GMOD.
Parzival  [author] 9 Nov, 2022 @ 2:39pm 
@The Observer, please check your addon installation. I did a test and the addon works exactly as expected.
24601 9 Nov, 2022 @ 11:39am 
The convars aint even there
TheSniperCatt0 29 Sep, 2022 @ 8:00pm 
is it possible to use multiple prefixes?
¿LλMBDᴬ? 20 Apr, 2022 @ 4:52pm 
ok
Parzival  [author] 2 Apr, 2022 @ 2:23pm 
@Bob, fixed in the latest update