<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Morgus</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Morgus"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Morgus"/>
	<updated>2026-04-19T20:21:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsWorldSpecialPropertyEnabled&amp;diff=81911</id>
		<title>IsWorldSpecialPropertyEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsWorldSpecialPropertyEnabled&amp;diff=81911"/>
		<updated>2025-04-08T21:39:42Z</updated>

		<summary type="html">&lt;p&gt;Morgus: added example script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Shared function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22195|Added also as a server-side function. Previously only available as a client-side function.}}&lt;br /&gt;
&lt;br /&gt;
Checks if a special world property (cheat) is enabled or not.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isWorldSpecialPropertyEnabled ( string propname )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||||setWorldSpecialPropertyEnabled}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''propname:''' the name of the property to retrieve. Possible values are listed on [[SetWorldSpecialPropertyEnabled]].&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the property is enabled, ''false'' if it is disabled or the specified property name is invalid.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This code allows you to enable/disable aircars world property using /toggleAirCars command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function toggleAirCars()&lt;br /&gt;
    setWorldSpecialPropertyEnabled( &amp;quot;aircars&amp;quot;, not isWorldSpecialPropertyEnabled(&amp;quot;aircars&amp;quot;) )&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;toggleAirCars&amp;quot;, toggleAirCars)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World functions}}&lt;/div&gt;</summary>
		<author><name>Morgus</name></author>
	</entry>
</feed>