Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the script with other gamemodes #16

Open
Yutogashi opened this issue Jun 30, 2017 · 2 comments
Open

Using the script with other gamemodes #16

Yutogashi opened this issue Jun 30, 2017 · 2 comments

Comments

@Yutogashi
Copy link

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 lzinga closed this as completed Jul 1, 2017
@lzinga
Copy link
Owner

lzinga commented Jul 1, 2017

Didn't mean to close...

@lzinga lzinga reopened this Jul 1, 2017
@HerrmannMax
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants