ZH-CN/服务端脚本函数

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Contributors: Did you create a page but it's not on this list? Confused? Read: Adding Pages to Categories and Templates

This page lists all the server-side scripting functions that have been implemented and are available as native functions. To request a function or event, use Requested Functions and Events or http://bugs.mtasa.com.

Please note that the scripting functions can also be extended by loading in dynamic modules that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.

Head over to Modules for a list of non-native serverside functions and modules that are available.

For more functions, check the useful functions page.

Client-side scripting functions can be found here: Client Scripting Functions.

Account functions


ACL functions


Admin functions


Audio functions


Announcement functions


Blip functions


Camera functions


Collision shape functions

ADDED/UPDATED IN VERSION 1.5.8 r20807:
ADDED/UPDATED IN VERSION 1.5.8 r20807:


Clothes and body functions


Cursor functions


Element functions


Event functions


Explosion functions


File functions


HTTP functions

These functions can only be used from within lua blocks in HTML pages hosted by the server


Input functions


Map functions


Marker functions


Matrix functions


Module functions


Object functions


Ped functions


Pickup functions


Player functions


Radar area functions


Resource functions

ADDED/UPDATED IN VERSION 1.5.7 r20468:


Server functions

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20788):
* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20788):


Settings registry functions


SQL functions


Team functions


Text functions


Utility functions


UTF8 Library


Vehicle functions

* UPDATED IN VERSION 1.5.9 (BETA: 1.5.8 r20693):


Water functions


Weapon functions


World functions

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20718):
* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20718):


XML functions