Legacy server incompatible


#1

Hi,

I was playing around with a deferral test script and when I try to connect it says “Legacy servers are incompatible with this version of FiveM”

I have the latest build and when I remove the deferral resource it loads in correctly.

Why would this be? Below is the deferral script. Note: The rejection works i just have it commented out to allow me to enter.

AddEventHandler('playerConnecting', function(name, setCallback, deferrals)
	deferrals.defer()
	
	deferrals.update("Doing a few checks...")
	Wait(2000)

	-- Testing a reject connection
	--deferrals.done("There has been a problem. Try again soon.")
end)

#2

You still need to call deferrals.done to be able to connect, however you need to pass no argument at all.


#3

Ahh, ok. Ill have a go at that.

Thanks


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.