Gamemode.PreDrawSkyBox
From GMod Wiki
| Event Hook | |
| Hook Name | PreDrawSkyBox |
| Syntax | GM:PreDrawSkyBox( ) |
| Description | This is called before the skybox is drawn. Return true to not draw default skybox. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PreDrawSkyBox]Gamemode.PreDrawSkyBox [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Disable drawing the skybox. |
|---|---|
| Used on | |
| Code | function GM:PreDrawSkyBox() return true end |
| Output | N/A |