<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DE/isSoundPaused?action=history&amp;feed=atom</id>
	<title>DE/isSoundPaused - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DE/isSoundPaused?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DE/isSoundPaused&amp;action=history"/>
	<updated>2026-04-15T21:26:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DE/isSoundPaused&amp;diff=49640&amp;oldid=prev</id>
		<title>Crowd: Created page with &quot;__NOTOC__  {{DE/Client function}} Diese Funktion gibt zurück ob das jeweilige Sound Element pausiert ist.  {{New feature/item|3.0132|1.3.2|| Wenn das Element ein Spie...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DE/isSoundPaused&amp;diff=49640&amp;oldid=prev"/>
		<updated>2016-10-24T12:35:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{DE/Client function}} Diese Funktion gibt zurück ob das jeweilige &lt;a href=&quot;/wiki/Sound&quot; class=&quot;mw-redirect&quot; title=&quot;Sound&quot;&gt;Sound&lt;/a&gt; &lt;a href=&quot;/wiki/Element&quot; title=&quot;Element&quot;&gt;Element&lt;/a&gt; pausiert ist.  {{New feature/item|3.0132|1.3.2|| Wenn das Element ein Spie...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{DE/Client function}}&lt;br /&gt;
Diese Funktion gibt zurück ob das jeweilige [[Sound]] [[Element]] pausiert ist.&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0132|1.3.2||&lt;br /&gt;
Wenn das Element ein Spieler ([[player]]) ist, gibt die Funktion die Stimme des Spielers zurück.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isSoundPaused ( element theSound )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{DE/OOP||[[sound]]:isPaused|paused|setSoundPaused}}&lt;br /&gt;
===Benötigte Argumente=== &lt;br /&gt;
*'''theSound:''' ein [[Sound]] [[Element]] von welchem du den Pause Status abrufen möchtest.&lt;br /&gt;
&lt;br /&gt;
===Rückgabe===&lt;br /&gt;
Gibt ''true'' zurück wenn das [[Sound]] [[Element]] pausiert ist, ''false'' wenn es nicht pausiert ist oder die Argumente ungültig sind.&lt;br /&gt;
&lt;br /&gt;
==Beispiel== &lt;br /&gt;
Dieses Beispiel prüft ob der Sound pausiert ist oder nicht und gibt es dem Spieler aus.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
theSound = playSound(&amp;quot;music/song.mp3&amp;quot;)&lt;br /&gt;
function checkSongPause()&lt;br /&gt;
    local pause = isSoundPaused(theSound)&lt;br /&gt;
    if(pause == true) then&lt;br /&gt;
        outputChatBox(&amp;quot;Der Sound ist pausiert!&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Der Sound ist nicht pausiert!&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;checkpause&amp;quot;, checkSongPause)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{DE/ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|Spieler Element für die Stimme hinzugefügt}}&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
{{DE/Client_audio_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:isSoundPaused]]&lt;/div&gt;</summary>
		<author><name>Crowd</name></author>
	</entry>
</feed>