I have utils.lua in resource element
my-resource/shop/utils.lua
and
i call export getData in my-resource/__resource.lua
but i got error unable to find getData in my-resource
I have utils.lua in resource element
my-resource/shop/utils.lua
and
i call export getData in my-resource/__resource.lua
but i got error unable to find getData in my-resource
Export are a pain in the ass, I recommend using events instead:
https://docs.fivem.net/scripting-manual/working-with-events/