
Events - track such events like starting new game, window messages, quitting game, stopping script, etc.Compatible With SA-MP - MoonLoader is meant to be compatible with both sigleplayer game and SA-MP.No Dependencies - the only two things are required is installed ASI Loader and version 1.0US of GTA: San Andreas.If CLEO-script dies because of an error then the whole game dies, but if Lua-script dies due to an error, it just prints the error to the log and stops script execution Error Handling - MoonLoader handles as many errors as it can.
Compilation is not Necessary - scripts can be compiled but it's not required, and if the script is open source every user can edit it without any preparation. Script Management - script management system allows to obtain information about scripts and manipulate scripts execution. And, as everyone knows, all this is an integral part of gamemodding FFI - FFI is an embedded library in LuaJIT, it provides direct interface between Lua and process memory and gives ability to directly call functions in memory, access data structures, pass Lua-functions to memory and even write on Assembly with DynASM from pure Lua. MoonLoader uses LuaJIT - a just-in-time compiler for Lua and the fastest scripting engine. No programming limits (compared to SCM). Great community - lots and lots ready-made solutions, almost every programming universal objective is solved. Very easy to learn - despite it is a simple language there are a lot of tutorials, guides, books, courses and answered questions. Lua is one of the most popular scripting languages, it has huge community, Lua is very widely used in game development, it's very simple but also very flexible programming language. Lua Programming Language - the heart of MoonLoader. It is still a young modification and hasn't yet spread widely, but there are some scripts already made, and it aims to become the complete modern CLEO replacement! MoonLoader provides to developers extensive functionality for modding, it includes all familiar capabilities that CLEO has, and also combines many new features that were not previously available together in any GTA: SA modding framework.
With Lua scripts you can change some game aspects, expand gameplay and add new features. MoonLoader is a modification for GTA: San Andreas that brings new ability to use Lua scripts made by mods creators.