G.ScrH

From GMod Wiki

Revision as of 09:45, 16 December 2010 by Wizard of Ass (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax ScrH( )
Where is this used?
Description:
Returns the height of the currently used viewport (Mostly fits to the screen resolution)
Returns: Number height
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.ScrH]G.ScrH [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints the height of the currently used resolution
Used onNewerClient.png
Code
print("Your resolution height is "..ScrH())
OutputYour resolution height is 800

Addition Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox