<?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=Audio%3A%3AisMobilePhoneCallOngoing</id>
	<title>Audio::isMobilePhoneCallOngoing - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Audio%3A%3AisMobilePhoneCallOngoing"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Audio::isMobilePhoneCallOngoing&amp;action=history"/>
	<updated>2026-07-24T20:12:09Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Audio::isMobilePhoneCallOngoing&amp;diff=87&amp;oldid=prev</id>
		<title>imported&gt;Caballero в 20:43, 6 октября 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Audio::isMobilePhoneCallOngoing&amp;diff=87&amp;oldid=prev"/>
		<updated>2024-10-06T20:43:28Z</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;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&amp;#039; — Returns `true` if a mobile phone call is currently ongoing, otherwise returns `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;
// Function to check if a mobile phone call is ongoing&lt;br /&gt;
function checkMobilePhoneCall() {&lt;br /&gt;
    // Check if a mobile phone call is ongoing&lt;br /&gt;
    let isCallOngoing = mp.game.audio.isMobilePhoneCallOngoing();&lt;br /&gt;
&lt;br /&gt;
    // Notify the player about the call status&lt;br /&gt;
    if (isCallOngoing) {&lt;br /&gt;
        mp.gui.chat.push(&amp;quot;You are currently on a phone call.&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        mp.gui.chat.push(&amp;quot;You are not on a phone call.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Bind the function to a key (the &amp;quot;E&amp;quot; key)&lt;br /&gt;
mp.keys.bind(69, false, function() { // 69 is the key code for &amp;quot;E&amp;quot;&lt;br /&gt;
    checkMobilePhoneCall(); // Call the function to check the phone call status&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Audio_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Caballero</name></author>
	</entry>
</feed>