mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 08:01:27 +00:00
ESX Licensing
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ for i = 48, 57 do table.insert(NumberCharset, string.char(i)) end
|
||||
for i = 65, 90 do table.insert(StringCharset, string.char(i)) end
|
||||
for i = 97, 122 do table.insert(StringCharset, string.char(i)) end
|
||||
|
||||
QBShared.RandomStr = function(length)
|
||||
QBShared.RandomStr = function(length) -- QBShared.RandomStr falls under GPL License here: [esxlicense]/LICENSE
|
||||
if length > 0 then
|
||||
return QBShared.RandomStr(length-1) .. StringCharset[math.random(1, #StringCharset)]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user