Client Scripting Events

From Multi Theft Auto: Wiki
Revision as of 15:26, 4 February 2007 by MrJax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a list of client-side scripting events that currently exist. More will come soon.

Client Events

void onClientMapLoad ( string name )

void onClientMapUnload ( void )

void onClientWeaponFire ( int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, element hitElement )

WARNING: These events will change their names to onClientGUI... in the near future

bool guiWindowEventOnKeyDown ( element theElement, callback )

bool guiWindowEventOnClose ( element theElement, callback )

bool guiEditEventOnChanged ( element theElement, callback )

bool guiEditEventOnAccepted ( element theElement, callback )