SScale

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

Contents

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

You should be using ScreenScale instead.

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

Arguments

number Size

The number you want to scale.

Examples

Example

Prints a scaled number based on the number 40.

print( SScale(40) )

Output:

105 (This will differ depending on your screen size.)
Personal tools
Navigation