Initial commit

This commit is contained in:
Jacob
2021-12-03 01:05:09 +00:00
commit c1add166a1
3511 changed files with 463300 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
--================================--
-- FIRE SCRIPT v1.6.3 --
-- by GIMI (+ foregz, Albo1125) --
-- License: GNU GPL 3.0 --
--================================--
-- Chat
function sendMessage(text)
TriggerEvent(
"chat:addMessage",
{
templateId = "firescript",
args = {
"FireScript v1.7.4",
text
}
}
)
end
-- Table functions
function countElements(table)
local count = 0
if type(table) == "table" then
for k, v in pairs(table) do
count = count + 1
end
end
return count
end