OnClientGUIMove: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
===Client event functions===
===Client event functions===
{{Client_event_functions}}
{{Client_event_functions}}
[[Category:Needs Example]]

Revision as of 06:44, 28 June 2012

This event is triggered each time the user moves a GUI element.

Parameters

None

Source

The source of this event is the GUI element which was moved.

Example

This example would output to the chatbox what the player moved.

addEventHandler("onClientGUIMove",guiRoot,function()
	outputChatBox("You have moved :"..getElementType(source))
end)

See Also

GUI events

Input

GUI


Client event functions