<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Dgs3DInterfaceDetachFromElement?action=history&amp;feed=atom</id>
	<title>Dgs3DInterfaceDetachFromElement - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Dgs3DInterfaceDetachFromElement?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DInterfaceDetachFromElement&amp;action=history"/>
	<updated>2026-04-11T16:22:05Z</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=Dgs3DInterfaceDetachFromElement&amp;diff=64434&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function detaches dgs 3d interface.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgs3DInterfaceDetachFromElement( element dgsElement ) &lt;/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DInterfaceDetachFromElement&amp;diff=64434&amp;oldid=prev"/>
		<updated>2019-09-28T15:33:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function detaches dgs 3d interface.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgs3DInterfaceDetachFromElement( element dgsElement ) &amp;lt;/...&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;
{{Client function}}&lt;br /&gt;
This function detaches dgs 3d interface.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dgs3DInterfaceDetachFromElement( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' The DGS 3D interface of which you wish to detach.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if successful, ''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;
function panelPosition()&lt;br /&gt;
	material = DGS:dgsCreate3DInterface(0,0,4,4,4,600,600,tocolor(255,255,255,255),1,0,0,_,0)&lt;br /&gt;
	DGS:dgs3DInterfaceAttachToElement(material,localPlayer,0,0,1)&lt;br /&gt;
	DGS:dgs3DInterfaceSetAttachedOffsets(material,0,0,10)&lt;br /&gt;
	DGS:dgsSetProperty(material,&amp;quot;maxDistance&amp;quot;,1000)&lt;br /&gt;
	DGS:dgsSetProperty(material,&amp;quot;fadeDistance&amp;quot;,1000)&lt;br /&gt;
	local window = DGS:dgsCreateWindow(0,0,600,600,&amp;quot;test&amp;quot;,false)&lt;br /&gt;
	DGS:dgsSetParent(window,material)&lt;br /&gt;
	setTimer(function()&lt;br /&gt;
		DGS:dgs3DInterfaceDetachFromElement(material)&lt;br /&gt;
	end,1000,1)&lt;br /&gt;
end&lt;br /&gt;
&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>