• Where can I learn to LUA?
    13 replies, posted
Look this is really distracting me I tried to look on gmod wiki and no offense to it's creators but, it's the most useless guide I've seen in my life. What I'm really looking for is a guide that's straight fowards are possibly a viedo explaining how to start making sweps,gamemodes,and all that other shit.
do what i do, download lua files and strip them down and figure out how they work if you wont know what a functions or somthing takes/puts out check it on the wiki and just learn about it.
*cough* [url]http://wiki.garrysmod.com/?title=Lua_Tutorial_Series[/url] Found that pretty helpful. Other than that, I just looked at other people's stuff and generated ideas off of that. For example, the [url=http://www.facepunch.com/showthread.php?t=744197]admin menu[/url] I created started off as a modification of the ASSmod menu (which I hated with a passion) and evolved from there as I got more ideas.
Best Lua tutorial you'll ever find: [url]http://www.lua.org/pil/[/url]
its Lua not LUA. It is a name not an acronym. [quote]Best Lua tutorial you'll ever find: [url]http://www.lua.org/pil/[/url][/quote] That is Lua that is the syntax of Lua that is the basics of Lua read it love it learn it. The wiki for a specific flavor of Lua in which custom commands have been inserted to access C++ code. Lua by itself is a simple language. The Lua on the gmod wiki is just specific things you call or run inside of the real Language of Lua.
[QUOTE=JoeSkylynx;16106518]Look this is really distracting me I tried to look on gmod wiki and no offense to it's creators but, it's the most useless guide I've seen in my life. What I'm really looking for is a guide that's straight fowards are possibly a viedo explaining how to start making sweps,gamemodes,and all that other shit.[/QUOTE] ZOMFGHMFSWMDIAPJITPAREYBBQ Theres One Solution To This Question: GOOGLE IT
SWEP Tutorial ( Link is currently down. ): [url]http://www.fpsbanana.com/tuts/5134[/url] Gamemode Tutorial: [url]http://wiki.garrysmod.com/?title=Simple_Gamemode[/url] All that other shit: [url]http://wiki.garrysmod.com/?title=Lua_Tutorial_Series[/url]
[QUOTE=JoeSkylynx;16106518] ... to Lua ... [/QUOTE] Get out.
[QUOTE=Nevec;16124362]Get out.[/QUOTE] hai guyz can i lern to exp2??
[QUOTE=cloudwolf;16111475]its Lua not LUA. It is a name not an acronym. That is Lua that is the syntax of Lua that is the basics of Lua read it love it learn it. The wiki for a specific flavor of Lua in which custom commands have been inserted to access C++ code. Lua by itself is a simple language. The Lua on the gmod wiki is just specific things you call or run inside of the real Language of Lua.[/QUOTE] Oh god, it isn't even Lua... It's lua.
[QUOTE=Bullet26;16127979]Oh god, it isn't even Lua... It's lua.[/QUOTE] But, you can say Lua if you please. It just means you put a capital letter in the middle of a sentence.
[url]http://www.lua.org/about.html[/url] Need I directly quote the about? or should i just tell you to read the very bottom. again [url]www.lua.org/pil[/url] is your friend
[QUOTE=Jamie932;16128025]But, you can say Lua if you please. It just means you put a capital letter in the middle of a sentence.[/QUOTE] That's like saying if you type "English" with the capital E, it's putting a capital letter in the middle of a sentence. :downsbravo:
[QUOTE=Documentation on lua.org]The official definition of the [b]L[/b]ua language is its reference manual, which describes the syntax and the semantics of [b]L[/b]ua, the standard libraries, and the C API.[/quote] And on a different page of lua.org, [QUOTE][b]L[/b]ua is intended to be used in other people's software, including yours. In most cases, [b]L[/b]ua is simply extended with new functions, and this is exactly what [b]L[/b]ua was designed for. These new functions adapt [b]L[/b]ua to your specific domain. When the time comes to distribute your software two questions may arise: "May I still call the language inside my software [b]L[/b]ua?" and "May I call it something else?". [/quote] Sorry, I trust them more. And for the record, you speak English, the same way other people speak Chinese, German, Spanish, etc.
Sorry, you need to Log In to post a reply to this thread.