Discord
Steam
/
Garry's Mod
/
Developers
/
Getting the si..
Login/Join
Event Log
Getting the size of the screen
2 replies, posted
Search
In This Thread
Hi, How do I get the size of the screen? I tried with scrH and scrW after seeing them somewhere, but they dont work.
They do, use ScrW( ) for width and ScrH( ) for height.
surface.ScreenWidth( ) and surface.ScreenHeight( ) exist as alternates.
Sorry, you need to
Log In
to post a reply to this thread.