Gamemode.PreDrawTranslucentRenderables

From GMod Wiki

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

Examples

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


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox