resetColorFilter | Multi Theft Auto: Wiki Skip to content

resetColorFilter

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.


This function is used to reset the color filtering to its default values.

Syntax

bool resetColorFilter ( )

Returns

  • bool: value

Returns true if the color filtering was reset, false otherwise.

Code Examples

shared

This example lets any player reset the color filtering:

function resetFilter ()
resetColorFilter ()
end
addCommandHandler ("resetcolorfilter", resetFilter) -- Add the command

See Also

World Functions