forked from TES3MP/CoreScripts
-
Notifications
You must be signed in to change notification settings - Fork 1
Style
magicaldave edited this page Jul 3, 2023
·
1 revision
This is an attempt to standardise the strategies and styles for writing Lua code. By attempting to standardise these strategies/styles, we gain the clean and efficient code that can be easier for people to read and debug.
Page | Explanation |
---|---|
Conditionals | Guidelines and shorthand for writing if statements |
Events | Registering and responding to events |
Functions | Keeping functions readable and simple |
I would personally like to thank Manason, who did the same thing for the FiveM community and what this handbook is based on.
https://manason.github.io/effective-fivem-lua/
- Yvan (Hebi)