Garry's Mod

Garry's Mod

评价数不足
Random Map Script
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐
文件大小
发表于
更新日期
1.962 KB
2019 年 9 月 25 日 上午 10:35
2022 年 4 月 2 日 下午 2:22
3 项改动说明 ( 查看 )

订阅以下载
Random Map Script

描述
➤⠀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.



热门讨论 查看全部(1)
0
2024 年 12 月 20 日 下午 1:17
None of "Random map" addons work for me
Y!2!K!★
12 条留言
Breb Inc 5 月 5 日 下午 5:06 
freezes the game on reload
Y!2!K!★ 2024 年 12 月 20 日 下午 12:39 
nope not working
MR. Fresch 2024 年 1 月 21 日 上午 5:27 
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 2023 年 7 月 20 日 下午 9:03 
I need Command please add
Mystery 2022 年 11 月 9 日 下午 11:52 
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  [作者] 2022 年 11 月 9 日 下午 2:39 
@The Observer, please check your addon installation. I did a test and the addon works exactly as expected.
Mystery 2022 年 11 月 9 日 上午 11:39 
The convars aint even there
TheSniperCatt0 2022 年 9 月 29 日 下午 8:00 
is it possible to use multiple prefixes?
¿LλMBDᴬ? 2022 年 4 月 20 日 下午 4:52 
ok
Parzival  [作者] 2022 年 4 月 2 日 下午 2:23 
@Bob, fixed in the latest update