Gamemode.ShouldDrawLocalPlayer

From GMod Wiki

Revision as of 05:52, 24 November 2011 by Di-0xide :: K0m[pwn]3nt Killa (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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