OnPlayerClick

From Multi Theft Auto: Wiki
Revision as of 04:33, 19 November 2006 by JonChappell (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 )

Example

This example does...

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