OnClientGUISize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Minor improvements.)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


==Parameters==  
==Parameters==  
''None''
No parameters.


==Source==
==Source==
Line 17: Line 17:


==See Also==
==See Also==
===GUI events===
{{GUI_events}}
{{GUI_events}}
===Client event functions===
===Client event functions===
{{Client_event_functions}}
{{Client_event_functions}}

Latest revision as of 14:31, 20 May 2018

This event is triggered when the local client resizes a GUI element.

Parameters

No parameters.

Source

The source of this event is the GUI element that was resized.

Example

This example will output the type of GUI element that the client has resized, to the chatbox.

addEventHandler("onClientGUISize",guiRoot,function()
	outputChatBox("You have resized a "..getElementType(source)..".",255,255,0)
end)

See Also

Input

GUI


Client event functions