OnClientGUIMove

From Multi Theft Auto: Wiki

Revision as of 06:44, 28 June 2012 by Jaysds (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Client event functions

FROM VERSION 1.4 r4973 ONWARDS