Server Scripting Functions: Difference between revisions

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


''See page descriptions for directions to modify them.''
''See page descriptions for directions to modify them.''
Someone add pages for these script functions please:
string getCameraMode ( player thePlayer )  --- possible modes "player", "fixed"
float float float getCameraPosition ( player thePlayer )
float float float getCameraRotation ( player thePlayer )
element getCameraTarget ( player thePlayer )
bool setCameraMode ( player thePlayer, string mode ) --- possible modes "player", "fixed"
bool setCameraPosition ( player thePlayer, float x, float y, float z )
bool setCameraRotation ( player thePlayer, float rx, float ry, float rz )
bool setCameraLookAt ( player thePlayer, float x, float y, float z )
bool setCameraTarget ( player thePlayer, element target )
Almost sleeping on my keyboard, sorry for making someone else having to do this, but I figured this is better than forgotting to add them. - ChrML


==Account functions==
==Account functions==

Revision as of 03:06, 2 October 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.


Important Reminder: Works in Progress

Check the main page 'works in progress' section. There are other things being developed that need feedback immediately!

Unfinished Functions

See page descriptions for directions to modify them.


Someone add pages for these script functions please: string getCameraMode ( player thePlayer ) --- possible modes "player", "fixed" float float float getCameraPosition ( player thePlayer ) float float float getCameraRotation ( player thePlayer ) element getCameraTarget ( player thePlayer )

bool setCameraMode ( player thePlayer, string mode ) --- possible modes "player", "fixed" bool setCameraPosition ( player thePlayer, float x, float y, float z ) bool setCameraRotation ( player thePlayer, float rx, float ry, float rz ) bool setCameraLookAt ( player thePlayer, float x, float y, float z ) bool setCameraTarget ( player thePlayer, element target )

Almost sleeping on my keyboard, sorry for making someone else having to do this, but I figured this is better than forgotting to add them. - ChrML

Account functions


Audio functions


All Seeing Eye functions

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

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

SQL functions


Team functions


Text functions


Utility functions


Vehicle functions


Weapon functions


World functions


XML functions


Deprecated Functions