Garry's Mod Wiki

Garry's Mod Wiki

  number ScreenScaleH( number size )

Description

Returns a number based on the size argument and players' screen height. The height is scaled in relation to 640x480 resolution. This function is primarily used for scaling font sizes.

See ScreenScale for a function that scales from width.

Arguments

1 number size
The number you want to scale.

Returns

1 number
The scaled number based on your screen's height.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...