<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AisSpecialAbilityActive</id>
	<title>Player::isSpecialAbilityActive - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AisSpecialAbilityActive"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Player::isSpecialAbilityActive&amp;action=history"/>
	<updated>2026-07-24T19:17:54Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Player::isSpecialAbilityActive&amp;diff=11974&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 18:51, 5 ноября 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Player::isSpecialAbilityActive&amp;diff=11974&amp;oldid=prev"/>
		<updated>2024-11-05T18:51:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This function checks if the player’s special ability is currently active. Special abilities are unique powers available in single-player modes, such as invincibility or increased accuracy. While these abilities may not have full functionality in RageMP, this function can be used to detect whether any such state is active, which could be helpful for custom mechanics or game events.&lt;br /&gt;
&lt;br /&gt;
===Required Params===&lt;br /&gt;
* None&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{RageType|boolean}}&amp;#039;&amp;#039;&amp;#039; - Returns `true` if the player&amp;#039;s special ability is active, otherwise `false`.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.player.isSpecialAbilityActive();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example checks the special ability&amp;#039;s status and logs it to the console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const isActive = mp.game.player.isSpecialAbilityActive();&lt;br /&gt;
mp.gui.chat.push(`Special ability active: ${isActive}`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>