Server Scripting Functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:


[[setPlayerRotation]] - Incomplete/Possibly not functional
[[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
playsound function needs sound list - I (Talidan) have found one though i need clarification on how to organise it...need to speak with ChrML
Line 22: Line 20:
Missing functions and events:
Missing functions and events:
*fadeCamera
*fadeCamera
*isPlayerUnderWater
*isPlayerOnGround
*onVehicleStartEnter
*onVehicleStartExit


==Audio functions==
==Audio functions==

Revision as of 11:47, 19 August 2006

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

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.

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

Incomplete/Malfunctioning Functions

Note: To put a function on any of these lists, paste the following onto the page (case sensitive):

[[Category:CATEGORYHERE]]

setPlayerRotation - Incomplete/Possibly not functional

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). Erorr404

Missing functions and events:

  • fadeCamera

Audio functions



Blip functions


Camera functions



Collision shape functions


Client functions

BEFORE VERSION 1.0 :

Clothes and body functions


Element functions



Event functions



Explosion functions


Fire functions


Input functions



Map functions


Marker functions



Object functions



Pickup functions



Player functions



Radar area functions


Scoreboard functions

Template:Scoreboard functions

Server functions


Spawnpoint functions

Template:Spawnpoint functions

Team functions



Text functions


Utility functions



Vehicle functions



Weapon functions



World functions



XML functions