OnPlayerClick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:


__NOTOC__  
__NOTOC__  
This event is blahblah and is used for blahblah.
This event is triggered when a player clicks an element with the mouse cursor.


==Syntax==  
==Syntax==  

Revision as of 04:33, 19 November 2006


This event is triggered when a player clicks an element with the mouse cursor.

Syntax

void onPlayerClick ( string button, string state, element clickedElement, float posX, float posY, float posZ )

Example

This example does...

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