Garry's Mod Wiki
Description
Returns a number based on the size
argument and the players' screen width. The width is scaled in relation to 640x480
resolution. This function is primarily used for scaling font sizes.
See ScreenScaleH for a function that scales from height.
Arguments
Returns
Example
Prints a scaled number based on the number 96, 400 and 640.
Output: 252, 1050, 1680 (this will differ depending on your screen width. Here the screen width is 1680.)
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 twice a day. Edits and history are not available.
Last Parsed: Loading...