Server Scripting Events: Difference between revisions
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
void [[onVehicleRespawn]] ( bool explosion ) | void [[onVehicleRespawn]] ( bool explosion ) | ||
void [[onVehicleStartEnter]] ( [[player]] player, int seat, [[player]] jacked ) | |||
void [[onVehicleStartExit]] ( [[player]] player, int seat, [[player]] jacker ) | |||
void [[onTrailerAttach]] ( [[vehicle]] trailer ) | void [[onTrailerAttach]] ( [[vehicle]] trailer ) | ||
void [[onTrailerDetach]] ( [[vehicle]] trailer ) | void [[onTrailerDetach]] ( [[vehicle]] trailer ) |
Revision as of 11:47, 19 August 2006
This is a list of scripting events that currently exist. More will come soon.
void onElementDataChange ( string name )
void onMapLoad ( string name )
void onMapUnload ()
void onMarkerHit ( player hitplayer )
void onConsole ( string message )
void onPlayerChat ( string message )
void onPlayerDamage ( player attacker, int attackerweapon, int bodypart, float loss )
void onPlayerJoin ()
void onPlayerQuit ()
void onPlayerSpawn ( spawnpoint spawnpoint )
void onPlayerWasted ( int totalammo, player killer, int killerweapon, int bodypart )
void onPlayerTargeted ( element targetedElement )
void onPlayerEnterVehicle ( vehicle vehicle, int seat, player jacked )
void onPlayerExitVehicle ( vehicle vehicle, int reason, player jacker )
void onPlayerWeaponSwitch ( int previousWeaponID, int currentWeaponID )
void onPickupSpawn ()
void onPickupHit ( player player )
void onPickupUse ( player player )
void onColShapeHit ( player player )
void onSpawnpointUse ( player player )
void onVehicleDamage ( float loss )
void onVehicleRespawn ( bool explosion )
void onVehicleStartEnter ( player player, int seat, player jacked )
void onVehicleStartExit ( player player, int seat, player jacker )
void onTrailerAttach ( vehicle trailer )
void onTrailerDetach ( vehicle trailer )