Using the script with other gamemodes
Opened this issue · 2 comments
Yutogashi commented
Apparently the script makes the preparation phase stuck for any other gamemode rather that TTT. Because of that I have to remove the autorun file for the weight system every time I want to change the gamemode on the server.
Is it possible to add a gamemode check to the script so it doesn't start if the gamemode is not TTT?
lzinga commented
Didn't mean to close...
HerrmannMax commented
Maybe we could build an If-Condition around the lua files in the autorun
This could work: https://wiki.facepunch.com/gmod/engine.ActiveGamemode
I only run dedicaded servers for the game modes I use.
@Yutogashi do you still need this and can you test the changes for me?