Advertisement
CFDatabase

ACTINIUM-Loader

Mar 9th, 2016
1,786
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local Proxy =newproxy(true) --Userdata
  2. local Meta  =getmetatable(Proxy) -- table
  3. local OldEnv=getfenv()
  4. local OxEnv;
  5. function Meta:__tostring() -- Breaks into oxsb
  6.     OxEnv   =getfenv(3)    -- Returns OxEnv ( OxEnv.require() == "require not white listed assetId" ) meaning theres a forth env
  7.     return "Got OxEnv"
  8. end
  9. print(Proxy, Meta)
  10. table.foreach(OxEnv, print)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement