render.GetDXLevel

From GMod Wiki

Jump to: navigation, search
Function
Syntax render.GetDXLevel( )
Where is this used?
Description:
Returns the Direct X level used.
Returns: Number
Part of Library: render
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Render.GetDXLevel]Render.GetDXLevel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints the DX level the game is currently playing at.
Used onNewerClient.png
Code
print( render.GetDXLevel( ) )
OutputPrints your DirectX level the game is currently playing at. Will out put as a form of 95 (instaed of expected 9.5)
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox