WARNING: Most of the content on this site is for an older version of Garry's Mod. While a lot of it will still work in the current version of Garry's Mod - it might require some editing. If at all possible you should try to get addons from the Steam Workshop. Just sign in and press subscribe.
Subscribed Workshop addons will download, install and update automatically in game.
Lua coder? $10,000? Check out Official Fretta Gamemode Coding Contest.
Downloads | List All By: Age, Downloads Search:

ULX motdmenu.lua With Web/Easy

Size: 2.19 KB - Uploaded - 580 Downloads (2 this week) - Uploaded by BØuℓξTm@®Â

First time I script .lua, so that give you a look how I script an frist project.

I found 5-6 different motd lua script with some cool different thing, so I decided to integrate all in the simple ULX motdmenu. I really recommend to run the motd by URL and not by the html file motd.txt ... You can put the motd URL in the motd.txt , and that was preferable.

That includes:
-Web motd(4 button customizable, originaly was Google,Youtube,Gmod.org,FacePunch ) + ( 1 button to return on the main motd URL )
-Web Menu (2 button to Open/Close the Web Menu )
-Timer Accept
-Accept say
-Timer Decline kick
-Decline say
-And A LOT of other things.

INTALLATION:
put that in :
SERVER LOCATION\orangebox\garrysmod\lua\ulx\modules\cl

Take a look of all customizable things:

-- MOTD BUTTON SETUP
MainURL = " http://YOUR MAIN MOTD URL.com/"
MotdText = "Message of the Day, made by B0ul3Tm@rc"
AcceptButtonText = "I agree"
AcceptButtonTime = 10
AcceptSay = "I agree to follow the rules"
DeclineButton = true
DeclineButtonText = "I'm noob, kick me"
DeclineSay = "I disagree to follow the rules, the server disconnect me !"
DeclineKickTime = 5
WebButtonText = "Open Web Menu"
CloseWebButtonText = "Close Web Menu"
ReturnButtonText = "Main page"
CloseMotdButtonText = "Close Motd Page"
--Website Setup
Website1ButtonText = "Google"
Website2ButtonText = "Youtube"
Website3ButtonText = "Gmod.org"
Website4ButtonText = "FacePunch"
Website1URL = " http://www.google.com/"
Website2URL = " http://www.youtube.com/"
Website3URL = " http://www.garrysmod.org/"
Website4URL = " http://www.facepunch.com/"
Link to this file:

(Forums)
(HTML)
 
members ( verified), online users, online members (CL)
contact/ feedback / suggestions



Powered by Steam | Facepunch Studios LTD