Client Scripting Events: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
m (Changed translations hierarchy)
 
(149 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 [[onClientMapLoad]] ( string name )
 
'''Server-side scripting events can be found here: [[Server Scripting Events]]
void [[onClientMapUnload]] ( void )
 
==Browser events==
void [[onClientWeaponFire]] ( int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, [[element]] hitElement )
{{CEF_events}}
 
<div style="border: 3px solid green;padding:5px">WARNING: These events will change their names to onClientGUI... in the near future</div>
==Colshape events==
bool [[guiWindowEventOnKeyDown]] ( [[element]] theElement, callback )
{{Client_colshape_events}}
 
bool [[guiWindowEventOnClose]] ( [[element]] theElement, callback )
==Element events==
 
{{Client_element_events}}
bool [[guiEditEventOnChanged]] ( [[element]] theElement, callback )
 
==Input events==
bool [[guiEditEventOnAccepted]] ( [[element]] theElement, callback )
{{GUI_events}}
==Marker events==
{{Client_marker_events}}
==Ped events==
{{Client_ped_events}}
==Pickup events==
{{Client_pickup_events}}
==Player events==
{{Client_player_events}}
==Object events==
{{Client_object_events}}
==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