<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/RO/setSoundVolume?action=history&amp;feed=atom</id>
	<title>RO/setSoundVolume - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/RO/setSoundVolume?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/setSoundVolume&amp;action=history"/>
	<updated>2026-04-15T00:02:03Z</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=RO/setSoundVolume&amp;diff=82685&amp;oldid=prev</id>
		<title>Vinyard: Changes due to updates on the EN version of the page.</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/setSoundVolume&amp;diff=82685&amp;oldid=prev"/>
		<updated>2026-01-02T15:31:05Z</updated>

		<summary type="html">&lt;p&gt;Changes due to updates on the EN version of the page.&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 15:31, 2 January 2026&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-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&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;&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&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;&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;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;function wasted (killer, weapon, bodypart)&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;function wasted (killer, weapon, bodypart)&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        &lt;/del&gt;local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) -- Redă &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sunetul &lt;/del&gt;wasted.mp3 din &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fișierul &lt;/del&gt;sounds&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;&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;    &lt;/ins&gt;local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) -- Redă wasted.mp3 din &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dosarul intitulat '&lt;/ins&gt;sounds&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;    if isElement(sound) then&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;         setSoundVolume(sound, 0.5) -- Setează volumul sunetului la 50%;&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;         setSoundVolume(sound, 0.5) -- Setează volumul sunetului la 50%;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;    end&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;end&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;end&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;addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, localPlayer, wasted) -- Adaugă un declanșator evenimentului.&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;addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, localPlayer, wasted) -- Adaugă un declanșator evenimentului.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-62106:rev-82685 --&gt;
&lt;/table&gt;</summary>
		<author><name>Vinyard</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RO/setSoundVolume&amp;diff=62106&amp;oldid=prev</id>
		<title>Vinyard: Created page with &quot;__NOTOC__  {{RO/Funcție client}} Această funcție este utilizată pentru a schimba volumul unui element de tip sound specificat. Dacă elementul este jucătorul, fun...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/setSoundVolume&amp;diff=62106&amp;oldid=prev"/>
		<updated>2019-01-30T19:37:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{RO/Funcție client}} Această funcție este utilizată pentru a schimba volumul unui &lt;a href=&quot;/wiki/Element&quot; title=&quot;Element&quot;&gt;element&lt;/a&gt; de tip &lt;a href=&quot;/wiki/Sound&quot; class=&quot;mw-redirect&quot; title=&quot;Sound&quot;&gt;sound&lt;/a&gt; specificat. Dacă elementul este jucătorul, fun...&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;
{{RO/Funcție client}}&lt;br /&gt;
Această funcție este utilizată pentru a schimba volumul unui [[element]] de tip [[sound]] specificat.&lt;br /&gt;
Dacă elementul este jucătorul, funcția va modifica volumul pentru vocea jucătorului.&lt;br /&gt;
&lt;br /&gt;
==Sintaxă== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setSoundVolume (element sunet, float volum)&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[sound]]:setVolume|volume|getSoundVolume}}&lt;br /&gt;
===Argumente Necesare=== &lt;br /&gt;
*'''sunet:''' Un [[element]] de tip [[sound]] a cărui volum trebuie modificat.&lt;br /&gt;
*'''volum:''' Un număr de tip [[float]] reprezentând nivelul de volum. Raza de acțiunea este între '''0.0''' și '''1.0'''. Se poate depăși valoarea de '''1.0''' pentru amplificare.&lt;br /&gt;
&lt;br /&gt;
===Redare===&lt;br /&gt;
Redă ''true'' dacă [[element]]-ul de tip [[sound]] a fost modificat cu succes. În caz contrar, ''false''.&lt;br /&gt;
&lt;br /&gt;
==Exemplu== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function wasted (killer, weapon, bodypart)&lt;br /&gt;
        local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) -- Redă sunetul wasted.mp3 din fișierul sounds;&lt;br /&gt;
        setSoundVolume(sound, 0.5) -- Setează volumul sunetului la 50%;&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, localPlayer, wasted) -- Adaugă un declanșator evenimentului.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{RO/ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.2|Adăugat elementul 'jucător' pentru a utiliza vocea jucătorului}}&lt;br /&gt;
&lt;br /&gt;
==Vizualizați de asemenea==&lt;br /&gt;
{{RO/Funcții_audio_client}}&lt;br /&gt;
[[EN:setSoundVolume]]&lt;br /&gt;
[[hu:setSoundVolume]]&lt;br /&gt;
[[AR:setSoundVolume]]&lt;/div&gt;</summary>
		<author><name>Vinyard</name></author>
	</entry>
</feed>