Gamemode.PreDrawOpaqueRenderables

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NamePreDrawOpaqueRenderables
SyntaxGM:PreDrawOpaqueRenderables( )
DescriptionThis is called before entites are drawn.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.PreDrawOpaqueRenderables]Gamemode.PreDrawOpaqueRenderables [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionPrint a message before any entites are drawn.
Used onNewerClient.png
Code
function GM:PreDrawOpaqueRenderables()
    Msg( "Entities are about to draw!" )
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox