<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/GetPostFXMode?action=history&amp;feed=atom</id>
	<title>GetPostFXMode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/GetPostFXMode?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPostFXMode&amp;action=history"/>
	<updated>2026-06-15T01:59:42Z</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=GetPostFXMode&amp;diff=82629&amp;oldid=prev</id>
		<title>O22: Created page with &quot;__NOTOC__  {{Client function}} {{New feature/item|3.0161|1.6|23644| Gets the current mode of PostFX. }}  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; int getPostFXMode ( ) &lt;/syntaxhighlight&gt;  ===Returns=== An integer for the current PostFX mode: * 0: Disabled * 1: Enabled in fullscreen mode * 2: Enabled in windowed/borderless mode  ==Example== This example gets the current PostFX mode and displays it in the chat. &lt;syntaxhighlight lang=&quot;lua&quot;&gt; local modes = {     [0] = &quot;Disabl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPostFXMode&amp;diff=82629&amp;oldid=prev"/>
		<updated>2025-12-03T11:05:40Z</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 mode of PostFX. }}  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; int getPostFXMode ( ) &amp;lt;/syntaxhighlight&amp;gt;  ===Returns=== An integer for the current PostFX mode: * 0: Disabled * 1: Enabled in fullscreen mode * 2: Enabled in windowed/borderless mode  ==Example== This example gets the current PostFX mode and displays it in the chat. &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; local modes = {     [0] = &amp;quot;Disabl...&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 mode of PostFX.&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;
int getPostFXMode ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
An integer for the current PostFX mode:&lt;br /&gt;
* 0: Disabled&lt;br /&gt;
* 1: Enabled in fullscreen mode&lt;br /&gt;
* 2: Enabled in windowed/borderless mode&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example gets the current PostFX mode and displays it in the chat.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local modes = {&lt;br /&gt;
    [0] = &amp;quot;Disabled&amp;quot;,&lt;br /&gt;
    [1] = &amp;quot;Enabled in fullscreen mode&amp;quot;,&lt;br /&gt;
    [2] = &amp;quot;Enabled in windowed/borderless mode&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;getMyMode&amp;quot;, &lt;br /&gt;
    function()&lt;br /&gt;
        local currentMode = getPostFXMode()&lt;br /&gt;
        outputChatBox(&amp;quot;Your PostFX mode is: &amp;quot;..modes[currentMode])&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>