AL Loader

Lua scripts for ReSA Multiplayer

AL Loader (Alyn Lua Loader) is ReSA's own Lua script loader. It runs LuaJIT scripts inside the game on Android, iOS and PC: chat commands, on-screen windows, overlays and helpers for SA-MP and open.mp servers. One script runs the same on every platform.

  • Android
  • iOS
  • PC
  • LuaJIT · Lua 5.1 + ffi + bit
mods/AL Loader/scripts/hello.lua
lua
script_name("Hello")

function main()
  while not isSampAvailable() do wait(100) end
  sampRegisterChatCommand("hello", function(arg)
    sampAddChatMessage("Hello from AL Loader!", -1)
  end)
  wait(-1)
end
Folders

Where scripts live

Everything sits in <game files>/mods/AL Loader/ inside the game files. Manage it from the launcher: Files screen, Mods tab.

FolderWhat goes there
scripts/Your scripts. Every .lua and .luac file here starts with the game.
lib/Bundled libraries (mimgui, samp.events, inicfg, ...). Replaced on updates, so do not edit them.
config/Settings files that scripts save. Created the first time a script saves something.
logs/alloader.log: what the loader did and every script error, with the line number.

A .lua file placed directly in mods/AL Loader/ instead of scripts/ is not loaded. The launcher offers to move it for you.

Reference

API reference

Generated from the loader's own sources: the same reference the launcher carries. The reference text itself is in English.

Loading the reference…

ReSA Multiplayer

An independent multiplayer client for Android, iOS and PC with its own game engine and its own multiplayer engine — it connects to SA-MP and open.mp servers.

ReSA Multiplayer is an independent project. It is not affiliated with, endorsed or sponsored by Rockstar Games, Take-Two Interactive, the SA-MP team or open.mp. It supports SA-MP and open.mp servers; all trademarks belong to their owners.

© 2026 ReSA Multiplayer · all rights reserved · resa-mp.com