create a function lua code example
Example 1: lua function
--// Basic Function
function PrintingText()
print("My text here")
end
PrintingText()
Example 2: lua function syntax
function name (parameters)
--code
end
--// Basic Function
function PrintingText()
print("My text here")
end
PrintingText()
function name (parameters)
--code
end