amx
amx copied to clipboard
MTA AMX compatibility layer.
There aren't ways "from the box" for working with objects like in SAMP The functions which working with objects: https://wiki.sa-mp.com/wiki/EditObject https://wiki.sa-mp.com/wiki/EditPlayerObject https://wiki.sa-mp.com/wiki/EditAttachedObject https://wiki.sa-mp.com/wiki/SelectObject https://wiki.sa-mp.com/wiki/CancelEdit
Pawn is the language with many static statements. So it has prototypes of the functions. I suggest to make a test software for a theoretical compatibility. How you can do...
https://github.com/multitheftauto/amx/blob/3330655c1c388adc4e97ec365cbb9b644a99445e/amx/client/garages.lua It should use a colshape, as shown here in the [setGarageOpen](https://wiki.multitheftauto.com/wiki/SetGarageOpen) example. Could generate colshape based on [garage size](https://wiki.multitheftauto.com/wiki/GetGarageSize), but it might be easier to use a [colsphere](https://wiki.multitheftauto.com/wiki/CreateColSphere) +...