Hi,
I’m having a problem with deferrals. If I pass anything in to deferrals.done()
I just get Handshaking...
on my client.
Here is my code:
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)
This is what happends: https://vgy.me/sZbKb9.png
If I pass nothing in to deferrals.done()
I have no problem at all.
Maybe someone can come up with an explanation.
Thanks