Client Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Changed translations hierarchy)
 
(132 intermediate revisions by 65 users not shown)
Line 1: Line 1:
This is a list of client-side scripting events that currently exist. More will come soon.
<pageclass class="client"></pageclass>
This page lists all '''client-side''' scripting [[event]]s that have been implemented and are available in the Deathmatch mod.


===Client Events===
To request a event, create an issue in [https://github.com/multitheftauto/mtasa-blue/issues our GitHub repository.]
void [[onClientResourceStart]] ( string name )
 
'''Server-side scripting events can be found here: [[Server Scripting Events]]
void [[onClientResourceStop]] ( string name )
 
==Browser events==
void [[onClientPlayerJoin]] ( void )
{{CEF_events}}
 
void [[onClientPlayerQuit]] ( string reason )
==Colshape events==
 
{{Client_colshape_events}}
void [[onClientPlayerWeaponFire]] ( int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, [[element]] hitElement )
 
==Element events==
void [[onClientPlayerTarget]] ( [[element]] target )
{{Client_element_events}}
 
bool [[onClientPlayerDamage]] ( [[player]] attacker, int weapon, int bodypart )
==Input events==
 
{{GUI_events}}
void [[onClientPlayerSpawn]] ( [[team]] hisTeam )
 
==Marker events==
void [[onClientPlayerWasted]] ( void )
{{Client_marker_events}}
 
void [[onClientPlayerVehicleEnter]] ( [[vehicle]] theVehicle, int seat, bool jacked )
==Ped events==
 
{{Client_ped_events}}
void [[onClientPlayerVehicleExit]] ( [[vehicle]] theVehicle, int seat, bool jacked )
 
==Pickup events==
void [[onClientPlayerChangeNick]] ( string oldNick )
{{Client_pickup_events}}
 
void [[onClientVehicleRespawn]] ( void )
==Player events==
 
{{Client_player_events}}
void [[onClientVehicleEnter]] ( [[player]] thePlayer, int seat, bool jacked )
 
==Object events==
void [[onClientVehicleExit]] ( [[player]] thePlayer, int seat, bool jacked )
{{Client_object_events}}
 
void [[onClientGUIClicked]] ( [[element]] theElement )
==Projectile events==
 
{{Client_projectile_events}}
void [[onClientGUIChanged]] ( [[element]] theElement )
 
==Resource events==
void [[onClientGUIAccepted]] ( [[element]] theElement )
{{Client_resource_events}}
 
void [[onClientGUIClose]] ( [[element]] theElement )
==Sound events==
 
{{Sound_events}}
void [[onClientGUIKeyDown]] ( [[element]] theElement )
 
==Vehicle events==
void [[onClientConsole]] ( text )
{{Client_vehicle_events}}
 
void [[onClientRender]] ( )
==Weapon creation events==
 
{{Client_weapon_creation_events}}
void [[onClientClick]] ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clicked )
==Other events==
{{Client_other_events}}
[[ar:Client Scripting Events]]
[[es:Client Scripting Events]]
[[fr:Client Scripting Events]]
[[hu:Client Scripting Events]]
[[pl:Client Scripting Events]]
[[ru:Client Scripting Events]]
[[tr:Client Taraflı Eventler]]

Latest revision as of 14:05, 7 August 2023

This page lists all client-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.

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

Browser events


Colshape events


Element events


Input events

Input

GUI


Marker events


Ped events


Pickup events


Player events


Object events


Projectile events


Resource events


Sound events


Vehicle events


Weapon creation events


Other events