Server Scripting Events: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
[[onLoad]] () | [[onLoad]] () | ||
[[onUnload]] () | |||
[[onPlayerChat]] ( [[player]] player, string message ) | [[onPlayerChat]] ( [[player]] player, string message ) |
Revision as of 00:46, 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.
onLoad ()
onUnload ()
onPlayerChat ( player player, string message )
onPlayerConsole ( player player, string message )
onPlayerJoin ( player player )
onPlayerPm ( player sourceplayer, player destplayer, string message )
onPlayerQuit ( player player)
onPlayerSpawn ( player player, spawnpoint spawnpoint )
onPlayerWasted ( player player)
onEnterVehicle ( player player, vehicle vehicle, int seat, player jackedplayer )
onExitVehicle ( player player, vehicle vehicle, int seat, player jackingplayer )
onVehicleSpawn ( vehicle vehicle, vehiclespawnpoint )
onPickupHit ( player player, pickup pickup )
onPickupAdd ( pickup pickup )
onMapLoad ( string mapname, xmlnode xmlroot )
onMarkerHit ( marker marker, player hitplayer )