Server Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Changed translations hierarchy)
 
(93 intermediate revisions by 38 users not shown)
Line 1: Line 1:
{{Needs Checking|This page duplicates event pages' syntaxes. Events may need grouping in categories too. --[[User:Jbeta|jbeta]] 20:06, 14 September 2007 (CDT)}}
<pageclass class="server"></pageclass>
This page lists all '''server-side''' scripting [[event]]s that have been implemented and are available in the Deathmatch mod.


This is a list of all server-side scripting [[event]]s.
To request a event, create an issue in [https://github.com/multitheftauto/mtasa-blue/issues our GitHub repository.]
'''Client-side scripting events can be found here: [[Client Scripting Events]]
==Account events==
{{Account_events}}
==Client events==
{{Client_events}}
==Colshape events==
{{Colshape_events}}
==Element events==
{{Element_events}}
==Marker events==
{{Marker_events}}
==Pickup events==
{{Pickup_events}}
==Player events==
{{Player_events}}
==Ped events==
{{Ped_events}}
==Resource events==
{{Resource_events}}
==Server events==
{{Server_events}}
==Vehicle events==
{{Vehicle_events}}
==Weapon events==
{{Weapon_events}}


[[onClientLogin]]
[[ar:Server Scripting Events]]
 
[[fr:Server Scripting Events]]
[[onClientLogout]]
[[hu:Server Scripting Events]]
 
[[pl:Server Scripting Events]]
[[onColShapeHit]]
[[pt-br:Eventos de Scripting do Servidor]]
 
[[ru:Server Scripting Events]]
[[onColShapeLeave]]
[[tr:Server Scripting Events]]
 
[[onConsole]]
 
[[onElementDataChange]]
 
[[onElementColShapeHit]]
 
[[onElementColShapeLeave]]
 
[[onElementClicked]]
 
[[onMarkerHit]] ( [[player]] hitplayer, bool matchingDimension )
 
[[onMarkerLeave]] ( [[player]] leftplayer, bool matchingDimension )
 
[[onPickupSpawn]] ()
 
[[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 )
 
[[onPlayerVehicleEnter]] ( [[vehicle]] vehicle, int seat, [[player]] jacked )
 
[[onPlayerVehicleExit]] ( [[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 )
 
[[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]] ()

Latest revision as of 14:15, 7 August 2023

This page lists all server-side scripting events that have been implemented and are available in the Deathmatch mod.

To request a event, create an issue in our GitHub repository.

Client-side scripting events can be found here: Client Scripting Events

Account events


Client events


Colshape events


Element events


Marker events


Pickup events


Player events


Ped events


Resource events


Server events


Vehicle events


Weapon events