<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FFunctions%2FTextdraw.Delete</id>
	<title>Scripting/Squirrel/Functions/Textdraw.Delete - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FFunctions%2FTextdraw.Delete"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;action=history"/>
	<updated>2026-04-09T21:16:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19077&amp;oldid=prev</id>
		<title>VK.Angel.OfDeath at 06:39, 13 March 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19077&amp;oldid=prev"/>
		<updated>2016-03-13T06:39:04Z</updated>

		<summary type="html">&lt;p&gt;&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 06:39, 13 March 2016&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;== Syntax ==&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;== Syntax ==&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;br&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;br&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;&amp;lt;pre&amp;gt;Textdraw.Delete(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;player&lt;/del&gt;);&amp;lt;/pre&amp;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;&amp;lt;pre&amp;gt;Textdraw.Delete();&amp;lt;/pre&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;br&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;br&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;== Example ==&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;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>VK.Angel.OfDeath</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19075&amp;oldid=prev</id>
		<title>VK.Angel.OfDeath: Created page with &quot;This function will delete the textdraw.  == Syntax ==  &lt;pre&gt;Textdraw.Delete(player);&lt;/pre&gt;  == Example == &lt;source lang=squirrel&gt; function onScriptLoad() { 		local x = 100; //...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19075&amp;oldid=prev"/>
		<updated>2016-03-12T11:57:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This function will delete the textdraw.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.Delete(player);&amp;lt;/pre&amp;gt;  == Example == &amp;lt;source lang=squirrel&amp;gt; function onScriptLoad() { 		local x = 100; //...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will delete the textdraw.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.Delete(player);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
		local x = 100; // The x coodinate for the textdraw on the screen.&lt;br /&gt;
		local y = 100; // The y coodinate for the textdraw on the screen.&lt;br /&gt;
		local Color; // The color&lt;br /&gt;
		switch(Random(1,5)) // Selects a random color&lt;br /&gt;
		{&lt;br /&gt;
			case 1: &lt;br /&gt;
				Color = 0xFFFFFFFF; // Color white&lt;br /&gt;
				break;&lt;br /&gt;
			case 2:&lt;br /&gt;
				Color = 0xFFFF0000; // Color red&lt;br /&gt;
				break;&lt;br /&gt;
			case 3:&lt;br /&gt;
				Color = 0xFF00FF00; // Color green&lt;br /&gt;
				break;&lt;br /&gt;
			case 4:&lt;br /&gt;
				Color = 0xFFFFFF00; // Color yellow&lt;br /&gt;
				break;&lt;br /&gt;
			case 5:&lt;br /&gt;
				Color = 0xFF00BFFF; // Color blue&lt;br /&gt;
				break;&lt;br /&gt;
	&lt;br /&gt;
		}&lt;br /&gt;
		Textdraw &amp;lt;- CreateTextdraw( &amp;quot;Text here&amp;quot;, x, y, Color); // Creates a textdraw with a random color&lt;br /&gt;
		Textdraw.ShowForAll(); // Shows the textdraw for all players.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;textdelete&amp;quot; ) // Command for deleting the textdraw&lt;br /&gt;
	{&lt;br /&gt;
		Textdraw.Delete();&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
[[onScriptLoad]], [[onPlayerCommand]], [[Scripting/Squirrel/Functions/Textdraw.ShowForAll|Textdraw.ShowForAll]] and [[Scripting/Squirrel/Functions/CreateTextdraw|CreateTextdraw]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Textdraw_Functions}}&lt;/div&gt;</summary>
		<author><name>VK.Angel.OfDeath</name></author>
	</entry>
</feed>