Gamemode.PrePlayerDraw

From GMod Wiki

Revision as of 18:37, 11 May 2010 by TJjokerR (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NamePrePlayerDraw
SyntaxGM:PrePlayerDraw( Entity player )
DescriptionThis is called before the player is drawn.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.PrePlayerDraw]Gamemode.PrePlayerDraw [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionPrint a message before the player is drawn.
Used onNewerClient.png
Code
hook.Add("PrePlayerDraw", "test", function(ply)
	print(ply)
end)
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox