Can someone push me in the right direction and send me some places I can learn lua for GMod?
Look at some tutorials on the Old Garry’s Mod Wiki, or look at some tutorials on the New Garry’s Mod Wiki.
It helps to have an idea of what you want to make too, when you first go into Lua.
Here are some more things to help… Also Notepad++ upgrades to show syntax highlighting, Facepunch fixes to prevent usertitles from stretching the page and other things… All of them together make for an enhanced experience :
Hey, welcome to FacePunch. This forum is for devs that need help working on things. Here are some resources to help you get started:
Problems that don’t need their own thread ( All simple questions / quickies should go here, but please do not post a question here AND make a new topic… ): http://forum.facepunch.com/showthread.php?t=1411111
OLD Problems and Solutions thread ( contains a massive amount of useful data ): http://forum.facepunch.com/showthread.php?t=1348923
Garry’s Mod Wiki: http://wiki.garrysmod.com/page/Main_Page
Old Garry’s Mod Wiki ( Contains a lot of useful information; some content may not work without modification within GM13 ): http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index4875.html
DarkRP Help Thread ( ALL DarkRP Questions go here ): http://forum.facepunch.com/showthread.php?t=1249475
DarkRP Wiki ( Most questions can be answered here ): http://wiki.darkrp.com/index.php/Main_Page
Creating Jobs in DarkRP: http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Creating Shipments in DarkRP: http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields
Looking to HIRE a coder? Read this: http://forum.facepunch.com/showthread.php?t=1257110 and visit http://www.coderhire.com
Coderhire Thread: http://forum.facepunch.com/showthread.php?t=1281665
Facepunch Style Fixer for GreaseMonkey: https://userstyles.org/styles/65192/facepunch-fixer
Or the updated Faceraper: http://www.facepunch.com/showthread.php?t=1314761
How to install the Syntax Highlighting XML:
https://dl.dropboxusercontent.com/u/26074909/_dev_tools/notepadpp_highlighting/installing_gmod_lua_text_highlighting.lua.html
Garry’s Mod Notepad++ Lua Syntax Highlighting:
https://dl.dropboxusercontent.com/u/26074909/_dev_tools/notepadpp_highlighting/GmodLua.xml
If you want other nice features, replace these in the %appdata%
otepad++ config or plugin dir:
This adds DarkRP wiki search, Old and new Garry’s Mod Wiki search, and a macro called Trim trailing and save ( removes blank space at end of line and saves file; super useful )
https://dl.dropboxusercontent.com/u/26074909/_dev_tools/shortcuts.xml
This edits to add default Lua syntax highlighting built-in
https://dl.dropboxusercontent.com/u/26074909/_dev_tools/functionList.xml
This changes the right-click menu to be useful ( for my purpose, but it is easy to change )…
https://dl.dropboxusercontent.com/u/26074909/_dev_tools/contextMenu.xml
> denotes sub-menu / menu open with tab-indent to show contents and de-dent to go back to parent
Right click >
Save [ Trim Trailing ]
Export to HTML
--------------------
Reload File
Open Current Files' Folder
--------------------
Garry's Mod Wiki Search
Garry's Mod Old Wiki Search
Garry's Mod DarkRP Wiki Search
Search Google
--------------------
Edit >
Cut
Copy
Paste
Delete
--------------------
Select ALL
--------------------
UPPERCASE
lowercase
--------------------
Hide Lines
--------------------
Text Highlighting >
Clear All Styles
--------------------
Using 1st Style
Using 2nd Style
Using 3rd Style
Using 4th Style
Using 5th Style
--------------------
Clear 1st Style
Clear 2nd Style
Clear 3rd Style
Clear 4th Style
Clear 5th Style
--------------------
Plugin Commands >
Open Color Picker
--------------------
Base64 Encode
Base64 Decode
--------------------
ASCII -> HEX
HEX -> ASCII
--------------------
Open Plugin Manager
--------------------