[Help] Add global file

I have recently encountered a problem with import global file.

There is an example what I did :

resources
	|
	|_ [memory]
		|
		|_ [core]
		|	|
		|	|_ m_gui_lua
		|		|
		|		|_ __resource.lua
		|		|_ ...
		|		
		|
		|_ [files]
			|
			|_ keys.lua

I import keys.lua in m_gui_lua with : ‘…/[files]/keys.lua’

But this doesn’t work anymore for me.

How should I do it ?

Try this

"@resourcename/keys.lua"

But keys.lua need to be in a resource then

1 Like

Thanks for the quick answer. Works fine for me. But where did you find this solution ?