Basic Lua Debugging In Garry S Mod Garry S Mod Knowledgebase
Basic Lua Debugging In Garry S Mod Garry S Mod Knowledgebase Learn how to debug and fix some basic lua errors in garry's mod gamemodes, addons, and other mods. Here you will find tutorials, resources and documentation about garry's mod and its lua api. the wiki is a public resource and maintained by facepunch and the community.
Basic Lua Debugging In Garry S Mod Garry S Mod Knowledgebase Introduction to lua scripting for garry's mod servers, including basic syntax, hooks, and examples. Here you will find tutorials, resources and documentation about garry's mod and its lua api. the wiki is a public resource and maintained by facepunch and the community. Putting a debug function everywhere makes the performance a tiny bit worse and the code a bit more unreadable, but helps if you need to quickly debug something after release or on a live server. Basics to mod gmod9 you need a basic understanding of lua language. lua is one of the easiest languages to learn. here are basic things you need to know if you are starting with lua: scripts end with .lua extension you can use any text editor to write lua code you don't need to compile anything.
Basic Lua Debugging In Garry S Mod Garry S Mod Knowledgebase Putting a debug function everywhere makes the performance a tiny bit worse and the code a bit more unreadable, but helps if you need to quickly debug something after release or on a live server. Basics to mod gmod9 you need a basic understanding of lua language. lua is one of the easiest languages to learn. here are basic things you need to know if you are starting with lua: scripts end with .lua extension you can use any text editor to write lua code you don't need to compile anything. To create and edit lua scripts, you need a plain text editor such as notepad. you can use any plain text editor, but you are going to have a hard time if you aren't using one of the many available lua editors, such as sublime text or visual studio code. Using simple commands and other debug facilities, the user can inspect global and local variables, change their values, evaluate expressions, and so on. a line containing only the word cont finishes this function, so that the caller continues its execution. Either using the table constructor, or bracket notation will suffice to tell lua that it's a table. also, note that numerical keys, or string keys beginning with a number will not work using dot notation. You can use any plain text editor, but you are going to have a hard time if you aren't using one of the many available lua editors, such as sublime text or visual studio code.
Comments are closed.