Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local APITable = {}
- function APILoader(...)
- param = {...}
- for i = 1, #param, 1 do
- if not os.loadAPI(param[i]) then
- error("Could not load API: "..tostring(param[i]))
- else
- apiTable[i] = param[i]
- end
- end
- end
- APITable[1].someFunction()
Advertisement
Add Comment
Please, Sign In to add comment