Ok, so i am pretty new to gmod, but i am not to scripting.
Anyways, i was thinking let my try something out.
So i want to make a basic Clientside only script.
I was on a CSS server once and they had something called “yturl” also known as youtube url.
Basically what it does is if you type:
then it would open it in a small window and it would start playing the youtube url
http://www.youtube.com/watch?v=-_WHAbikzf4 this one then.
I have looked around the wiki and i found this, which i still need to test.
So now i want to know. Is…
What kind of command do i use to check if i typed: “!yturl -_WHAbikzf4”
I was thinking maybe of checking if the console wrote it and then open that and.
Of course i want to be able to close the window without the music stopping.
So the window needs to be “hidden” or 100% see through or something.
Anyways, i am hoping some people can launch me into the right direction.
I hope i gave enough information so you guys can help me out.