Invoke a function from a different resource

As the title says, is it possible to invoke a function from a different resource? If so how can I achieve that?

Regards,
PhantoM/Dante

You could use trigger events and set up an event handler, or you could use exports.

Thanks for the prompt reply. I will research into that. I’m not that familiar with LUA and I’ve spent too much time on this feature already and I can’t even set this up lol.

Take a look at the parts that talk about triggering events. https://wiki.fivem.net/wiki/Developing

Will do, I’ll make sure to report back.