lua_utils
lua_utils copied to clipboard
A collection of utility Lua scripts usable in conjunction with MTA San Andreas, improving the use of asynchronous and object-oriented scripting
``` Class1 | Class2 (inherits from 1) | Class3 (inherits from 2) | Class4 (inherits from 3) currently: new Class4 => call Class 3 virtual => call Class 2 virtual...
All functions that use `getmetatable` use the previously set metatable instead of the one stored in the Lua registry.
Whenever I try to create a new class object with `enew` of a player element, it throws a warning to the debug log, saying that onElementDestroy event is already being...