<?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=Mz-</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=Mz-"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Mz-"/>
	<updated>2026-05-21T14:50:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22653</id>
		<title>IsGlitchEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22653"/>
		<updated>2010-03-12T08:00:28Z</updated>

		<summary type="html">&lt;p&gt;Mz-: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function retrieves whether San Andreas game glitches are enabled or not, set by using [[setGlitchEnabled]]&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isGlitchEnabled ( string glitchName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''glitchName:''' the name of the property to set. Possible values are:&lt;br /&gt;
**'''quickreload''' - This is the glitch where switching weapons auto-reloads your weapon, without actually performing the reload animation.&lt;br /&gt;
**'''fastmove''' - This is the glitch that can be achieved by a certain key combinations whilst standing up after crouching, which allows you to move quickly with slow weapons (e.g. deagle).&lt;br /&gt;
**'''fastfire''' - This is the glitch that can be achieved by cancelling the full fire animation, allowing you to shoot with slow-fire weapons (e.g. deagle) much faster.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if if the glitch was enabled, or ''false'' if it is disabled.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
 -- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Mz-</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22652</id>
		<title>IsGlitchEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22652"/>
		<updated>2010-03-12T07:58:02Z</updated>

		<summary type="html">&lt;p&gt;Mz-: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function retrieves whether San Andreas game glitches are enabled or not, set by using [[setGlitchEnabled]]&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isGlitchEnabled ( string glitchName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''glitchName:''' the name of the property to set. Possible values are:&lt;br /&gt;
**'''quickreload''' - This is the glitch where switching weapons auto-reloads your weapon, without actually performing the reload animation.&lt;br /&gt;
**'''fastmove''' - This is the glitch that can be achieved by a certain key combinations whilst standing up after crouching, which allows you to move quickly with slow weapons (e.g. deagle).&lt;br /&gt;
**'''fastfire''' - This is the glitch that can be achieved by cancelling the full fire animation, allowing you to shoot with slow-fire weapons (e.g. deagle) much faster.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if if the glitch was enabled, or ''false'' if it is disabled.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to create command which changes setGlitchEnabled status.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function antiGlitch ( human )&lt;br /&gt;
local adminsGroup = aclGetGroup ( &amp;quot;Admin&amp;quot; )&lt;br /&gt;
local playerName = getPlayerName ( human )&lt;br /&gt;
        -- check player's admin rights&lt;br /&gt;
	if ( isObjectInACLGroup ( &amp;quot;user.&amp;quot; .. playerName, aclGetGroup ( &amp;quot;Admin&amp;quot; ) ) ) then&lt;br /&gt;
                -- check is quickreaload and fastfire glitches enabled&lt;br /&gt;
		if (isGlitchEnabled( &amp;quot;quickreload&amp;quot; ) and isGlitchEnabled( &amp;quot;fastfire&amp;quot; ) == true) then &lt;br /&gt;
                        -- if they are glitches are enabled then we need to disable them&lt;br /&gt;
                        setGlitchEnabled ( &amp;quot;quickreload&amp;quot;, false )&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;fastfire&amp;quot;, false )&lt;br /&gt;
			outputChatBox ( &amp;quot;Anti-Glitch is turned off!&amp;quot; )&lt;br /&gt;
		elseif (isGlitchEnabled( &amp;quot;quickreload&amp;quot; ) and isGlitchEnabled( &amp;quot;fastfire&amp;quot; ) == false) then&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;quickreload&amp;quot;, true )&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;fastfire&amp;quot;, true )&lt;br /&gt;
			outputChatBox ( &amp;quot;Anti-Glitch is turned on!&amp;quot; )&lt;br /&gt;
		end&lt;br /&gt;
	else &lt;br /&gt;
		outputChatBox ( &amp;quot;You don't have access to this command&amp;quot;, human )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;antiglitch&amp;quot;, antiGlitch )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Mz-</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22651</id>
		<title>IsGlitchEnabled</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsGlitchEnabled&amp;diff=22651"/>
		<updated>2010-03-12T07:49:13Z</updated>

		<summary type="html">&lt;p&gt;Mz-: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function retrieves whether San Andreas game glitches are enabled or not, set by using [[setGlitchEnabled]]&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isGlitchEnabled ( string glitchName )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''glitchName:''' the name of the property to set. Possible values are:&lt;br /&gt;
**'''quickreload''' - This is the glitch where switching weapons auto-reloads your weapon, without actually performing the reload animation.&lt;br /&gt;
**'''fastmove''' - This is the glitch that can be achieved by a certain key combinations whilst standing up after crouching, which allows you to move quickly with slow weapons (e.g. deagle).&lt;br /&gt;
**'''fastfire''' - This is the glitch that can be achieved by cancelling the full fire animation, allowing you to shoot with slow-fire weapons (e.g. deagle) much faster.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if if the glitch was enabled, or ''false'' if it is disabled.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example shows how to create command which changes setGlitchEnabled status.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function antiGlitch ( human )&lt;br /&gt;
local adminsGroup = aclGetGroup ( &amp;quot;Admin&amp;quot; )&lt;br /&gt;
local playerName = getPlayerName ( human )&lt;br /&gt;
	if ( isObjectInACLGroup ( &amp;quot;user.&amp;quot; .. playerName, aclGetGroup ( &amp;quot;Admin&amp;quot; ) ) ) then&lt;br /&gt;
		if (isGlitchEnabled( &amp;quot;quickreload&amp;quot; ) and isGlitchEnabled( &amp;quot;fastfire&amp;quot; ) == true) then&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;quickreload&amp;quot;, false )&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;fastfire&amp;quot;, false )&lt;br /&gt;
			outputChatBox ( &amp;quot;Anti-Glitch is turned off!&amp;quot; )&lt;br /&gt;
		elseif (isGlitchEnabled( &amp;quot;quickreload&amp;quot; ) and isGlitchEnabled( &amp;quot;fastfire&amp;quot; ) == false) then&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;quickreload&amp;quot;, true )&lt;br /&gt;
			setGlitchEnabled ( &amp;quot;fastfire&amp;quot;, true )&lt;br /&gt;
			outputChatBox ( &amp;quot;Anti-Glitch is turned on!&amp;quot; )&lt;br /&gt;
		end&lt;br /&gt;
	else &lt;br /&gt;
		outputChatBox ( &amp;quot;You don't have access to this command&amp;quot;, human )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;antiglitch&amp;quot;, antiGlitch )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Mz-</name></author>
	</entry>
</feed>