Easiest way to learn LUA?

Hey.

What’s the easiest way to learn to code in LUA?

Been wanting to get into coding but had no idea where to start.

Anyone got any suggestions?

There’s no best way, depends on the person, I find the best way is to learn the syntax then try to do something and if you get stuck look at other peoples code who do similar things. Trial and error is the key if you cant get it working dont get discouraged keep working at it

Lua is a fairly logical language, so common sense will make it much easier. The first thing to do is to make sure you’ve got a nice software environment to work with. Personally, i use Notepad++ with the GMod Lua syntax highlighter.

The next thing to do is to look at the [GMod Wiki

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Lua_Tutorial_Series) and other people’s scripts. I also created some tutorial tools a while ago, they are basic tools with fully annotated scripts:
http://www.garrysmod.org/img/?t=dll&id=112803

Hope this helps.

My suggestion is this. First start by figuring out something simple you want to make , like for instance , a simple script that will kill a player once he’s in a vehicle and going over a certain speed.

then start doing more complex things like trying to code an inventory from scratch , my first inventory took me 1 week to make fully functional.

then move onto gamemodes and entities or what ever else suits your fancy.

PS: thefreeman193 is right , notepad++ will help you a LOT.

Thanks guys!

Yeah I already use Notepad++ as it was recommended by a friend a while back.