• [LUA Scripting Issue] Server values.
    2 replies, posted
Hello there! I don't know if somebody will read this since nobody awnsered my last post, but well, here I go... I would like to do server values, for when the server starts, it sets an amount of values JUST for the server, like in RP would be taxes, max amount of something, etc.
I don't get what you need. Are you talking about convars or just general variables? In either way you should go read the gmod wiki tutorials for gmod-related topics, and the Lua PIL for an overview of how to program in Lua (this includes variables and pretty much everything else) [url]http://wiki.garrysmod.com/page/Beginner_Tutorial_Intro[/url] [url]http://www.lua.org/pil/contents.html[/url] (somewhat outdated, but it's more than enough) [url]http://wiki.garrysmod.com/page/Category:Modding_Tutorials[/url] Nobody is going to teach you something that is the basis of programming in Lua - you're supposed to do that research yourself.
[QUOTE=typedef state;39781834]I don't get what you need. Are you talking about convars or just general variables? In either way you should go read the gmod wiki tutorials for gmod-related topics, and the Lua PIL for an overview of how to program in Lua (this includes variables and pretty much everything else) [url]http://wiki.garrysmod.com/page/Beginner_Tutorial_Intro[/url] [url]http://www.lua.org/pil/contents.html[/url] (somewhat outdated, but it's more than enough) [url]http://wiki.garrysmod.com/page/Category:Modding_Tutorials[/url] Nobody is going to teach you something that is the basis of programming in Lua - you're supposed to do that research yourself.[/QUOTE] Ok, gonna check that out.
Sorry, you need to Log In to post a reply to this thread.