<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VK.Angel.OfDeath</id>
	<title>Vice City Multiplayer - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VK.Angel.OfDeath"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/wiki/Special:Contributions/VK.Angel.OfDeath"/>
	<updated>2026-04-09T19:27:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.GetWeaponAtSlot&amp;diff=19078</id>
		<title>Scripting/Squirrel/Functions/Player.GetWeaponAtSlot</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.GetWeaponAtSlot&amp;diff=19078"/>
		<updated>2016-03-13T12:04:08Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function is used to get the weapon ID of the weapon the player is carrying at the entered slot ID.  == Syntax ==  &amp;lt;pre&amp;gt;Player.GetWeaponAtSlot( slot );&amp;lt;/pre&amp;gt;  == Arguments...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function is used to get the weapon ID of the weapon the player is carrying at the entered slot ID.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Player.GetWeaponAtSlot( slot );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;slot&#039;&#039;&#039; - The weapon slot ID.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
    if ( cmd == &amp;quot;wepslot&amp;quot; ) // Command for calling the function.&lt;br /&gt;
    {&lt;br /&gt;
		SlotWeapons(player); &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Comments about what each Slot stores.&lt;br /&gt;
&lt;br /&gt;
Slot 0: Hats, unarmed, Brass, etc...&lt;br /&gt;
Slot 1: Katana, chainsaw, hammer, etc...&lt;br /&gt;
Slot 2: Grenades, molotov, tear gas, etc...&lt;br /&gt;
Slot 3: Colt45, Python, etc...&lt;br /&gt;
Slot 4: Stubby, Spaz, Shotgun, etc...&lt;br /&gt;
Slot 5: Uzi, MP5, Ingram, etc...&lt;br /&gt;
Slot 6: M4, Ruger, etc...&lt;br /&gt;
Slot 7: M60, RPG, Minigun, etc...&lt;br /&gt;
Slot 8: Laser sniper, sniper, etc...&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
function SlotWeapons(player)// A function containing the code.&lt;br /&gt;
{&lt;br /&gt;
	local WeaponID;&lt;br /&gt;
	for (local i = 0; i &amp;lt;= 8; i++)// Loops from slot 0 to 8.&lt;br /&gt;
	{&lt;br /&gt;
		WeaponID = player.GetWeaponAtSlot(i); // Will return the weapon ID&lt;br /&gt;
		MessagePlayer( &amp;quot;Player Weapon slot &amp;quot; + i + &amp;quot;: &amp;quot; + GetWeaponName(WeaponID), player ); // Displays the name of the weapons in each slot&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;
&lt;br /&gt;
[[onPlayerCommand]], [[Scripting/Squirrel/Functions/GetWeaponName|GetWeaponName]] and [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]] 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/Player_Functions}}&lt;/div&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=19077</id>
		<title>Scripting/Squirrel/Functions/Textdraw.Delete</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19077"/>
		<updated>2016-03-13T06:39:04Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: &lt;/p&gt;
&lt;hr /&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();&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateTextdraw&amp;diff=19076</id>
		<title>Scripting/Squirrel/Functions/CreateTextdraw</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateTextdraw&amp;diff=19076"/>
		<updated>2016-03-12T12:01:26Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will create a text that can be shown on the players screen. You have to use [[Scripting/Squirrel/Functions/Textdraw.ShowForPlayer|Textdraw.ShowForPlayer]] or [[Scripting/Squirrel/Functions/Textdraw.ShowForAll|Textdraw.ShowForAll]] to display it on the screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateTextdraw( text, x, y, color);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;str&#039;&#039; &#039;&#039;&#039;text&#039;&#039;&#039; - The text string displayed.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The x position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The y position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The hex value of a color.&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;
		CreateTextdraw( &amp;quot;Text here&amp;quot;, x, y, Color);&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]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19075</id>
		<title>Scripting/Squirrel/Functions/Textdraw.Delete</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.Delete&amp;diff=19075"/>
		<updated>2016-03-12T11:57:48Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: 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;hr /&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19074</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetColourForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19074"/>
		<updated>2016-03-12T11:53:32Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a new color for the textdraw on everyone&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetColourForAll(color);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The new color of the textdraw in hex.&lt;br /&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;randomtextcolor&amp;quot; ) // Command for setting a random textdraw color for everyone&lt;br /&gt;
	{&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.SetColourForAll( Color ); // Sets the color for everyone&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19073</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetColourForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19073"/>
		<updated>2016-03-12T11:52:59Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a new color for the textdraw on everyone&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetColourForAll(Colour);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The new color of the textdraw in hex.&lt;br /&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;randomtextcolor&amp;quot; ) // Command for setting a random textdraw color for everyone&lt;br /&gt;
	{&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.SetColourForAll( Color ); // Sets the color for everyone&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForPlayer&amp;diff=19072</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetColourForPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForPlayer&amp;diff=19072"/>
		<updated>2016-03-12T11:52:24Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will set a new color for the textdraw on a specific player&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.SetColourForPlayer(player, color);&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a new color for the textdraw on a specific player&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetColourForPlayer(player, color);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Player&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player you want to set the textdraw color for.&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The new color of the textdraw in hex.&lt;br /&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;randomtextcolor&amp;quot; ) // Command for setting a random textdraw color for the player&lt;br /&gt;
	{&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.SetColourForPlayer( player, Color ); // Sets the color for the player&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19071</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetColourForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetColourForAll&amp;diff=19071"/>
		<updated>2016-03-12T11:49:04Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will set a new color for the textdraw on everyone&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.SetColourForAll(Colour);&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;hex&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039; -...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a new color for the textdraw on everyone&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetColourForAll(Colour);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The new color of the textdraw in hex.&lt;br /&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;randomtextcolor&amp;quot; ) // Command for setting a random textdraw color for everyone&lt;br /&gt;
	{&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;
		SetColourForAll( Color ); // Sets the color for everyone&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetPosForAll&amp;diff=19070</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetPosForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetPosForAll&amp;diff=19070"/>
		<updated>2016-03-12T11:42:38Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will set the position of the textdraw on everyone&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.SetPosForAll(x, y);&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; - The new...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the position of the textdraw on everyone&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetPosForAll(x, y);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The new x position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The new y position of the textdraw on the screen.&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;textsetposall&amp;quot; ) // Command for setting the textdraw position for every player that has it shown.&lt;br /&gt;
	{&lt;br /&gt;
		Textdraw.SetPosForAll(50, 50); // sets the x &amp;amp; y pos to 50 for everyone.&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetPosForPlayer&amp;diff=19069</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetPosForPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetPosForPlayer&amp;diff=19069"/>
		<updated>2016-03-12T11:38:27Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will set the position of the textdraw on the specific player&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.SetPosForPlayer(player, x, y);&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;Pl...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the position of the textdraw on the specific player&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.SetPosForPlayer(player, x, y);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Player&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player you want the textdraw to change for.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The new x position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The new y position of the textdraw on the screen.&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;textsetpos&amp;quot; ) // Command for setting the textdraw position for the player&lt;br /&gt;
	{&lt;br /&gt;
		Textdraw.SetPosForPlayer(player, 50, 50); // sets the x &amp;amp; y pos to 50 for the player.&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.HideFromPlayer&amp;diff=19068</id>
		<title>Scripting/Squirrel/Functions/Textdraw.HideFromPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.HideFromPlayer&amp;diff=19068"/>
		<updated>2016-03-12T11:27:34Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will hide the textdraw for a specific player.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.HideFromPlayer(player);&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;Player&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;player&amp;#039;&amp;#039;&amp;#039; - The player...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will hide the textdraw for a specific player.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.HideFromPlayer(player);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Player&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player you want to hide the textdraw from.&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;hidetext&amp;quot; ) // Command for hiding the textdraw&lt;br /&gt;
	{&lt;br /&gt;
		Textdraw.HideFromPlayer(player); // Hides the textdraw for the player&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.HideFromAll&amp;diff=19067</id>
		<title>Scripting/Squirrel/Functions/Textdraw.HideFromAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.HideFromAll&amp;diff=19067"/>
		<updated>2016-03-12T11:21:52Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will hide the textdraw on everyone&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.HideFromAll();&amp;lt;/pre&amp;gt;  == Example == &amp;lt;source lang=squirrel&amp;gt; function onScriptLoad() {...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will hide the textdraw on everyone&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.HideFromAll();&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;hidetextforall&amp;quot; ) // Command for hiding the textdraw&lt;br /&gt;
	{&lt;br /&gt;
		Textdraw.HideFromAll(); // Hides the textdraw from everyone&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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForPlayer&amp;diff=19066</id>
		<title>Scripting/Squirrel/Functions/Textdraw.ShowForPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForPlayer&amp;diff=19066"/>
		<updated>2016-03-12T11:07:51Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will display the textdraw on the entered player&amp;#039;s screen.  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.ShowForPlayer( player )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;Player&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;player&amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will display the textdraw on the entered player&#039;s screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.ShowForPlayer( player )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Player&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player you want to display the textdraw to.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;textforplayer&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		local Textdraw = CreateTextdraw( &amp;quot;Text&amp;quot;, x, y, Color);&lt;br /&gt;
		Textdraw.ShowForPlayer(player);&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;
Call [[onPlayerCommand]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19065</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19065"/>
		<updated>2016-03-12T11:05:06Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a relative position of a TextDraw for all players.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;TextDraw.SetRelativeForAll( toggle )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;toggle&#039;&#039;&#039; - &#039;&#039;&#039;true&#039;&#039;&#039; or &#039;&#039;&#039;false&#039;&#039;&#039;.&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 = 0; // The x coodinate for the textdraw on the screen.&lt;br /&gt;
		local y = 0; // The y coodinate for the textdraw on the screen.&lt;br /&gt;
		local Color = 0xFFFFFFFF; // Color white&lt;br /&gt;
		local TextDraw = CreateTextdraw( &amp;quot;Text&amp;quot;, x, y, Color);&lt;br /&gt;
		TextDraw.SetRelativeForAll( true ); // Sets the position relative to all.&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;
Call [[onScriptLoad]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19064</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19064"/>
		<updated>2016-03-12T10:59:10Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a relative position of a TextDraw for all players.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;TextDraw.SetRelativeForAll( toggle )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;toggle&#039;&#039;&#039; - &#039;&#039;&#039;true&#039;&#039;&#039; or &#039;&#039;&#039;false&#039;&#039;&#039;.&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 = 0; // The x coodinate for the textdraw on the screen.&lt;br /&gt;
		local y = 0; // The y coodinate for the textdraw on the screen.&lt;br /&gt;
		local Color = 0xFFFFFFFF; // Color white&lt;br /&gt;
		local TextDraw = CreateTextdraw( &amp;quot;Text, x, y, Color);&lt;br /&gt;
		TextDraw.SetRelativeForAll( true ); // Sets the position relative to all.&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;
Call [[onScriptLoad]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForAll&amp;diff=19063</id>
		<title>Scripting/Squirrel/Functions/Textdraw.ShowForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForAll&amp;diff=19063"/>
		<updated>2016-03-12T10:57:58Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will display the textdraw on everyone&#039;s screen&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.ShowForAll();&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;
		local Textdraw = 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;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
[[onScriptLoad]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForAll&amp;diff=19062</id>
		<title>Scripting/Squirrel/Functions/Textdraw.ShowForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.ShowForAll&amp;diff=19062"/>
		<updated>2016-03-12T10:51:09Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will display the textdraw on everyone&amp;#039;s screen  == Syntax ==  &amp;lt;pre&amp;gt;Textdraw.ShowForAll();&amp;lt;/pre&amp;gt;  == Example == &amp;lt;source lang=squirrel&amp;gt; function onScriptLoad() {...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will display the textdraw on everyone&#039;s screen&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Textdraw.ShowForAll();&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;
		local Textdraw = 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;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
[[onScriptLoad]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateTextdraw&amp;diff=19061</id>
		<title>Scripting/Squirrel/Functions/CreateTextdraw</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateTextdraw&amp;diff=19061"/>
		<updated>2016-03-12T10:45:55Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will create a text that can be shown on the players screen. You have to use Textdraw.ShowForPlayer or Textdraw.ShowForAll to display it on the screen.  =...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will create a text that can be shown on the players screen. You have to use [[Textdraw.ShowForPlayer]] or [[Textdraw.ShowForAll]] to display it on the screen.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateTextdraw( text, x, y, color);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;str&#039;&#039; &#039;&#039;&#039;text&#039;&#039;&#039; - The text string displayed.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The x position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The y position of the textdraw on the screen.&lt;br /&gt;
* &#039;&#039;hex&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The hex value of a color.&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;
		CreateTextdraw( &amp;quot;Text here&amp;quot;, x, y, Color);&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]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19060</id>
		<title>Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Textdraw.SetRelativeForAll&amp;diff=19060"/>
		<updated>2016-03-12T10:18:12Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;This function will set a relative position of a TextDraw for all players.  == Syntax ==  &amp;lt;pre&amp;gt;TextDraw.SetRelativeForAll( toggle )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;toggle...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a relative position of a TextDraw for all players.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;TextDraw.SetRelativeForAll( toggle )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;toggle&#039;&#039;&#039; - &#039;&#039;&#039;true&#039;&#039;&#039; or &#039;&#039;&#039;false&#039;&#039;&#039;.&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 = 0; // The x coodinate for the textdraw on the screen.&lt;br /&gt;
		local y = 0; // The y coodinate for the textdraw on the screen.&lt;br /&gt;
		local Color = 0xFFFFFFFF; // Color white&lt;br /&gt;
		local TextDraw = CreateTextdraw( &amp;quot;Text, x, y, Color);&lt;br /&gt;
		TextDraw.SetRelativeForAll( true ); // Sets the position relative to all.&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;
Call [[onScriptLoad]] 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>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetSQLNextRow&amp;diff=19031</id>
		<title>Scripting/Squirrel/Functions/GetSQLNextRow</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetSQLNextRow&amp;diff=19031"/>
		<updated>2016-03-10T19:56:59Z</updated>

		<summary type="html">&lt;p&gt;VK.Angel.OfDeath: Created page with &amp;quot;Calling GetSQLNextRow switches from the current row in a query to the next row, which allows you to read from that row with GetSQLColumnData.  == Syntax ==  &amp;lt;pre&amp;gt;function GetS...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Calling GetSQLNextRow switches from the current row in a query to the next row, which allows you to read from that row with GetSQLColumnData.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function GetSQLNextRow( query )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
* &#039;&#039;&#039;Query&#039;&#039;&#039; - A reference to the query that was previously executed.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function GetAlias( uniqueid )&lt;br /&gt;
{&lt;br /&gt;
	local query = QuerySQL(sdb, &amp;quot;SELECT namecolumn FROM tablename WHERE uniqueidcolumn = &#039;&amp;quot; + uniqueid + &amp;quot;&#039;&amp;quot;); // Selects all the rows that has the same uniqueid as the entered value.&lt;br /&gt;
	local string = GetSQLColumnData(query, 0); // Stores the first name.&lt;br /&gt;
	&lt;br /&gt;
	while (GetSQLNextRow(query)) // Gets the second name when the loop starts and continues getting the next row after that until no rows are left.&lt;br /&gt;
	{&lt;br /&gt;
		&lt;br /&gt;
		string += &amp;quot;, &amp;quot; + GetSQLColumnData(query, 0);&lt;br /&gt;
	}&lt;br /&gt;
	string += &amp;quot;.&amp;quot;;&lt;br /&gt;
	return string; // Returns the string containing the aliases. &lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/SQLite Functions}}&lt;/div&gt;</summary>
		<author><name>VK.Angel.OfDeath</name></author>
	</entry>
</feed>