Pivity

MemeMarket MOTD - Free MOTD addon

Last read Never
#1

I made this while messing around with lua, its a motd windows with browsers and extra tabs for a store and forum also has a minimize function if you want to put on a video and have it running in the background. The motd is scalable and movable. if you want to use youtube on this browser you will need to use the chromium branch of gmod as that has a newer and more suitable browser. 

Default con command is "MOTD" this can be changed at the bottom

if you do use this addon the only thing i ask of you is to not say you made it and not to sell it to people .

To add chat commands add this to the bottom of the, lua. just in case some people dont know

hook.Add( "OnPlayerChat", "OpenLogs", function( _, text )if ( text == "!rules"or text == "/rules" ) then

   RunConsoleCommand( "MOTD" )

  end

end )

If you want it to auto run go on https://mememarket.co.uk/Browser/ and download the MOTD.zip file put the addon into GarrysMod\garrysmod\addons

if you have a ulx motd goto ULX\lua\ulx\modules\cl\motdmenu.lua and put ulx.motdmenu_exists as false

Ik its the wrong "your" on my site i need to get around to fixing it


Link to the LUA -- https://mememarket.co.uk/Browser/web.lua

If you dont trust my site -- https://garrysmods.org/download/61841/mememarket-motd-extra

Friendly x 3
#2

I'd reccomend you get rid of the global function

function lower()

end

at the bottom as that could possibly and most probably cause issues. Saying that the main function should be localised too, probably wouldn't cause as much conflict but it's best practice. If you haven't already you should try putting free things on garrysmod.org as it's likely to gain some traction there too! Keep it up!

Agree x 3
#3

thx for the suggestion will do

  1. edit the function was left over from a different tab system
Friendly x 2
#4

Nice to see you playing about with lua 🙂

Creative x 1
#5

sheeet haven seen you in years fuck man, dm me some time

Friendly x 1
Users viewing this thread
Nobody