-
Notifications
You must be signed in to change notification settings - Fork 8
README.md (draft)
amx is a software package that allows the execution of unmodified San Andreas: Multiplayer 0.3.7 gamemodes, filterscripts and plugins on Multi Theft Auto: San Andreas 1.6 and higher servers. It is open source, and a prebuilt binary for Windows is available for testing purposes right now.
The installation guide available here.
Compatibility is quite high:
- Almost all SA-MP scripting functions and callbacks are implemented.
-
Database functions (
db_*
) are implemented. - SA-MP server plugins work unmodified.
- SA-MP style rcon commands are available from the server console and the ingame console.
See issues for a list of features that are currently missing.
Apart from being compatible, amx also offers a number of extra features:
-
New native scripting functions (You can check it here)
-
In addition to these new native functions, gamemodes run in amx can also call Lua scripts. Lua scripts can in turn call public Pawn functions.
Using Lua not only gives you access to the wide range of MTA functions that offer a lot of functionality that SA-MP doesn't have, but also allows you to write code in a much more comfortable and efficient fashion than Pawn. For example, while Pawn is a subset of C and requires you to create a temporary buffer and call one or more functions to concatenate strings, you can simply do
str1 = str2 .. str3
in Lua. -
You can load plugins dynamically, while the server is running. Use the
loadplugin
console command for this.
amx was developed by arc_. Special thanks go out to all contributors.
Additional thanks to everyone who tested or participated in group tests during the initial development, particularly MeKorea.