How to check if a lua table is a Trigger callback?

Everything is in the title, how to check a lua table to know if it’s a custom FiveM table to trigger a callback ?

… what? There’s no such thing as ‘custom tables’ in FiveM, please be more clear.

1 Like

When functions are passed to a TriggerEvent, I assume they are converted (or lua see it like this) to a callable table. I need to check if it’s the case for a specific table.

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