ResetBlurLevel: Difference between revisions
Jump to navigation
Jump to search
Zangomangu (talk | contribs) (Created page with "{{Client function}} __NOTOC__ Resets the motion blur level on the clients screen to default value (36). ==Syntax== <section name="Client" class="client" show="true"> <syntaxh...") |
No edit summary |
||
Line 27: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
==Requirements== | |||
{{Requirements|n/a|1.5.7-9.20450|}} | |||
==See Also== | ==See Also== | ||
{{Player functions}} | {{Player functions}} |
Revision as of 13:43, 25 October 2020
Resets the motion blur level on the clients screen to default value (36).
Syntax
Click to collapse [-]
Clientbool resetBlurLevel ( )
Returns
Returns true if the blur level was reset successfully. Returns false otherwise.
Example
Click to collapse [-]
ClientThis example allows the player to reset their blur level via 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)
Requirements
This template will be deleted.
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState