Is this possible to code Node.js and LUA side by side

Is a FiveM project bound to a single programming language ?

I’m quite curious, for example if a team started to develop mainly with LUA (maybe C# also), is this possible to add new scripts / features with Node.js altogether ?

If yes, is there any sample anywhere for learning purpose ?

Thanks in advance

You can just load different languages in the resource manifest but you can’t share variables between iirc

You can use events/exports between resources and runtime though

Oh that’s great actually ! Thanks @TheIndra
Any sample somewhere, so I can check how it’s actually done ?

1 Like

Hmmm from the documentation actually I think I get the picture.

1 Like