Adaptive Cards in deferrals

Originally published at: https://cookbook.fivem.net/2019/06/29/adaptive-cards-in-deferrals/

We’ll be writing some more documentation on this soon, but the latest server version (combined with the canary client at this time – no prod yet!) supports presenting Adaptive Cards to clients during deferrals. Here’s a quick code sample: AddEventHandler(‘playerConnecting’, function(name, skr, d) d.defer() Wait(50) – badly serialized JSON in a string, from the Adaptive…

6 Likes