Geekob
Chieftain
- Joined
- Apr 30, 2017
- Messages
- 20
I want to make Utils file for some utility functions, but I cant do that for some reason. I used require("..."), include("..") but nothing seems to work. I included that Utils.lua into LuaScripts, but console is still crying about not knowing the used function. Am I missing something?
Code:
include ("Utils.lua");
local utils = require("Utils");
...
utils.DoSomething();