<?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=Vehicle%3A%3AisSirenOn</id>
	<title>Vehicle::isSirenOn - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Vehicle%3A%3AisSirenOn"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Vehicle::isSirenOn&amp;action=history"/>
	<updated>2026-07-24T20:43:20Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Vehicle::isSirenOn&amp;diff=15992&amp;oldid=prev</id>
		<title>imported&gt;Loulou123546: add description</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Vehicle::isSirenOn&amp;diff=15992&amp;oldid=prev"/>
		<updated>2019-07-14T14:54:46Z</updated>

		<summary type="html">&lt;p&gt;add description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Return true if siren (or flashlights) are enabled, false if not&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.isSirenOn();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Boolean&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var MyCarSiren = false&lt;br /&gt;
&lt;br /&gt;
setInterval(() =&amp;gt; {&lt;br /&gt;
    if(mp.players.local.vehicle.isSirenOn() != MyCarSiren){&lt;br /&gt;
        MyCarSiren = mp.players.local.vehicle.isSirenOn()&lt;br /&gt;
&lt;br /&gt;
        // Here you can do an action when user toggle ON/OFF sirens&lt;br /&gt;
&lt;br /&gt;
        // You can use this to sync siren between users&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
}, 1000)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Vehicle_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Loulou123546</name></author>
	</entry>
</feed>