PANEL/OnScreenSizeChanged

From Garry's Mod
Jump to: navigation, search
 PANEL:OnScreenSizeChanged( )

Description

Called when the player's screen resolution of the game changes.

ScrW and ScrH will return the new values when this hook is called.


Next Update Change

Arguments only available in the next update.

Arguments

number oldWidth

The previous width of the game's window

Arguments

number oldHeight

The previous height of the game's window
Personal tools
Navigation