Garry's Mod Wiki


void ScreenScale( number Size )


Returns a number based on the Size argument and your screen's width. The screen's width is always equal to size 640. This function is primarily used for scaling font sizes.


1 number Size
The number you want to scale.


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

Page Links

Special Pages



Render Time: 23ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 5