I'm currently in the middle of making a game launcher for my Garry's Mod server. Right now, when you press Launch all it does is start Garry's Mod with Process.Start("GarrysMod.exe")
.
Is it possible for me to start Garrys Mod with launch arguments for example that starts Garrys Mod up and connects to the server when it loads (e.g Process.Start("GarrysMod.exe -connect 1.2.3.4
). If anyone knows if this is possible or how to do this, please let me know.
Thanks!