Server Scripting Events: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
void [[onPlayerSpawn]] ( [[spawnpoint]] spawnpoint ) | void [[onPlayerSpawn]] ( [[spawnpoint]] spawnpoint ) | ||
void [[onPlayerWasted]] ( [[player]] killer, int | void [[onPlayerWasted]] ( int totalammo, [[player]] killer, int killerweapon ) | ||
void [[onPlayerEnterVehicle]] ( [[vehicle]] vehicle, int seat, [[player]] jacked ) | void [[onPlayerEnterVehicle]] ( [[vehicle]] vehicle, int seat, [[player]] jacked ) |
Revision as of 16:41, 6 May 2006
This is a list of scripting events that currently exist. More will come soon.
void onElementDataChange ( string name )
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 ( int totalammo, player killer, int killerweapon )
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 )