Server Scripting Events
This article needs checking. | |
Reason(s): This page duplicates event pages' syntaxes. Events may need grouping in categories too. --jbeta 20:06, 14 September 2007 (CDT) |
This is a list of all server-side scripting events.
onClientLogin ( account previous_account, account current_account, bool auto-login )
onClientLogout ( account previous_account, account current_account )
onColShapeHit ( element hitElement, bool matchingDimension )
onColShapeLeave ( element leaveElement, bool matchingDimension )
onConsole ( string message )
onElementDataChange ( string name, var oldValue )
onElementColShapeHit ( colshape hitcolshape, bool matchingDimension )
onElementColShapeLeave ( colshape leftcolshape, bool matchingDimension )
onElementClicked ( string button, string state, player clicker, float posX, float posY, float posZ )
onMarkerHit ( player hitplayer, bool matchingDimension )
onMarkerLeave ( player leftplayer, bool matchingDimension )
onPickupHit ( player player, bool matchingDimension )
onPickupUse ( player player )
onPlayerChat ( string message, int type )
onPlayerDamage ( element attacker, int attackerweapon, int bodypart, float loss )
onPlayerJoin ()
onPlayerQuit ( string reason )
onPlayerSpawn ( float x, float y, float z, float rotation, team theTeam, int model, int interior, int dimension ) <---- needs revising
onPlayerWasted ( int ammo, element killer, int killerweapon, int bodypart )
onPlayerTarget ( element targetedElement )
onPlayerEnterVehicle ( vehicle vehicle, int seat, player jacked )
onPlayerExitVehicle ( vehicle vehicle, int seat, player jacker )
onPlayerWeaponSwitch ( int previousWeaponID, int currentWeaponID )
onPlayerTask ( string priority, int type, string name )
onPlayerMarkerHit ( marker hitmarker, bool matchingDimension )
onPlayerMarkerLeave ( marker leftmarker, bool matchingDimension )
onPlayerPickupHit ( pickup hitpickup, bool matchingDimension )
onPlayerPickupUse ( pickup usedpickup )
onPlayerClick ( string button, string state, element clickedElement, float posX, float posY, float posZ )
onResourceStart ( resource resource )
onResourceStop ( resource resource )
onSpawnpointUse ( player player )
onTrailerAttach ( vehicle towedBy )
onTrailerDetach ( vehicle towedBy )
onVehicleDamage ( float loss )
onVehicleRespawn ( bool explosion )
onVehicleStartEnter ( player player, int seat, player jacked )
onVehicleStartExit ( player player, int seat, player jacker )
onVehicleEnter ( player player, int seat, player jacked )
onVehicleExit ( player player, int seat, player jacker )