|
4 | 4 |
|
5 | 5 | *amx* is a software package that allows the execution of unmodified San
|
6 | 6 | Andreas: Multiplayer 0.3.7 gamemodes, filterscripts and plugins on Multi
|
7 |
| -Theft Auto: San Andreas 1.5.8 and higher servers. It is open source, and [**a prebuilt |
| 7 | +Theft Auto: San Andreas 1.6 and higher servers. It is open source, and [**a prebuilt |
8 | 8 | binary for Windows is available for testing purposes right now**](https://github.com/multitheftauto/amx/releases).
|
9 | 9 |
|
10 | 10 | - [License](#license)
|
@@ -86,12 +86,19 @@ features:
|
86 | 86 | ## Installation
|
87 | 87 |
|
88 | 88 | *amx* consists of a binary server module (.dll/.so) and a Lua resource.
|
89 |
| -It will only run on MTA:SA 1.0 and later. Installation steps are lined |
| 89 | +It will only run on MTA:SA 1.6 and later. Installation steps are lined |
90 | 90 | out below.
|
91 | 91 |
|
92 | 92 | ### Extracting
|
93 | 93 |
|
94 |
| -Extract the "mods" folder into your MTA "server" directory. |
| 94 | +- All needed binary files are in the archive provided on Releases |
| 95 | + page. Unpack amx.zip and extract the `mods` folder into your MTA |
| 96 | + `server` directory. |
| 97 | + |
| 98 | +- `amx` folder located in mods/deathmatch/resources is a place for the |
| 99 | + mentioned Lua resources. It will be empty at this point, so you need |
| 100 | + to copy all the latest files of `amx` folder from this repository |
| 101 | + into your `amx` folder. |
95 | 102 |
|
96 | 103 | ### Configuration
|
97 | 104 |
|
@@ -125,13 +132,16 @@ Extract the "mods" folder into your MTA "server" directory.
|
125 | 132 |
|
126 | 133 | The following rights are used for the following purposes:
|
127 | 134 |
|
128 |
| - - `general.ModifyOtherObjects`: to access files of `amx-*` |
129 |
| - resources |
| 135 | + - `general.ModifyOtherObjects`: |
| 136 | + - to access files of `amx-*` resources |
130 | 137 | - `function.startResource` \
|
131 | 138 | `function.stopResource` \
|
132 | 139 | `function.restartResource`:
|
133 | 140 | - to automatically (re)start filterscripts when `amx` starts
|
134 | 141 | - for rcon
|
| 142 | + - `function.getServerPassword` \ |
| 143 | + `function.setServerPassword`: |
| 144 | + - for rcon |
135 | 145 |
|
136 | 146 | ### Migrating gamemodes, filterscripts, plugins from an SA-MP server
|
137 | 147 |
|
@@ -179,7 +189,7 @@ Information about this is lined out below.
|
179 | 189 |
|
180 | 190 | - In SA-MP, there is one folder that contains all gamemodes and
|
181 | 191 | another that contains all filterscripts. In MTA, it is the
|
182 |
| - convention to create a separate resource (i.e. folder) for each |
| 192 | + convention to create a separate resource (i.e. folder) for each |
183 | 193 | gamemode. *amx* follows the MTA convention for better integration,
|
184 | 194 | which means that a resource needs to be created for each gamemode
|
185 | 195 | and filterscript. The naming convention for these is amx-*name* for
|
@@ -250,7 +260,7 @@ Information about this is lined out below.
|
250 | 260 |
|
251 | 261 | ## Running gamemodes and filterscripts
|
252 | 262 |
|
253 |
| -Before you can run sa-mp modes or filterscripts, you need to start the |
| 263 | +Before you can run SA-MP modes or filterscripts, you need to start the |
254 | 264 | *amx* resource. Type this command in the server console or as admin in
|
255 | 265 | the ingame console:
|
256 | 266 |
|
@@ -378,7 +388,7 @@ amxRegisterPawnPrototypes(prototypes);
|
378 | 388 | native amxVersion ( &Float:ver );
|
379 | 389 | ```
|
380 | 390 |
|
381 |
| -Retrieves the *amx* version as a floating point number, e.g. `1.3`. |
| 391 | +Retrieves the *amx* version as a floating point number, e.g. `1.3`. |
382 | 392 |
|
383 | 393 | ### amxVersionString
|
384 | 394 |
|
@@ -523,7 +533,7 @@ with [amxRegisterLuaPrototypes](#amxRegisterLuaPrototypes). Both
|
523 | 533 | functions associate a number of function names with their argument types
|
524 | 534 | and (optionally) return type. To specify a return type, prepend the
|
525 | 535 | function name with the type letter followed by a colon (:), for example:
|
526 |
| -`f:testfn`. If you do not specify a return type (i.e. only specify the |
| 536 | +`f:testfn`. If you do not specify a return type (i.e. only specify the |
527 | 537 | name, `testfn`), "i" will be assumed.
|
528 | 538 |
|
529 | 539 | See the syntax sections of the two registration functions for the
|
@@ -666,16 +676,11 @@ is perfect. Below is a list of limitations that may or may not be
|
666 | 676 | addressed in later versions of *amx* and Multi Theft Auto.
|
667 | 677 |
|
668 | 678 | - The following scripting functions are currently not implemented and
|
669 |
| - will have no effect when called: AllowAdminTeleport, |
670 |
| - AllowInteriorWeapons, AllowPlayerTeleport, |
671 |
| - DisableInteriorEnterExits, EnableStuntBonusForAll, |
672 |
| - EnableStuntBonusForPlayer, EnableTirePopping (tire popping is always |
673 |
| - on), EnableZoneNames, LimitGlobalChatRadius, PlayerPlaySound, |
674 |
| - SendDeathMessage (use the "killmessages" resource on your server |
675 |
| - instead for graphical death messages), SetDeathDropAmount, |
676 |
| - SetDisabledWeapons, SetEchoDestination, SetNameTagDrawDistance, |
677 |
| - SetPlayerDisabledWeapons, SetTeamCount, SetVehicleNumberPlate, |
678 |
| - ShowPlayerNameTagForPlayer, TextDrawSetProportional, |
| 679 | + will have no effect when called: DisableInteriorEnterExits, |
| 680 | + EnableStuntBonusForAll, EnableStuntBonusForPlayer, EnableTirePopping |
| 681 | + (tire popping is always on), PlayerPlaySound, SendDeathMessage (use |
| 682 | + the "killmessages" resource on your server instead for graphical |
| 683 | + death messages), SetNameTagDrawDistance, TextDrawSetProportional, |
679 | 684 | UsePlayerPedAnims.
|
680 | 685 |
|
681 | 686 | ## Credits
|
|
0 commit comments