Server Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 55: Line 55:
[[onPlayerMarkerLeave]]
[[onPlayerMarkerLeave]]


[[onPlayerPickupHit]] ( [[pickup]] hitpickup, bool matchingDimension )
[[onPlayerPickupHit]]


[[onPlayerPickupUse]] ( [[pickup]] usedpickup )
[[onPlayerPickupUse]]


[[onPlayerClick]] ( string button, string state, [[element]] clickedElement, float posX, float posY, float posZ )
[[onPlayerClick]]


[[onPlayerContact]] ( [[element]] previous, [[element]] current )
[[onPlayerContact]] ( [[element]] previous, [[element]] current )

Revision as of 05:46, 30 December 2007

Dialog-information.png 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

onClientLogout

onColShapeHit

onColShapeLeave

onConsole

onElementDataChange

onElementColShapeHit

onElementColShapeLeave

onElementClicked

onMarkerHit

onMarkerLeave

onPickupSpawn

onPickupHit

onPickupUse

onPlayerChat

onPlayerDamage

onPlayerJoin

onPlayerQuit

onPlayerSpawn

onPlayerWasted

onPlayerTarget

onPlayerVehicleEnter

onPlayerVehicleExit

onPlayerWeaponSwitch

onPlayerMarkerHit

onPlayerMarkerLeave

onPlayerPickupHit

onPlayerPickupUse

onPlayerClick

onPlayerContact ( element previous, element current )

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 )

onVehicleExplode ()