Server Scripting Functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
 
(33 intermediate revisions by 8 users not shown)
Line 4: Line 4:


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.
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.
Head over to [[Modules]] for a list of non-native serverside functions and modules that are available.
 
For more functions, check the [[Useful_Functions|useful functions page]].
For more functions, check the [[Useful_Functions|useful functions page]].
 
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''
__TOC__
__TOC__
 
==Account functions==
==Account functions==
{{Account_functions}}
{{Account functions}}
 
==ACL functions==
==ACL functions==
{{ACL_functions}}
{{ACL functions}}
 
==Admin functions==
==Admin functions==
{{Admin_functions}}
{{Admin functions}}
 
==Audio functions==
==Audio functions==
{{Audio_functions}}
'''Shared'''
{{Audio functions}}


==Announcement functions==
==Announcement functions==
{{Announce_functions}}
{{Announce functions}}
 
==Blip functions==
==Blip functions==
{{Blip_functions}}
'''Shared'''
{{Blip functions}}


==Camera functions==
==Camera functions==
{{Camera_functions}}
'''Shared'''
{{Camera functions}}


==Clothes and body functions==
==Clothes and body functions==
{{Clothes_and_body_functions}}
'''Shared'''
{{Clothes and body functions}}


==Collision shape functions==
==Collision shape functions==
{{Collision_shape_functions}}
'''Shared'''
{{Collision shape functions}}


==Cursor functions==
==Cursor functions==
{{Cursor_functions}}
'''Shared'''
{{Cursor functions}}


==Element functions==
==Element functions==
{{Element_functions}}
{{Element functions|server}}
 
==Event functions==
==Event functions==
{{Event_functions}}
{{Event functions|server}}
 
==Explosion functions==
==Explosion functions==
{{Explosion_functions}}
'''Shared'''
{{Explosion functions}}


==File functions==
==File functions==
{{File_functions}}
'''Shared'''
{{File functions}}


==HTTP functions==
==HTTP functions==
{{HTTP_functions}}
{{HTTP functions}}
 
==Input functions==
==Input functions==
{{Input_functions}}
{{Input functions|server}}
 
==Map functions==
==Map functions==
{{Map_functions}}
{{Map functions}}
 
==Marker functions==
==Marker functions==
{{Marker_functions}}
'''Shared'''
{{Marker functions}}


==Matrix functions==
==Matrix functions==
{{Shared_matrix_functions}}
'''Shared'''
{{Matrix functions}}


==Module functions==
==Module functions==
{{Module_functions}}
{{Module functions}}
 
==Object functions==
==Object functions==
{{Object_functions}}
'''Shared'''
{{Object functions}}


==Output functions==
==Output functions==
{{Output_functions}}
{{Output functions|server}}
 
==Ped functions==
==Ped functions==
{{Ped_functions}}
{{Ped functions|server}}
 
==Pickup functions==
==Pickup functions==
{{Pickup_functions}}
{{Pickup functions|server}}
 
==Player functions==
==Player functions==
{{Player_functions}}
{{Player functions|server}}
 
==Projectile functions==
==Projectile functions==
'''Shared'''
{{Projectile_functions}}
{{Projectile_functions}}


==Radar area functions==
==Radar area functions==
{{Radar_area_functions}}
'''Shared'''
{{Radar functions}}


==Resource functions==
==Resource functions==
{{Resource_functions}}
{{Resource functions|server}}
 
==Server functions==
==Server functions==
{{Server_functions}}
{{Server functions}}
 
==Settings registry functions==
==Settings registry functions==
{{Settings_registry_functions}}
{{Settings registry functions}}
 
==SQL functions==
==SQL functions==
{{SQL_functions}}
{{SQL functions}}
 
==Team functions==
==Team functions==
{{Team_functions}}
{{Team functions|server}}
 
==Text functions==
==Text functions==
{{Text_functions}}
{{Text functions}}
 
==Utility functions==
==Utility functions==
{{Utility_functions}}
{{Utility functions|server}}
 
==UTF8 Library==
==UTF8 Library==
{{UTF8_functions}}
'''Shared'''
 
{{UTF8 functions}}
==Vehicle functions==
==Vehicle functions==
{{Vehicle_functions}}
{{Vehicle functions|server}}
 
==Water functions==
==Water functions==
{{Water_functions}}
'''Shared'''
{{Water functions}}


==Weapon functions==
==Weapon functions==
{{Weapon_functions}}
{{Weapon functions|server}}
 
==World functions==
==World functions==
{{World_functions}}
{{World functions|server}}
 
==XML functions==
==XML functions==
{{XML_functions}}
'''Shared'''
{{XML functions}}


[[ar:Server Scripting Functions]]
[[de:Server-Seitige Scripting Funktionen]]
[[en:Server Scripting Functions]]
[[en:Server Scripting Functions]]
[[ru:Server Scripting Functions]]
[[es:Funciones_del_Server]]
[[hu:Server Scripting Functions]]
[[hu:Server Scripting Functions]]
[[de:Server-Seitige Scripting Funktionen]]
[[es:Funciones_del_Server]]
[[pl:Server Scripting Functions]]
[[pl:Server Scripting Functions]]
[[pt-br:Funções de Scripting do Servidor]]
[[pt-br:Funções de Scripting do Servidor]]
[[ru:Server Scripting Functions]]
[[tr:Server Scripting Functions]]
[[tr:Server Scripting Functions]]
[[ar:Server Scripting Functions]]
[[zh-cn:Server Scripting Functions]]
[[zh-cn:Server Scripting Functions]]

Latest revision as of 22:34, 6 September 2024

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, create an issue in our GitHub repository.

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

Shared



Announcement functions


Blip functions

Shared


Camera functions

Shared



Clothes and body functions

Shared


Collision shape functions

Shared


Cursor functions

Shared



Element functions



Event functions



Explosion functions

Shared


File functions

Shared


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

Shared



Matrix functions

Shared


Module functions


Object functions

Shared



Output functions



Ped functions



Pickup functions



Player functions



Projectile functions

Shared



Radar area functions

Shared


Resource functions



Server functions


Settings registry functions


SQL functions


Team functions



Text functions


Utility functions



UTF8 Library

Shared


Vehicle functions



Water functions

Shared



Weapon functions



World functions



XML functions

Shared