Gamemode.PreDrawSkyBox

From GMod Wiki

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