• Learning LUA
    2 replies, posted
So, Please could someone teach or help me learn LUA I need a nice and simple thread / topic with a little tutorial to learn basic things like this, Just a basic killing lua code. [QUOTE]function GAMEMODE:PlayerShouldTakeDamage( ply, attacker ) if ( SinglePlayer() ) or GetConVarNumber( "sbox_plpldamage" ) == 1 then return true elseif attacker:IsPlayer() then return false end return true end[/QUOTE]
[url]http://wiki.garrysmod.com/page/Lua[/url] is a good place to start in context of Garry's Mod and [url]http://www.lua.org/pil/#online[/url] for everything in context of the language itself.
[QUOTE=jaooe;38627403][url]http://wiki.garrysmod.com/page/Lua[/url] is a good place to start in context of Garry's Mod and [url]http://www.lua.org/pil/#online[/url] for everything in context of the language itself.[/QUOTE]Thanks, I'm going to try make some good addons onto TTT
Sorry, you need to Log In to post a reply to this thread.