Community Forum

External LUA libraries

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created09.07.2020 09:53


ashchennikov 09.07.2020 09:53
Hi,
is it possible to call functions from external Lua libraries? I try to use LuaFileSystem but get an error "attempt to call global "require": a nil value".

Bilbo Beutlin (BBeutlin) 10.07.2020 06:54
No - the FS LUA engine works in a sandbox and doesn't have permission to interact with external programs, even not with system I/O.
And this is fine - else it was possible to write bad malware code.


Note: Log in to post. Create a new account here.