resetColorFilter | Multi Theft Auto: Wiki Skip to content

resetColorFilter

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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

resetColorFilter ( )

Code Examples

client

This example lets any player reset the color filtering:

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

See Also

World Functions