how to print a variable in lua
local var = "Hello World" -- Creates the variable
print(var) -- Prints the variable
4.11
9
-- Nil (no value)
-- Number => Example: 1234567890
-- String => Example: "random text"
-- Function
-- Userdata
-- Boolean (true/fanse)
-- Table
-- Thread
Thank you!
9
0
Are there any code examples left?
New code examples in category Lua