WEAPON/RenderScreen

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Get rid of example that doesn't work out of the box ( Lua errors ) and does nothing on anything but the tool gun.)
Line 1: Line 1:
 
{{Hook
 
{{Hook
|Description={{Deprecated|This appears to be a left over from early GMod 12? days}}. Called every frame just before {{HookFunction|GM|RenderScene}}. Used by tool gun to render screens.
+
|Description=Called every frame just before {{HookFunction|GM|RenderScene}}.
 +
 
 +
Used by the Tool Gun to render view model screens ({{HookFunction|TOOL|DrawToolScreen}}).
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No
 
}}
 
}}

Revision as of 15:09, 25 October 2019

 WEAPON:RenderScreen( )

Description

Called every frame just before GM:RenderScene.

Used by the Tool Gun to render view model screens (TOOL:DrawToolScreen).

Personal tools
Navigation