Server Scripting Events: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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. | ||
[[onLoad]] () | void [[onLoad]] () | ||
[[onUnload]] () | void [[onUnload]] () | ||
[[onPlayerChat]] ( [[player]] player, string message ) | void [[onPlayerChat]] ( [[player]] player, string message ) | ||
[[onPlayerConsole]] ( [[player]] player, string message ) | void [[onPlayerConsole]] ( [[player]] player, string message ) | ||
[[onPlayerJoin]] ( [[player]] player ) | void [[onPlayerJoin]] ( [[player]] player ) | ||
[[onPlayerPm]] ( [[player]] sourceplayer, [[player]] destplayer, string message ) | void [[onPlayerPm]] ( [[player]] sourceplayer, [[player]] destplayer, string message ) | ||
[[onPlayerQuit]] ( [[player]] player) | void [[onPlayerQuit]] ( [[player]] player) | ||
[[onPlayerSpawn]] ( [[player]] player, [[spawnpoint]] spawnpoint ) | void [[onPlayerSpawn]] ( [[player]] player, [[spawnpoint]] spawnpoint ) | ||
[[onPlayerWasted]] ( [[player]] player) | void [[onPlayerWasted]] ( [[player]] player) | ||
[[onEnterVehicle]] ( [[player]] player, [[vehicle]] vehicle, int seat, [[player]] jackedplayer ) | void [[onEnterVehicle]] ( [[player]] player, [[vehicle]] vehicle, int seat, [[player]] jackedplayer ) | ||
[[onExitVehicle]] ( [[player]] player, [[vehicle]] vehicle, int seat, [[player]] jackingplayer ) | void [[onExitVehicle]] ( [[player]] player, [[vehicle]] vehicle, int seat, [[player]] jackingplayer ) | ||
[[onVehicleSpawn]] ( [[vehicle]] vehicle, vehiclespawnpoint ) | void [[onVehicleSpawn]] ( [[vehicle]] vehicle, vehiclespawnpoint ) | ||
[[onPickupHit]] ( [[player]] player, [[pickup]] pickup ) | void [[onPickupHit]] ( [[player]] player, [[pickup]] pickup ) | ||
[[onPickupAdd]] ( [[pickup]] pickup ) | void [[onPickupAdd]] ( [[pickup]] pickup ) | ||
[[onMapLoad]] ( string mapname, [[xmlnode]] xmlroot ) | void [[onMapLoad]] ( string mapname, [[xmlnode]] xmlroot ) | ||
[[onMarkerHit]] ( [[marker]] marker, [[player]] hitplayer ) | void [[onMarkerHit]] ( [[marker]] marker, [[player]] hitplayer ) |
Revision as of 00:51, 9 April 2006
This article needs checking. | |
Reason(s): What Datatype is vehiclespawnpoint? |
This is a list of scripting events that currently exist. More will come soon.
void onLoad ()
void onUnload ()
void onPlayerChat ( player player, string message )
void onPlayerConsole ( player player, string message )
void onPlayerJoin ( player player )
void onPlayerPm ( player sourceplayer, player destplayer, string message )
void onPlayerQuit ( player player)
void onPlayerSpawn ( player player, spawnpoint spawnpoint )
void onPlayerWasted ( player player)
void onEnterVehicle ( player player, vehicle vehicle, int seat, player jackedplayer )
void onExitVehicle ( player player, vehicle vehicle, int seat, player jackingplayer )
void onVehicleSpawn ( vehicle vehicle, vehiclespawnpoint )
void onPickupHit ( player player, pickup pickup )
void onPickupAdd ( pickup pickup )
void onMapLoad ( string mapname, xmlnode xmlroot )
void onMarkerHit ( marker marker, player hitplayer )