Gamemode.ShouldDrawLocalPlayer

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameShouldDrawLocalPlayer
SyntaxGM:ShouldDrawLocalPlayer( )
DescriptionReturn true to draw the local player. (in layman's terms, to draw yourself)
ReturnsBoolean
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.ShouldDrawLocalPlayer]Gamemode.ShouldDrawLocalPlayer [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionDraw yourself.
Used onNewerClient.png
Code
function GM:ShouldDrawLocalPlayer() 
	return true
end
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox