How to make it so sound plays when a client is joining?
3 replies, posted
When you join most Gmod servers, there is some music and maybe a webpage that shows to replace the default loading screen. How would you do this? I haven't found any lua docs on this and google has turned up unhelpful results.
as far as i have seen people who had "websites" as their loading screen, was ******, it was a prt screen picture showing only the website, and you couldn't do anything on it.
(Not sure!)
in your server.cfg file you can add
sv_loadingurl "http://www.google.com"
Which will set the loading screen to google.
This means that the loadingscreen is a webbrowser kinda, which means if you want music and whatever else you'll need to look into the web community. Look up things like HTML, CSS and Javascript.
Look here: [url]http://wiki.garrysmod.com/page/Loading_URL[/url]
[QUOTE=Donkie;40619272]in your server.cfg file you can add
sv_loadingurl "http://www.google.com"
Which will set the loading screen to google.
This means that the loadingscreen is a webbrowser kinda, which means if you want music and whatever else you'll need to look into the web community. Look up things like HTML, CSS and Javascript.
Look here: [url]http://wiki.garrysmod.com/page/Loading_URL[/url][/QUOTE]
Thanks! I thought it was lua! I know web dev so this'll be a snap.
Sorry, you need to Log In to post a reply to this thread.