Gamemode.PrePlayerDraw

From GMod Wiki

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