Server Scripting Events

From Multi Theft Auto: Wiki
Revision as of 01:09, 25 April 2006 by Vandalite (talk | contribs)
Jump to navigation Jump to search

Template:Critical Update

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

void onPlayerConsole ( string message )

void onPlayerChat ( string message )

void onPlayerJoin ()

void onPlayerQuit ()

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 onMapLoad ( string name, element root )

void onMapUnload ()

void onSpawnpointUse ( player player )