<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/GetPostFXValue?action=history&amp;feed=atom</id>
	<title>GetPostFXValue - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/GetPostFXValue?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPostFXValue&amp;action=history"/>
	<updated>2026-04-28T00:15:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPostFXValue&amp;diff=82630&amp;oldid=prev</id>
		<title>O22: Created page with &quot;__NOTOC__  {{Client function}} {{New feature/item|3.0161|1.6|23644| Gets the current float value of the selected PostFX type. }}  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; float getPostFXValue ( string fxType ) &lt;/syntaxhighlight&gt;  ===Required arguments=== *'''fxType''': An string of the PostFX. Possible values are: **'''Gamma''' **'''Brightness''' **'''Contrast''' **'''Saturation'''  ===Returns=== Returns the current value of the specified PostFX parameter.  ==Example== T...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPostFXValue&amp;diff=82630&amp;oldid=prev"/>
		<updated>2025-12-03T11:06:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} {{New feature/item|3.0161|1.6|23644| Gets the current float value of the selected PostFX type. }}  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; float getPostFXValue ( string fxType ) &amp;lt;/syntaxhighlight&amp;gt;  ===Required arguments=== *&amp;#039;&amp;#039;&amp;#039;fxType&amp;#039;&amp;#039;&amp;#039;: An string of the PostFX. Possible values are: **&amp;#039;&amp;#039;&amp;#039;Gamma&amp;#039;&amp;#039;&amp;#039; **&amp;#039;&amp;#039;&amp;#039;Brightness&amp;#039;&amp;#039;&amp;#039; **&amp;#039;&amp;#039;&amp;#039;Contrast&amp;#039;&amp;#039;&amp;#039; **&amp;#039;&amp;#039;&amp;#039;Saturation&amp;#039;&amp;#039;&amp;#039;  ===Returns=== Returns the current value of the specified PostFX parameter.  ==Example== T...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6|23644|&lt;br /&gt;
Gets the current float value of the selected PostFX type.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float getPostFXValue ( string fxType )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''fxType''': An string of the PostFX. Possible values are:&lt;br /&gt;
**'''Gamma'''&lt;br /&gt;
**'''Brightness'''&lt;br /&gt;
**'''Contrast'''&lt;br /&gt;
**'''Saturation'''&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the current value of the specified PostFX parameter.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example gets the current gamma PostFX value and display it in the chat.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getGammaValue&amp;quot;, &lt;br /&gt;
    function()&lt;br /&gt;
        local gammaValue = getPostFXValue(&amp;quot;Gamma&amp;quot;)&lt;br /&gt;
        outputChatBox(&amp;quot;Your gamma value is: &amp;quot;..tostring(gammaValue))&lt;br /&gt;
    end, false, false&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_PostFX_functions}}&lt;/div&gt;</summary>
		<author><name>O22</name></author>
	</entry>
</feed>