Server Scripting Events: Difference between revisions

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


This is a list of scripting events that currently exist. More will come soon.
This is a list of scripting events that currently exist. More will come soon.
void [[onMapLoad]] ( string name, [[element]] root )
void [[onMapUnload]] ()
void [[onMarkerHit]] ( [[player]] hitplayer )


void [[onPlayerConsole]] ( string message )
void [[onPlayerConsole]] ( string message )
Line 22: Line 28:


void [[onPickupHit]] ( [[player]] player )
void [[onPickupHit]] ( [[player]] player )
void [[onMapLoad]] ( string name, [[element]] root )
void [[onMapUnload]] ()


void [[onSpawnpointUse]] ( [[player]] player )
void [[onSpawnpointUse]] ( [[player]] player )

Revision as of 15:24, 25 April 2006

Template:Critical Update

This is a list of scripting events that currently exist. More will come soon.

void onMapLoad ( string name, element root )

void onMapUnload ()

void onMarkerHit ( player hitplayer )

void onPlayerConsole ( string message )

void onPlayerChat ( string message )

void onPlayerJoin ()

void onPlayerQuit ()

void onPlayerSpawn ( spawnpoint spawnpoint )

void onPlayerWasted ( player killer, int weapon )

void onPlayerEnterVehicle ( vehicle vehicle, int seat, player jacked )

void onPlayerExitVehicle ( vehicle vehicle, int reason, player jacker )

void onPickupSpawn ()

void onPickupHit ( player player )

void onSpawnpointUse ( player player )