OnPlayerClick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|Lua and MTA do not like 2DposX and 2DposY stored varibles by the event}}
[[Category:Incomplete Event]]
[[Category:Incomplete Event]]



Revision as of 04:55, 12 April 2007

Dialog-information.png This article needs checking.

Reason(s): Lua and MTA do not like 2DposX and 2DposY stored varibles by the event


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