💬

Community answer

Collected from the ACE community Discord archive around 2022-05-26. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Metamethods docs and Lua version in GMod

🌙 LuaUpdated 2 days ago•0 views
GMod uses LuaJIT 5.1 - some metamethods like __close are 5.4-only and won't exist; look in the Lua 5.1 manual for __index/__newindex/__call etc.

Where are metamethod docs (__call, __mul) / which Lua version does GMod use

GMod uses LuaJIT 5.1 - some metamethods like __close are 5.4-only and won't exist; look in the Lua 5.1 manual for __index/__newindex/__call etc.

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.