Garry's Mod Wiki

Garry's Mod Wiki

  SScale( number Size )

Description

We advise against using this. It may be changed or removed in a future update. You should be using ScreenScale instead.

Returns a number based on the Size argument and your screen's width. Alias of ScreenScale.

Arguments

1 number Size
The number you want to scale.

Example

Prints a scaled number based on the number 40.

print( SScale( 40 ) )
Output: 105 (this will differ depending on your screen size)

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...