Categories > Exploiting > Scripts >
Question on require scripts
Posted
What type are require scripts are they like ss or ff like what are they?
Replied
its like dofile
Cancel
Post
Replied
-- my_module.lua
lib = {};
function lib:test()
print('Hello World! From my_module.lua!');
end
return lib;
-- main.lua
lib = require('my_module');
lib:test()
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 2, Total: 2 )
Cancel
Post