<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsGetClickingSound?action=history&amp;feed=atom</id>
	<title>DgsGetClickingSound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsGetClickingSound?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGetClickingSound&amp;action=history"/>
	<updated>2026-04-11T22:09:54Z</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=DgsGetClickingSound&amp;diff=73176&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client function}} __NOTOC__ This function gets the clicking sound that has already been applied.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; string dgsGetClickingSound( element dgsElement ) &lt;/syntaxhighlight&gt;  ===Required Arguments===  *'''dgsElement:''' The dgs element you want to get from.  ===Returns=== Returns a string if there is a clicking sound applied, ''false'' otherwise.  ==Example== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; DGS = exports.dgs   btn = DGS:dgsCreateButton(0.2...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGetClickingSound&amp;diff=73176&amp;oldid=prev"/>
		<updated>2021-12-20T02:44:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}} __NOTOC__ This function gets the clicking sound that has already been applied.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string dgsGetClickingSound( element dgsElement ) &amp;lt;/syntaxhighlight&amp;gt;  ===Required Arguments===  *&amp;#039;&amp;#039;&amp;#039;dgsElement:&amp;#039;&amp;#039;&amp;#039; The dgs element you want to get from.  ===Returns=== Returns a string if there is a clicking sound applied, &amp;#039;&amp;#039;false&amp;#039;&amp;#039; otherwise.  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; DGS = exports.dgs   btn = DGS:dgsCreateButton(0.2...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function gets the clicking sound that has already been applied.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string dgsGetClickingSound( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' The dgs element you want to get from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string if there is a clicking sound applied, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
&lt;br /&gt;
btn = DGS:dgsCreateButton(0.29, 0.30, 0.44, 0.04, &amp;quot;Click me&amp;quot;, true)&lt;br /&gt;
DGS:dgsSetClickingSound(btn,&amp;quot;test.wav&amp;quot;) --You can add a sound file for test&lt;br /&gt;
outputChatBox(DGS:dgsGetClickingSound(btn)) --test.wav&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>