resetBlurLevel | Multi Theft Auto: Wiki Skip to content

resetBlurLevel

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


Resets the motion blur level on the client's screen to default value (36).

Syntax

bool resetBlurLevel ( )

Returns

  • bool: value

Returns true if the blur level was reset successfully, false otherwise.

Code Examples

shared

This example allows the player to reset their blur level with a command:

function resetBlurCommand ()
if resetBlurLevel () then
outputChatBox ("Reset blur level.", 0, 255, 0)
else
outputChatBox ("Failed to reset blur level.", 255, 0, 0)
end
end
addCommandHandler ("resetblur", resetBlurCommand)

See Also

World Functions