<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PT-BR/setSoundEffectEnabled?action=history&amp;feed=atom</id>
	<title>PT-BR/setSoundEffectEnabled - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PT-BR/setSoundEffectEnabled?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PT-BR/setSoundEffectEnabled&amp;action=history"/>
	<updated>2026-04-16T17:45:34Z</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=PT-BR/setSoundEffectEnabled&amp;diff=76355&amp;oldid=prev</id>
		<title>LordHenry at 20:12, 1 April 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PT-BR/setSoundEffectEnabled&amp;diff=76355&amp;oldid=prev"/>
		<updated>2023-04-01T20:12:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:12, 1 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{BR/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Funcao cliente&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PT-&lt;/ins&gt;BR/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Client_function&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Usado para habilitar ou desabilitar um efeito [[sound|sonoro]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Usado para habilitar ou desabilitar um efeito [[sound|sonoro]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{New feature/item|3.0132|1.3.2||&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{New feature/item|3.0132|1.3.2||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-71882:rev-76355 --&gt;
&lt;/table&gt;</summary>
		<author><name>LordHenry</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PT-BR/setSoundEffectEnabled&amp;diff=71882&amp;oldid=prev</id>
		<title>Alvesvin: Created page with &quot;__NOTOC__  {{BR/Funcao cliente}} Usado para habilitar ou desabilitar um efeito sonoro. {{New feature/item|3.0132|1.3.2|| Utilize um elemento de jogador no...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PT-BR/setSoundEffectEnabled&amp;diff=71882&amp;oldid=prev"/>
		<updated>2021-08-19T01:31:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{BR/Funcao cliente}} Usado para habilitar ou desabilitar um efeito &lt;a href=&quot;/wiki/Sound&quot; class=&quot;mw-redirect&quot; title=&quot;Sound&quot;&gt;sonoro&lt;/a&gt;. {{New feature/item|3.0132|1.3.2|| Utilize um elemento de &lt;a href=&quot;/wiki/Player&quot; class=&quot;mw-redirect&quot; title=&quot;Player&quot;&gt;jogador&lt;/a&gt; no...&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;
{{BR/Funcao cliente}}&lt;br /&gt;
Usado para habilitar ou desabilitar um efeito [[sound|sonoro]].&lt;br /&gt;
{{New feature/item|3.0132|1.3.2||&lt;br /&gt;
Utilize um elemento de [[player|jogador]] no primeiro argumento para controlar a transmissão de sua [[Resource:Voice|voz]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Sintaxe== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundEffectEnabled ( element audio/jogador, string efeito, bool habilitado )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{BR/OOP||[[sound|audio]]:setEffectEnabled}}&lt;br /&gt;
&lt;br /&gt;
===Argumentos necessários=== &lt;br /&gt;
*'''audio/jogador:''' um elemento de [[sound|áudio]] ou [[player|jogador]].&lt;br /&gt;
*'''efeito:''' o nome do efeito que você quer habilitar ou desabilitar. Valores possíveis são:&lt;br /&gt;
{{Sound_Effects}}&lt;br /&gt;
&lt;br /&gt;
*'''habilitado:''' ''true'' se você quer habilitar, ''false'' se quer desabilitar.&lt;br /&gt;
&lt;br /&gt;
===Retorno===&lt;br /&gt;
Retorna ''true'' se o estado do efeito sonoro foi mudado com sucesso, do contrário retorna ''false''.&lt;br /&gt;
&lt;br /&gt;
==Exemplo== &lt;br /&gt;
Este exemplo cria um áudio e adiciona o efeito 'echo' à ele.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Cliente&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;
local audio = playSound(&amp;quot;audio.mp3&amp;quot;)&lt;br /&gt;
setSoundEffectEnabled(audio, &amp;quot;echo&amp;quot;, true)&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;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|Added player element for voice control}}&lt;br /&gt;
&lt;br /&gt;
==Veja também==&lt;br /&gt;
{{PT-BR/Funcoes_audio_client}}&lt;br /&gt;
&lt;br /&gt;
[[EN:setSoundEffectEnabled]]&lt;br /&gt;
[[HU:setSoundEffectEnabled]]&lt;br /&gt;
[[AR:setSoundEffectEnabled]]&lt;br /&gt;
[[RO:setSoundEffectEnabled]]&lt;/div&gt;</summary>
		<author><name>Alvesvin</name></author>
	</entry>
</feed>