Gamemode.GetMotionBlurValues

From GMod Wiki

Revision as of 02:08, 16 September 2009 by Unrealomega (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameGetMotionBlurValues
SyntaxGM:GetMotionBlurValues( Integer x, Integer y, Integer forward, Integer spin )
DescriptionChange the Motion Blur Values.
ReturnsInteger
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.GetMotionBlurValues]Gamemode.GetMotionBlurValues [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionDisable Motion Blur
Used onNewerClient.png
Code
local function GetMotionBlurValues( x, y, fwd, spin )
	return 0, 0, 0, 0
end
hook.Add( "GetMotionBlurValues", "Portal.GetMotionBlurValues", GetMotionBlurValues )
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox