InvokeNative: execution failed

Hello I have have some problem with the conversion of a script, I don’t undertstand what is my error can someone help me please ?

I call this event server side:
Screenshot_24

And this event call a client event here:
Screenshot_25

Why would it cause this error ?
Screenshot_23

For me everything is correct, I’m getting the variable ‘Tete’ and when I send it to esx_face:setFace, ERROR !! :confused: I’m really lost.

You need to store the source in a local variable outside of the mysql call.

local src = source

TriggerClientEvent("esx_face:setFace", src, Tete)

If you are doing anything asynchronously inside an event handler, you will need to store the source.

1 Like

Thank you for your help Nick now it work perfectly :kissing_heart: