citizenfx/natives

TASK/OpenSequenceTask broken after build 4173

Opened this issue · 1 comments

Hello, after build 4173, OpenSequenceTask stopped working correctly
For comparison, the file generated in build 4172 looks like this:

--- NativeDB Return Type: void
function Global.OpenSequenceTask(taskSequenceId)
	return _in(0xE8854A4326B9E12B, _ii(taskSequenceId) --[[ may be optional ]], _ri)
end

And on the 4173 it's without the "_ri"

function Global.OpenSequenceTask(taskSequenceId)
	return _in(0xE8854A4326B9E12B, _ii(taskSequenceId) --[[ may be optional ]])
end

I noticed that some VOID functions returns that contained "_r" or "_ri" were removed, but this function is an exception since it needs to return value passed by reference.

I apologize but I'm wrong, previously it worked from the second return(like local _, sequenceId = OpenSequenceTask()) and now it returns correctly on the first return(directly local sequenceId = OpenSequenceTask())