OnPlayerClick

From Multi Theft Auto: Wiki
Revision as of 13:06, 4 March 2007 by Jbeta (talk | contribs)
Jump to navigation Jump to search


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, float 2DposX, float 2DposY )

Example

This example does...

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