10 lines
175 B
Lua
10 lines
175 B
Lua
|
|
||
|
local UUID_chars = "0123456789ABCDEF"
|
||
|
|
||
|
function UUID_generate()
|
||
|
local str = ""
|
||
|
for i=1, 8 do
|
||
|
str = str .. UUID_chars[ math.random( 1, #UUID_chars ) ]
|
||
|
end
|
||
|
return str
|
||
|
end
|