This commit is contained in:
Kakarot
2025-05-11 19:05:51 -05:00
parent fe3847d591
commit d88d91b9e3
8 changed files with 252 additions and 241 deletions
+4
View File
@@ -21,6 +21,10 @@ function QBCore.Shared.RandomInt(length)
return QBCore.Shared.RandomInt(length - 1) .. NumberCharset[math.random(1, #NumberCharset)]
end
function QBCore.Shared.GetRandomElement(tbl)
return tbl[math.random(1, #tbl)]
end
function QBCore.Shared.SplitStr(str, delimiter)
local result = {}
local from = 1