Garry's Mod Wiki


void SScale( number Size )


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.


1 number Size
The number you want to scale.


Prints a scaled number based on the number 40.

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

Page Links

Special Pages



Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 6