Server Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Changed translations hierarchy)
 
(156 intermediate revisions by 47 users not shown)
Line 1: Line 1:
{{Critical_Update|This entire section is undergoing a function-use change. It no longer lists functions designed to handle events, but instead should list all the events themselves, and the arguments they supply, along with information regarding the use of addEventHandler, and instructions detailing how to insert event handlers into the XML code.|[[User:Vandalite|Vandalite]]}}
<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 scripting events that currently exist. More will come soon.
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}}


void [[onElementDataChange]] ( string name )
[[ar:Server Scripting Events]]
 
[[fr:Server Scripting Events]]
void [[onMapLoad]] ( string name )
[[hu:Server Scripting Events]]
 
[[pl:Server Scripting Events]]
void [[onMapUnload]] ()
[[pt-br:Eventos de Scripting do Servidor]]
 
[[ru:Server Scripting Events]]
void [[onMarkerHit]] ( [[player]] hitplayer )
[[tr:Server Scripting Events]]
 
void [[onPlayerConsole]] ( string message )
 
void [[onPlayerChat]] ( string message )
 
void [[onPlayerJoin]] ()
 
void [[onPlayerQuit]] ()
 
void [[onPlayerSpawn]] ( [[spawnpoint]] spawnpoint )
 
void [[onPlayerWasted]] ( int totalammo, [[player]] killer, int killerweapon )
 
void [[onPlayerEnterVehicle]] ( [[vehicle]] vehicle, int seat, [[player]] jacked )
 
void [[onPlayerExitVehicle]] ( [[vehicle]] vehicle, int reason, [[player]] jacker )
 
void [[onPickupSpawn]] ()
 
void [[onPickupHit]] ( [[player]] player )
 
void [[onSpawnpointUse]] ( [[player]] player )

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