Lua is a versatile programming language with a simple syntax. Although many people consider Lua an interpretive language this is incorrect as Lua compiles its scripts when they are loaded. Because Lua can easily be embedded into applications, it is frequently used in games, such as World of Warcraft, Far Cry and Baldur's Gate.
Lua is used in Garry's Mod by developers to add new game modes, weapons and other features. However, the Lua engine implemented in Garry's Mod has a few syntactic differences from the original version of Lua.
Garry's Mod Lua Differences
| Name | Lua Standard | C-Syle |
|---|---|---|
| Multi-Line Comments | --[ [ comment ] ] | /* comment */ |
| Single Line Comments | -- comment | // comment |
| And | and | && |
| Or | or | || |
| Not | not | ! |
| Not-Equal | ~= | != |
Lua References
For more information on Lua, visit the offical Lua website and the Wikipedia article.
Garry's Mod LUA News
Garry's Mod LUA Links
-
Lua - GMod Wiki
wiki.garrysmod.com: Most of the articles and references in this Wiki are about applying Lua to Garry's Mod. If you are new to the Lua language, it is recommended that you view ...
-
GMod Wiki
wiki.garrysmod.com: Garry's Mod is a physics sandbox. Unlike regular games there aren't any predefined aims or goals. ... Help and tutorials on coding using Lua in Garry's Mod ...
-
Garry's Mod Lua documentation. (GMOD 10 Lua wiki) - Facepunch
www.facepunch.com: I'm going to learn lua also, if the tuorials help me enough, the gmod 9 tutorials didn't help me at all and i couldn't learn gmod 9 lua, ...
-
Garry's Mod LUA
www.wegame.com: Lua is a versatile programming language with a simple syntax. Although many people consider Lua an interpretive language this...
-
Garry's Mod - Wikipedia, the free encyclopedia
en.wikipedia.org: Most of these can be created using Garry's Mod's implementation of the Lua programming language, which allows users to create their own weapons, entities, ...
Garry's Mod LUA Videos
Garry's Mod LUA Screenshots
Garry's Mod LUA Blogs
-
New tut trailer & Garry's Mod:GoatRP (Early alpha testing #3 ...
www.luafans.com: This is a gamemode im currently working on, and in this video im showing you my new npc's that let's you buy stuff. Close to.
-
Garry's Mod Gamemodes â GoatRP (Early alpha testing #2) â Making ...
www.luafans.com: This is the food making system im working on for the gamemode. Basically you press the ingrediences togheter and make a new.
-
Garry's Mod: rp_goatsburg_v1 alpha test â Dam area â Water going ...
www.luafans.com: Oy! zemogtorrents came with this nice idea to add a dam to the map, with an ocean going on for ever, this is what i've come up.
-
Garry's Mod Pain Pills (L4D) Gun | Lua Fans
www.luafans.com: Took the earliest version of the Dr. Hax gun and modded its lua script so it fired pain pills from L4D and used the Pillz.
-
Garry's Mod Gamemodes â GoatRP Map #2 â rp_goatsburg â The ...
www.luafans.com: This is one of the houses that is located at the rp_goatsburg map. I got the idea for this house after i woke up, it just fell.



