Client Scripting Events: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
void [[onClientPlayerWasted]] ( void ) | void [[onClientPlayerWasted]] ( void ) | ||
void [[onClientPlayerVehicleEnter]] ( vehicle theVehicle, int seat, bool jacked ) | void [[onClientPlayerVehicleEnter]] ( [[vehicle]] theVehicle, int seat, bool jacked ) | ||
void [[onClientPlayerVehicleExitr]] ( [[vehicle]] theVehicle, int seat, bool jacked ) | |||
void [[onClientPlayerChangeNick]] ( string oldNick ) | void [[onClientPlayerChangeNick]] ( string oldNick ) | ||
Line 26: | Line 28: | ||
void [[onClientVehicleRespawn]] ( void ) | void [[onClientVehicleRespawn]] ( void ) | ||
void [[onClientVehicleEnter]] ( player thePlayer, int seat, bool jacked ) | void [[onClientVehicleEnter]] ( [[player]] thePlayer, int seat, bool jacked ) | ||
void [[onClientVehicleExit]] ( [[player]] thePlayer, int seat, bool jacked ) | |||
void [[onClientGUIClicked]] ( [[element]] theElement ) | void [[onClientGUIClicked]] ( [[element]] theElement ) |
Revision as of 19:38, 28 March 2007
This is a list of client-side scripting events that currently exist. More will come soon.
Client Events
void onClientResourceStart ( string name )
void onClientResourceStop ( string name )
void onClientPlayerJoin ( void )
void onClientPlayerQuit ( string reason )
void onClientPlayerWeaponFire ( int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, element hitElement )
void onClientPlayerTarget ( element target )
bool onClientPlayerDamage ( player attacker, int weapon, int bodypart )
void onClientPlayerSpawn ( team hisTeam )
void onClientPlayerWasted ( void )
void onClientPlayerVehicleEnter ( vehicle theVehicle, int seat, bool jacked )
void onClientPlayerVehicleExitr ( vehicle theVehicle, int seat, bool jacked )
void onClientPlayerChangeNick ( string oldNick )
void onClientVehicleRespawn ( void )
void onClientVehicleEnter ( player thePlayer, int seat, bool jacked )
void onClientVehicleExit ( player thePlayer, int seat, bool jacked )
void onClientGUIClicked ( element theElement )
void onClientGUIChanged ( element theElement )
void onClientGUIAccepted ( element theElement )
void onClientGUIClose ( element theElement )
void onClientGUIKeyDown ( element theElement )
void onClientConsole ( text )
void onClientRender ( )
void onClientClick ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clicked )