Learn LUA
Lua is a lightweight, embeddable scripting language commonly used inside games and applications — including RedM and FiveM multiplayer game servers — to script behavior without recompiling the host program. It is a practical choice for anyone who wants to script or mod an existing game or engine rather than build an app from scratch.
What this path covers
25 chapters, in reading order: values and syntax, control flow, functions, collections, objects, error handling, and a small combined project, followed by intermediate topics (debugging, files, APIs, async, project structure, state) and advanced topics (architecture, testing, security, performance, deployment, and a full real-project walkthrough).
Start here
LUA foundations — The mental model for reading a program: values, statements, output, and program flow.
Full chapter list
- LUA foundationsBeginner
- LUA syntax and data typesBeginner
- LUA variables and valuesBeginner
- LUA operators and expressionsBeginner
- LUA conditions and decisionsBeginner
- LUA loops and repetitionBeginner
- LUA functions and reusable logicBeginner
- LUA arrays, lists, maps, and setsBeginner
- LUA objects and classesBeginner
- LUA error handling and debuggingBeginner
- LUA basic projectBeginner
- LUA debugging step by stepIntermediate
- LUA files, JSON, and local dataIntermediate
- LUA APIs and HTTPIntermediate
- LUA async programmingIntermediate
- LUA project structure and modulesIntermediate
- LUA state managementIntermediate
- LUA best practices and clean codeIntermediate
- LUA software architectureAdvanced
- LUA testing behaviorAdvanced
- LUA security foundationsAdvanced
- LUA performance and measurementAdvanced
- LUA deployment and releaseAdvanced
- LUA real project walkthroughAdvanced
- LUA real-world patterns and advanced conceptsAdvanced