OnClientClick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void onClientClick ( string button, string state, cursorX, cursorY, worldX, worldY, worldZ, element clickedWorld, element clickedGUI )
void onClientClick ( string button, string state, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld, bool clickedGUI )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 15:30, 15 June 2007


This event is blahblah and is used for blahblah.

Syntax

void onClientClick ( string button, string state, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld, bool clickedGUI )

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo