General > Developers Corner

ULX command to connect to teamspeak

<< < (2/3) > >>

JamminR:

--- Quote from: chaos13125 on December 06, 2013, 03:06:55 PM ---They do, it's called "ts3server://"

--- End quote ---
Someone put a anchor like that in their motd html and see if it starts from Gmod then.
if it does, not full auto-start, but a html popup could be made to click on from ulx.

frustratedgamers:
I will try that hyperlink way, never even thought of doing that :p

Edit:
errr actually thinking about it, wouldn't it try to open that link within the game then? (which would not work obv)

JamminR:

--- Quote from: frustratedgamers on December 06, 2013, 03:14:44 PM ---errr actually thinking about it, wouldn't it try to open that link within the game then? (which would not work obv)

--- End quote ---
That's why I stated not sure if the Source HTML engine allows for non-standard html protocols. It may only allow https and http links.
If it's not sandboxed, I figure you'd get a message like "link blah is trying to open an external program, do you trust this?", but that it would work.

Bite That Apple:

--- Quote from: frustratedgamers on December 06, 2013, 03:14:44 PM ---I will try that hyperlink way, never even thought of doing that :p

Edit:
errr actually thinking about it, wouldn't it try to open that link within the game then? (which would not work obv)

--- End quote ---


--- Quote from: JamminR on December 06, 2013, 03:23:53 PM ---That's why I stated not sure if the Source HTML engine allows for non-standard html protocols. It may only allow https and http links.
If it's not sandboxed, I figure you'd get a message like "link blah is trying to open an external program, do you trust this?", but that it would work.

--- End quote ---

Nope didn't work, and chuck testa.

Cobalt:
I may be wrong, but isn't there something like os.execute that you can use to launch executables? Or does that not work in gmod?
os.execute(c:\\program files\\wherever teamspeak is)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version