Fehler
Hallo,
Irgendwelche Idee, diese zu lösen? < Br /> Danke < /p>
Code: Select all
local function getBoundaryFunc(bfn, bid)
return function(fn, ...)
local boundary = bid
if not boundary then
boundary = boundaryIdx + 1
boundaryIdx = boundary
end
bfn(boundary, coroutine_running())
local wrap = function(...)
dummyUseBoundary(boundary)
local v = table_pack(fn(...))
return table_unpack(v)
end
local v = table_pack(wrap(...))
bfn(boundary, nil)
return table_unpack(v)
end
end
local runWithBoundaryStart = getBoundaryFunc(Citizen.SubmitBoundaryStart)
local runWithBoundaryEnd = getBoundaryFunc(Citizen.SubmitBoundaryEnd)