ScrW

From Garry's Mod
Revision as of 04:14, 18 August 2018 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 ScrW( )

Contents

Description

Gets the width of the game's window (in pixels).

Returns

number

The width of the game's window in pixels

Examples

Example

Prints the width of the screen

print( ScrW() )

Output:

1280 (depends on your resolution)
Personal tools
Navigation