Client Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Changed translations hierarchy)
 
(138 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 [[onClientGUIClicked]] ( [[element]] theElement )
{{Client_marker_events}}
 
void [[onClientGUIChanged]] ( [[element]] theElement )
==Ped events==
 
{{Client_ped_events}}
void [[onClientGUIAccepted]] ( [[element]] theElement )
 
==Pickup events==
void [[onClientGUIClose]] ( [[element]] theElement )
{{Client_pickup_events}}
 
void [[onClientGUIKeyDown]] ( [[element]] theElement )
==Player events==
 
{{Client_player_events}}
void [[onClientConsole]] ( text )
 
==Object events==
void [[onClientRender]] ( )
{{Client_object_events}}
 
void [[onClientClick]] ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clicked )
==Projectile events==
{{Client_projectile_events}}
==Resource events==
{{Client_resource_events}}
==Sound events==
{{Sound_events}}
==Vehicle events==
{{Client_vehicle_events}}
==Weapon creation events==
{{Client_weapon_creation_events}}
==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