Server Scripting Functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(207 intermediate revisions by 63 users not shown)
Line 1: Line 1:
This page lists all the scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]]
<pageclass class="server"></pageclass>
 
{{Adding_Pages_to_Categories_and_Templates}}
Please note that the scripting functions can now be extended by loading in dynamic modules that provide new functionality, such as MySQL database access. These scripting functions are non-native and require the module to be loaded in order to work.
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 [https://github.com/multitheftauto/mtasa-blue/issues our GitHub repository.]
 
Head over to [[Module functions]] for a list of non-native functions and modules that are available.
 
==Incomplete/Malfunctioning Functions==
*Incomplete Function List: [[:Category:Incomplete]] | [[:Category:Needs Checking]] | [[:Category:Check works as specified]]
 
''Note: To put a function on any of these lists, paste the following onto the page (case sensitive):''
 
<nowiki>[[Category:CATEGORYHERE]]</nowiki>
 
[[setPlayerRotation]] - Incomplete/Possibly not functional
 
Should the [[split]] example use getPlayerPosition?
 
playsound function needs sound list - I (Talidan) have found one though i need clarification on how to organise it...need to speak with ChrML
 
Creation functions should have their corresponding XML formats listed on the their page (createVehicle ( ... ) is <vehicle ...>, createRadarArea ( ... ) is <radararea ...>, etc). [[User:Erorr404|Erorr404]]


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|useful functions page]].
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''
__TOC__
==Account functions==
{{Account functions}}
==ACL functions==
{{ACL functions}}
==Admin functions==
{{Admin functions}}
==Audio functions==
==Audio functions==
{{Audio_functions}}
'''Shared'''
{{Audio functions}}


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


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


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


==Client functions==
==Cursor functions==
{{Client functions}}
'''Shared'''
 
{{Cursor functions}}
==Clothes and body functions==
{{Clothes and body 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}}


==Fire functions==
==File functions==
{{Fire_functions}}
'''Shared'''
{{File 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==
'''Shared'''
{{Marker functions}}
{{Marker functions}}


==Matrix functions==
'''Shared'''
{{Matrix functions}}
==Module functions==
{{Module functions}}
==Object functions==
==Object functions==
'''Shared'''
{{Object functions}}
{{Object functions}}


==Output functions==
{{Output functions|server}}
==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==
'''Shared'''
{{Projectile_functions}}


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


==Resource functions==
{{Resource functions|server}}
==Server functions==
==Server functions==
{{Server functions}}
{{Server functions}}
 
==Spawnpoint functions==
==Settings registry functions==
{{Spawnpoint functions}}
{{Settings registry 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==
'''Shared'''
{{UTF8 functions}}
==Vehicle functions==
==Vehicle functions==
{{Vehicle functions}}
{{Vehicle functions|server}}
==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==
'''Shared'''
{{XML functions}}
{{XML functions}}
[[ar:Server Scripting Functions]]
[[de:Server-Seitige Scripting Funktionen]]
[[en:Server Scripting Functions]]
[[es:Funciones_del_Server]]
[[hu:Server Scripting Functions]]
[[pl:Server Scripting Functions]]
[[pt-br:Funções de Scripting do Servidor]]
[[ru:Server Scripting Functions]]
[[tr: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