<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Dgs3DLineSetItemWidth?action=history&amp;feed=atom</id>
	<title>Dgs3DLineSetItemWidth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Dgs3DLineSetItemWidth?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DLineSetItemWidth&amp;action=history"/>
	<updated>2026-04-12T23:03:33Z</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=Dgs3DLineSetItemWidth&amp;diff=75982&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function sets the width of the specified item of DGS 3D Line.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgs3DLineSetItemWidth( element line3D, int index, float width ) &lt;/syntaxhighlight&gt;   ===Required Arguments===  *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''width :''' A float of the width of the item.  ===Returns=== Returns ''true'' if successful, ''false'' otherwise.  ==Example==  &lt;sy...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DLineSetItemWidth&amp;diff=75982&amp;oldid=prev"/>
		<updated>2023-01-10T11:59:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function sets the width of the specified item of DGS 3D Line.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgs3DLineSetItemWidth( element line3D, int index, float width ) &amp;lt;/syntaxhighlight&amp;gt;   ===Required Arguments===  *&amp;#039;&amp;#039;&amp;#039;line3D&amp;#039;&amp;#039;&amp;#039;: The DGS 3D Line element. *&amp;#039;&amp;#039;&amp;#039;index&amp;#039;&amp;#039;&amp;#039;: The item index of DGS 3D Line. *&amp;#039;&amp;#039;&amp;#039;width :&amp;#039;&amp;#039;&amp;#039; A float of the width of the item.  ===Returns=== Returns &amp;#039;&amp;#039;true&amp;#039;&amp;#039; if successful, &amp;#039;&amp;#039;false&amp;#039;&amp;#039; otherwise.  ==Example==  &amp;lt;sy...&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 sets the width of the specified item of DGS 3D Line.&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 dgs3DLineSetItemWidth( element line3D, int index, float width )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''line3D''': The DGS 3D Line element.&lt;br /&gt;
*'''index''': The item index of DGS 3D Line.&lt;br /&gt;
*'''width :''' A float of the width of the item.&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;
line = DGS:dgsCreate3DLine(0,0,4,0,0,45,tocolor(255,255,255,255),2,100)&lt;br /&gt;
local i = 1&lt;br /&gt;
DGS:dgs3DLineAddItem(line,4,0,0,math.cos(i/200*math.pi*2)*4,math.sin(i/200*math.pi*2)*4,0,4,tocolor(i/200*255,255-i/200*255,0,255),true)&lt;br /&gt;
for i=2,200 do&lt;br /&gt;
	DGS:dgs3DLineAddItem(line,_,_,_,math.cos(i/200*math.pi*2)*4,math.sin(i/200*math.pi*2)*4,0,4,tocolor(i/200*255,255-i/200*255,0,255),true)&lt;br /&gt;
end&lt;br /&gt;
DGS:dgs3DLineSetItemWidth(line,1,10)&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>