Anyone know if I can add a simple function to my gmod?
It takes me a pretty damn long time to load into singleplayer and/or multiplayer. It takes so long that I usually go do something else while gmod is loading.
I want it to play a sound for me when I’m done loading, like a function that hooks to GM.PlayerInitialSpawn() or something.
I want everything to be totally clientside though, so it will still work if I’m joining a server and it won’t be heard by anyone else.
I’m sure the script is simple, but I don’t know where it would go. Gamemodes/sandbox? Addon/lua/autorun? What should it go in? cl_init?
Also, could someone provide an example script for this? Thanks in advance.