πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2017-04-03. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

getfenv workaround for functions

πŸŒ™ LuaUpdated 2 days agoβ€’0 views
You can't getfenv a function directly - the known trick is getfenv(Vector(0)/1) to grab the escaped env, then setfenv your function to it (used for sandbox esca…

Can you getfenv on a function / escape sandbox env

You can't getfenv a function directly - the known trick is getfenv(Vector(0)/1) to grab the escaped env, then setfenv your function to it (used for sandbox escapes).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.