lua variables
local NumberVariable = 1
local StringVariable = "TextHere"
local BooleanVariable = true --// can also do false
lua variables
local NumberVariable = 1
local StringVariable = "TextHere"
local BooleanVariable = true --// can also do false
lua variable
-- Private Variable
local name1 = "John"
-- Public Variable
name2 = "Jane"
print(name1)
print(name2)
global variables lua
--[[
Global variables don't need a declaration like "local." Instead, you'd just
write like this:
]]--
variable = --value
--[[
Note, you don't always have to even assign a value to a variable. You can
use it for the first time and get a value of "nil" which you can update later.
]]--
Lua variable
-- Variables are global by default:
globalVariable = 10
-- To make a variable local:
local localVariable = 20
lua variables
-- Nil (no value)
-- Number => Example: 1234567890
-- String => Example: "random text"
-- Function
-- Userdata
-- Boolean (true/fanse)
-- Table
-- Thread
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us