This is a simple addon that is easy to install and edit. When someone types in a command it sends them to a link. It also has a function to say in chat when somone types the command for instance if i where to type in chat !website it would say in blue text Stan has opened the website with !website Obiously this is editable. Enjoy
Read the install.txt
Watch it here: [URL="https://www.youtube.com/watch?v=lDUIx1d1RwM"]https://www.youtube.com/watch?v=lDUIx1d1RwM[/URL]
Download: [URL="http://www.mediafire.com/download/zfagbsd5dvw5qms/Addon.rar"]http://www.mediafire.com/download/zfagbsd5dvw5qms/Addon.rar[/URL]
Enjoy Stan
[url]https://wiki.garrysmod.com/page/GM/PlayerSay[/url]
[url]https://wiki.garrysmod.com/page/gui/OpenURL[/url]
[url]https://wiki.garrysmod.com/page/chat/AddText[/url]
Oops did I leak ur code ;0
[highlight](User was banned for this post ("Threadshitting again" - postal))[/highlight]
Ok
[editline]12th August 2016[/editline]
What ever you say
[editline]12th August 2016[/editline]
it was just a test so what ever
[QUOTE=Appledevdude;50874596][url]https://wiki.garrysmod.com/page/GM/PlayerSay[/url]
[url]https://wiki.garrysmod.com/page/gui/OpenURL[/url]
[url]https://wiki.garrysmod.com/page/chat/AddText[/url]
Oops did I leak ur code ;0[/QUOTE]
No need to be a dick.
In the future OP I would keep releasing code to bigger projects.
[t]https://i.gyazo.com/5909c684afa9cc17a3291acdb99d4255.png[/t]
You should fix that.
[QUOTE=Nookyava;50875242]No need to be a dick.
In the future OP I would keep releasing code to bigger projects.[/QUOTE]
Thank You
[editline]13th August 2016[/editline]
[QUOTE=Jiwer;50875314][t]https://i.gyazo.com/5909c684afa9cc17a3291acdb99d4255.png[/t]
You should fix that.[/QUOTE]
Fixed
[QUOTE=Appledevdude;50874596][url]https://wiki.garrysmod.com/page/GM/PlayerSay[/url]
[url]https://wiki.garrysmod.com/page/gui/OpenURL[/url]
[url]https://wiki.garrysmod.com/page/chat/AddText[/url]
Oops did I leak ur code ;0[/QUOTE]
No need to be an asshole about someone's early projects.
[QUOTE=MissZoey;50875718]No need to be an asshole about someone's early projects.[/QUOTE]
Thank you
Why do people insist on adding horrible music to their videos...
I had to close it, please remove the music altogether.
[QUOTE=The Commander;50876184]Why do people insist on adding horrible music to their videos...
I had to close it, please remove the music altogether.[/QUOTE]
My First pretty good music got copyrighted so i had to use youtubes music Sorry
[QUOTE=Stan369;50876222]My First pretty good music got copyrighted so i had to use youtubes music Sorry[/QUOTE]
Next time dont use any music at all, and use just voice. If you dont wanna use your voice, then just dont make a video at all/make a quiet(but professional looking) video, there are some out there, wich a good, and have a smooth movement to show all features of their product.
[QUOTE=whitestar;50879215]Next time dont use any music at all, and use just voice. If you dont wanna use your voice, then just dont make a video at all/make a quiet(but professional looking) video, there are some out there, wich a good, and have a smooth movement to show all features of their product.[/QUOTE]
Ok
[QUOTE=The Commander;50876184]Why do people insist on adding horrible music to their videos...
I had to close it, please remove the music altogether.[/QUOTE]
god forbid clicking the mute button :goodjob:
I suggest using github rather than mediafire, that way people can view your code. Also, all you did was post something you found on a github or even on this forum.
For example, I posted this to my github over a year ago. [url]https://github.com/SubjectAlpha/Small-Scripts/blob/master/lua/autorun/server/donatecommand.lua[/url]
Yes, the difference between the two is he added an arbitrary chat print that tells everyone that someone decided to check the rules.
Yeah I agree use github.. also make a command table something that people can easily add commands! You can do something like this
[code]
Myfancytable = {}
Myfancytable.Command1 = {"!website", "www.google.com}
Myfancytable.Command2 = {"!donate", "www.google.com}
[/code]
Then just loop through the table and ask if the text is the command and then run the website
[editline]14th August 2016[/editline]
[QUOTE=whitestar;50879215]Next time dont use any music at all, and use just voice. If you dont wanna use your voice, then just dont make a video at all/make a quiet(but professional looking) video, there are some out there, wich a good, and have a smooth movement to show all features of their product.[/QUOTE]
Use big man Tyrone :)
[QUOTE=XxLMM13xXx;50882627]Yeah I agree use github.. also make a command table something that people can easily add commands! You can do something like this
[code]
Myfancytable = {}
Myfancytable.Command1 = {"!website", "www.google.com}
Myfancytable.Command2 = {"!donate", "www.google.com}
[/code]
Then just loop through the table and ask if the text is the command and then run the website
[editline]14th August 2016[/editline]
Use big man Tyrone :)[/QUOTE]
You didn't properly close your strings.
That also seems like a pretty roundabout way of doing it, just set the key as the command, and the value as the website you want.
[QUOTE=Nookyava;50882703]You didn't properly close your strings.
That also seems like a pretty roundabout way of doing it, just set the key as the command, and the value as the website you want.[/QUOTE]
i was on my phone sorry but yeah just a simple way
Sorry, you need to Log In to post a reply to this thread.