<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/OnDgsColorPickerChange?action=history&amp;feed=atom</id>
	<title>OnDgsColorPickerChange - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/OnDgsColorPickerChange?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsColorPickerChange&amp;action=history"/>
	<updated>2026-05-16T20:33:04Z</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=OnDgsColorPickerChange&amp;diff=63468&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client event}} __NOTOC__  This event is called when the color of a dgs color picker changes.  ==Parameters== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; element theElement &lt;/syntaxhighligh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsColorPickerChange&amp;diff=63468&amp;oldid=prev"/>
		<updated>2019-07-26T10:45:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client event}} __NOTOC__  This event is called when the color of a dgs color picker changes.  ==Parameters== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element theElement &amp;lt;/syntaxhighligh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is called when the color of a dgs color picker changes.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element theElement&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''theElement:''' The dgs color picker whose color gets changed&lt;br /&gt;
*'''oldRGB:''' The RGB color before the change.&lt;br /&gt;
*'''oldHSL:''' The HSLcolor before the change.&lt;br /&gt;
*'''oldHSV:''' The HSVcolor before the change.&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;
cp = DGS:dgsCreateColorPicker(&amp;quot;HSVRing&amp;quot;,50,50,300,300,false)&lt;br /&gt;
addEventHandler(&amp;quot;onDgsColorPickerChange&amp;quot;,cp,function(RGB,HSL,HSV)&lt;br /&gt;
  outputChatBox(&amp;quot;Old RGB:(&amp;quot;..RGB[1]..&amp;quot;,&amp;quot;..RGB[2]..&amp;quot;,&amp;quot;..RGB[3]..&amp;quot;)&amp;quot;)&lt;br /&gt;
end,false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSEVENTS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>