Gamemode.PreDrawSkyBox

From GMod Wiki

Revision as of 23:43, 8 May 2011 by oh (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NamePreDrawSkyBox
SyntaxGM:PreDrawSkyBox( )
DescriptionThis is called before the skybox is drawn. Return true to not draw default skybox.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.PreDrawSkyBox]Gamemode.PreDrawSkyBox [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionDisable drawing the skybox.
Used onNewerClient.png
Code
function GM:PreDrawSkyBox()
    return true
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox