OnPlayerClick
Jump to navigation
Jump to search
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