mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
UUID in global fixed
This commit is contained in:
@@ -73,6 +73,7 @@ function server.clear_callbacks()
|
|||||||
end
|
end
|
||||||
-- converts any value into the uuid the script will use
|
-- converts any value into the uuid the script will use
|
||||||
function server.get_uuid(var)
|
function server.get_uuid(var)
|
||||||
|
local uuid = nil
|
||||||
if type(var) == 'string' then uuid = var
|
if type(var) == 'string' then uuid = var
|
||||||
else uuid = tostring(global.exp_core.uuids()) end
|
else uuid = tostring(global.exp_core.uuids()) end
|
||||||
uuid = string.tohex('uuid'..uuid)
|
uuid = string.tohex('uuid'..uuid)
|
||||||
|
|||||||
Reference in New Issue
Block a user