Server Scripting Functions: Difference between revisions

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


playsound function needs sound list
playsound function needs sound list
Does 'getPlayerTeam ( player )' exist? It is mentioned in the destroyTeam example but not documented.


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

Revision as of 08:48, 5 July 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

Should the split example use getPlayerPosition?

playsound function needs sound list

Audio functions


Blip functions


Collision shape functions


Element functions


Entity functions

Template:Entity functions

Event functions


Explosion functions


Fire functions

Template: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