Everyone knows CLEO. Almost everyone knows about the numerous problems with scripts using CLEO: instability, compatibility issues on different versions, low speed and, as a result, a large load from large-scale modifications, and developers are aware of the complexity and inconvenience of developing in the game's built-in scripting language. Of course, CLEO is a legendary modification that has made a huge contribution to the modding of GTA San Andreas, thanks to which this game is one of the most popular modding games. But the CLEO library is outdated, although it is supported by developers to this day. The scripting engine of the game is also old and has many flaws, and a worthy alternative has not yet existed. Until Moonloader appeared.
Moonloaderis a mod for GTA San Andres that aims to be a complete modern replacement for CLEO.
Moonloader will be useful for both developers and non-developers. Since Lua scripts do not require mandatory compilation, anyone can change the source code of the script with any text editor. For example, you can change the button or command to activate the script without knowing how to program at all and without asking for help. In addition, Moonloader can be loaded into an already running game using any injector, this feature can be useful for those who do not want to keep scripts and the plugin itself in the game directory. It should be mentioned that the stability of Lua scripts is an order of magnitude higher, thanks to the built-in scripting engine and plugin tools, as well as the increased quality of development, which also plays an important role for any user. Moonloader does not depend on the presence of CLEO installed, does not depend on the SA:MP multiplayer modification and the SAMPFUNCS plugin (only scripts that use certain features depend), and it is also compatible with any version of CLEO, SA:MP and SAMPFUNCS. The Lua programming language is one of the most popular scripting languages in the field of game development, and in this regard, there are a huge number of ready-made solutions for certain tasks for it, many ready-made modules on Lua itself, using FFI and in the form of dynamic libraries will help save time looking for a solution. Lua will greatly simplify development and increase its quality and efficiency, while the scripts themselves will work more stable and faster. Due to the fact that Moonloader does not use regular Lua, but LuaJIT, which is widely known for its tremendous performance and incredibly powerful FFI library, you can achieve the best results in implementing the task in the most efficient way.
Developers: FYP, hnnssy, EvgeN 1137
Special thanks to: DK22Pac, MISTER_GONWIK, 4el0ve4ik, EXPORT, Garrus
Installation: Move all files to the root folder with the game.