Server Scripting Functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
Should the [[split]] example use getPlayerPosition?
Should the [[split]] example use getPlayerPosition?


playsound function needs sound list
playsound function needs sound list - I (Talidan) have found one though i need clarification on how to organise it...need to speak with ChrML
 
get/setEntityPosition are now get/setElementPosition
getPlayerName is now getClientName, though neither seem to work (as of a11.1)
getAdminName and getServerName need to be added


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

Revision as of 14:59, 20 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 - I (Talidan) have found one though i need clarification on how to organise it...need to speak with ChrML

get/setEntityPosition are now get/setElementPosition getPlayerName is now getClientName, though neither seem to work (as of a11.1) getAdminName and getServerName need to be added

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