<?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=ProsuWANTED</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=ProsuWANTED"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/wiki/Special:Contributions/ProsuWANTED"/>
	<updated>2026-04-23T04:19:26Z</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.Action&amp;diff=19491</id>
		<title>Scripting/Squirrel/Functions/Player.Action</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.Action&amp;diff=19491"/>
		<updated>2016-11-14T15:00:36Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Argument fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the action of any player as integer.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;pre&amp;gt;Player.Action&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - the instance of the player.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example shows the current action of you.&lt;br /&gt;
&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;action&amp;quot; )&lt;br /&gt;
    {&lt;br /&gt;
        ClientMessage( &amp;quot;Your current action &amp;quot;+player.Action , player,255,255,255 );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[Scripting/Squirrel/Events/Player/OnPlayerCommand|onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19490</id>
		<title>User:ProsuWANTED</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19490"/>
		<updated>2016-11-14T14:59:18Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A person that likes video games.&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
Who cares.&lt;br /&gt;
&lt;br /&gt;
== Stuff I want to be in the wiki ==&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
*[[Scripting/Squirrel/Functions/FindObject|FindObject]] ✓ (Done in 7th of August 2015, supposedly inspired by my [[Scripting/Squirrel/Functions/FindPickup|FindPickup page]])&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Colour|Player.Colour]] ✓ (Done in 4th of March 2016)&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.AimPos|Player.AimPos]]&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Action|Player.Action]] ✓&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.SetWeapon|Player.SetWeapon]] ✓ (Created in 13th of February 2016, but is barely done.)&lt;br /&gt;
&lt;br /&gt;
=== Events ===&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;None&#039;&#039;&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=19489</id>
		<title>OnPlayerCommand</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=19489"/>
		<updated>2016-11-14T14:56:49Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This is called when a player uses a command.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerCommand( player, cmd, parameters )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that used the command.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;cmd&#039;&#039;&#039; - The command that player used.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;text&#039;&#039;&#039; - List of command parameters as string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example command heal the player if they type &#039;&#039;&#039;/heal&#039;&#039;&#039;.&lt;br /&gt;
&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;heal&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  if ( player.Health == 100 ) PrivMessage( player, &amp;quot;You have the health to maximum.&amp;quot;);&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
   PrivMessage( player, &amp;quot;You healed successfully.&amp;quot;);&lt;br /&gt;
   player.Health = 100;&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Events ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=19488</id>
		<title>OnPlayerCommand</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=19488"/>
		<updated>2016-11-14T14:56:03Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Fixed arguments. (again)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This is called when a player uses a command.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerCommand( player, cmd, parameters )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that used the command.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;cmd&#039;&#039;&#039; - The command that player used.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;parameters&#039;&#039;&#039; - List of command parameters as string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example command heal the player if they type &#039;&#039;&#039;/heal&#039;&#039;&#039;.&lt;br /&gt;
&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;heal&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  if ( player.Health == 100 ) PrivMessage( player, &amp;quot;You have the health to maximum.&amp;quot;);&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
   PrivMessage( player, &amp;quot;You healed successfully.&amp;quot;);&lt;br /&gt;
   player.Health = 100;&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Events ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vehicle.Wrecked&amp;diff=19487</id>
		<title>Scripting/Squirrel/Functions/Vehicle.Wrecked</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vehicle.Wrecked&amp;diff=19487"/>
		<updated>2016-11-14T13:29:06Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: removed signature.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns if Vehicle is wrecked or not.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&#039;&#039;&#039;Vehicle.Wrecked&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Arguements ==&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;toggled&#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=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
if ( cmd == &amp;quot;checkcar&amp;quot; )&lt;br /&gt;
{&lt;br /&gt;
if ( !text ) MessagePlayer(&amp;quot;Syntax: /&amp;quot; + cmd + &amp;quot; [Vehicle ID]&amp;quot;, player );&lt;br /&gt;
else {&lt;br /&gt;
local veh = FindVehicle( text.tointeger() );&lt;br /&gt;
if ( !veh ) MessagePlayer(&amp;quot;ERROR --&amp;gt; Invalid Vehicle/ID.&amp;quot;, player );&lt;br /&gt;
else{&lt;br /&gt;
MessagePlayer(veh.Wrecked+&amp;quot;&amp;quot;,player);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/FindSphere&amp;diff=19110</id>
		<title>Scripting/Squirrel/Functions/FindSphere</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/FindSphere&amp;diff=19110"/>
		<updated>2016-03-14T20:41:49Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Retrieve a sphere object from sphere&#039;s ID.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;FindSphere( id )&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;id&#039;&#039;&#039; - The sphere&#039;s 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;sphere&amp;quot; )&lt;br /&gt;
    {&lt;br /&gt;
         local sphere = FindSphere( text );&lt;br /&gt;
&lt;br /&gt;
         if ( !sphere ) MessagePlayer( &amp;quot;[#ffffff]Can&#039;t find sphere &amp;quot; + text + &amp;quot;.&amp;quot;, player );&lt;br /&gt;
         else player.Pos = sphere.Pos;&lt;br /&gt;
         MessagePlayer( &amp;quot;[#ffffff] Teleport to sphere &amp;quot; + text + &amp;quot;.&amp;quot;, player );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] 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/Sphere_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19058</id>
		<title>User:ProsuWANTED</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19058"/>
		<updated>2016-03-11T17:09:11Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A person that likes video games.&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m a &#039;&#039;&#039;fat person&#039;&#039;&#039; and I like to play GTA:VC.&lt;br /&gt;
Why am I alive? IDK.&lt;br /&gt;
&lt;br /&gt;
== Stuff I want to be in the wiki ==&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
*[[Scripting/Squirrel/Functions/FindObject|FindObject]] ✓ (Done in 7th of August 2015, supposedly inspired by my [[Scripting/Squirrel/Functions/FindPickup|FindPickup page]])&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Colour|Player.Colour]] ✓ (Done in 4th of March 2016)&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.AimPos|Player.AimPos]]&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Action|Player.Action]]&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.SetWeapon|Player.SetWeapon]] ✓ (Created in 13th of February 2016, but is barely done.)&lt;br /&gt;
&lt;br /&gt;
=== Events ===&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;None&#039;&#039;&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19057</id>
		<title>User:ProsuWANTED</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=User:ProsuWANTED&amp;diff=19057"/>
		<updated>2016-03-11T17:07:33Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A person that likes video games.&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m a &#039;&#039;&#039;fat person&#039;&#039;&#039; and I like to play GTA:VC.&lt;br /&gt;
Why am I alive? IDK.&lt;br /&gt;
&lt;br /&gt;
== Stuff I want to be in the wiki ==&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
*[[Scripting/Squirrel/Functions/FindObject|FindObject]] ✓ (Done in 7th of August 2015, supposedly inspired by my [[Scripting/Squirrel/Functions/FindPickup|FindPickup page]])&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Colour|Player.Colour]] ✓ (Done in 4th of March 2016)&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.AimPos|Player.AimPos]]&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.Action|Player.Action]]&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Player.SetWeapon|Player.SetWeapon]] ✓ (Created, but is barely done in 13th of February 2016)&lt;br /&gt;
&lt;br /&gt;
=== Events ===&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;None&#039;&#039;&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18702</id>
		<title>Scripting/Squirrel/Functions/NewTimer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18702"/>
		<updated>2015-10-30T15:57:47Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;NewTimer( func, time, repeat, ... );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;func&#039;&#039;&#039; - the function to call when the timer ends (in a string format)&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time before the function call&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;repeat&#039;&#039;&#039; - how many times to repeat the process (1 just to execute once)&lt;br /&gt;
* &#039;&#039;&#039;...&#039;&#039;&#039; - function (func) parameters&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;count&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		Message( &amp;quot;[#ffffff]&amp;lt;&amp;lt;&amp;lt;Odliczanie&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;quot; );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 1000, 1, &amp;quot;-&amp;gt; 3&amp;quot;,28, 255, 11 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 2000, 1, &amp;quot;-&amp;gt; 2&amp;quot;,24, 255, 241 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 3000, 1, &amp;quot;-&amp;gt; 1&amp;quot;,249, 57, 56 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 4000, 1, &amp;quot;-----&amp;gt; START &amp;lt;------&amp;quot;,1000, 1500, 300 );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Timer Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Category:Pages_with_broken_file_links&amp;diff=18685</id>
		<title>Category:Pages with broken file links</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Category:Pages_with_broken_file_links&amp;diff=18685"/>
		<updated>2015-09-17T10:42:18Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Created page with &amp;quot;These pages have one or more broken file links.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These pages have one or more broken file links.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18684</id>
		<title>OnPlayerDeath</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18684"/>
		<updated>2015-09-17T10:32:35Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Added constants.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is called when a player dies. e.g.: drowned or self-kill.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerDeath( player, reason )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that died&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;reason&#039;&#039;&#039; - [[OnPlayerDeath#Death_Reasons|Death reason]]&lt;br /&gt;
&lt;br /&gt;
=== Death Reasons ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from falling&#039;&#039;&#039;&#039;&#039; - 44 &#039;&#039;&#039;(WEP_FALL)&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from an explosion&#039;&#039;&#039;&#039;&#039; - 41&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from drowning&#039;&#039;&#039;&#039;&#039; - 43 &#039;&#039;&#039;(WEP_DROWNED)&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from dying in a car&#039;&#039;&#039;&#039;&#039; - 39 &#039;&#039;&#039;(WEP_VEHICLE)&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Suicide&#039;&#039;&#039;&#039;&#039; - 70 &#039;&#039;&#039;(WEP_SUICIDE)&#039;&#039;&#039;&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 onPlayerDeath( player, reason )&lt;br /&gt;
{&lt;br /&gt;
	switch (reason)&lt;br /&gt;
	{&lt;br /&gt;
		case 44:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; fell down and died.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 41:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; exploded to bits!&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 43:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; drowned to death.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 39:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; died in a car accident.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 70:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; suicided.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Message|Message]] and [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] were used in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/BindKey&amp;diff=18292</id>
		<title>Scripting/Squirrel/Functions/BindKey</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/BindKey&amp;diff=18292"/>
		<updated>2015-08-03T14:00:06Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;BindKey(press, key, args1, args2)&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;press&#039;&#039;&#039; - This is the bool for the key function to be called once the key is &#039;pressed&#039; or &#039;released&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;key&#039;&#039;&#039; - The key you bind it to, you can get the key codes from [http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx| here]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;args1&#039;&#039;&#039; You can set it to 0&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;args2&#039;&#039;&#039; You can set it to 0&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example will bind the left-shift key for a player and will send him a message when he player presses that key:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
    lshift &amp;lt;- BindKey(true, 0xA0, 0, 0);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function onKeyDown( player, key )&lt;br /&gt;
{&lt;br /&gt;
    if( key == lshift )&lt;br /&gt;
    {&lt;br /&gt;
        MessagePlayer( &amp;quot;&amp;gt;&amp;gt; You pressed the left shift key&amp;quot;, player );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] and [[onKeyDown]] were used in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18291</id>
		<title>Scripting/Squirrel/Functions/NewTimer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18291"/>
		<updated>2015-08-03T13:48:22Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;NewTimer( func, time, repeat, ...);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;func&#039;&#039;&#039; - the function to call when the timer ends (in a string format)&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time before the function call&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;repeat&#039;&#039;&#039; - how many times to repeat the process (1 just to execute once)&lt;br /&gt;
* &#039;&#039;&#039;...&#039;&#039;&#039; - function (func) parameters&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;count&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		Message( &amp;quot;[#ffffff]&amp;lt;&amp;lt;&amp;lt;Odliczanie&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;quot; );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 1000, 1, &amp;quot;-&amp;gt; 3&amp;quot;,28, 255, 11 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 2000, 1, &amp;quot;-&amp;gt; 2&amp;quot;,24, 255, 241 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 3000, 1, &amp;quot;-&amp;gt; 1&amp;quot;,249, 57, 56 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 4000, 1, &amp;quot;-----&amp;gt; START &amp;lt;------&amp;quot;,1000, 1500, 300 );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Timer Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18290</id>
		<title>Scripting/Squirrel/Functions/NewTimer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18290"/>
		<updated>2015-08-03T10:37:45Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;NewTimer( func, time, repeat, ...);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;function&#039;&#039; &#039;&#039;&#039;func&#039;&#039;&#039; - the function to call when the timer ends&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time before the function call&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;repeat&#039;&#039;&#039; - how many times to repeat the process (1 just to execute once)&lt;br /&gt;
* &#039;&#039;&#039;...&#039;&#039;&#039; - function (func) parameters&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;count&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		Message( &amp;quot;[#ffffff]&amp;lt;&amp;lt;&amp;lt;Odliczanie&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;quot; );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 1000, 1, &amp;quot;-&amp;gt; 3&amp;quot;,28, 255, 11 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 2000, 1, &amp;quot;-&amp;gt; 2&amp;quot;,24, 255, 241 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 3000, 1, &amp;quot;-&amp;gt; 1&amp;quot;,249, 57, 56 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 4000, 1, &amp;quot;-----&amp;gt; START &amp;lt;------&amp;quot;,1000, 1500, 300 );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Timer Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vehicle.Fix&amp;diff=18289</id>
		<title>Scripting/Squirrel/Functions/Vehicle.Fix</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vehicle.Fix&amp;diff=18289"/>
		<updated>2015-08-03T08:26:18Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will fix the vehicle.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vehicle.Fix()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;fix&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		local veh = player.Vehicle;&lt;br /&gt;
		 &lt;br /&gt;
                if ( veh ) {&lt;br /&gt;
 &lt;br /&gt;
                MessagePlayer( &amp;quot;Your vehicle has been fixed.&amp;quot;, player );&lt;br /&gt;
                veh.Fix();&lt;br /&gt;
                }&lt;br /&gt;
 &lt;br /&gt;
                else MessagePlayer( &amp;quot;You must be in the vehicle you want to fix.&amp;quot;, player );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Vehicle Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18288</id>
		<title>Scripting/Squirrel/Functions/NewTimer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/NewTimer&amp;diff=18288"/>
		<updated>2015-08-02T17:32:22Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;NewTimer( func, time, 1, ...);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;function&#039;&#039; &#039;&#039;&#039;func&#039;&#039;&#039; - the function to call when the timer ends&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time before the function call&lt;br /&gt;
* &#039;&#039;&#039;...&#039;&#039;&#039; - function (func) parameters&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;count&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		Message( &amp;quot;[#ffffff]&amp;lt;&amp;lt;&amp;lt;Odliczanie&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;quot; );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 1000, 1, &amp;quot;-&amp;gt; 3&amp;quot;,28, 255, 11 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 2000, 1, &amp;quot;-&amp;gt; 2&amp;quot;,24, 255, 241 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 3000, 1, &amp;quot;-&amp;gt; 1&amp;quot;,249, 57, 56 );&lt;br /&gt;
		NewTimer( &amp;quot;ClientMessageToAll&amp;quot;, 4000, 1, &amp;quot;-----&amp;gt; START &amp;lt;------&amp;quot;,1000, 1500, 300 );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Timer Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Category:Deprecated&amp;diff=18287</id>
		<title>Category:Deprecated</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Category:Deprecated&amp;diff=18287"/>
		<updated>2015-08-02T15:41:03Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Created page with &amp;quot;These functions are deprecated and wont be used in next versions of VC:MP.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These functions are deprecated and wont be used in next versions of VC:MP.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeaponDataValue&amp;diff=18286</id>
		<title>Scripting/Squirrel/Functions/GetWeaponDataValue</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeaponDataValue&amp;diff=18286"/>
		<updated>2015-08-02T11:14:15Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return a data value of a weapon. (damage, range, etc)&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeaponDataValue( weaponID , fieldID )&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;weaponID&#039;&#039;&#039; - model ID of weapon&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;fieldID&#039;&#039;&#039;  - [[WeaponDataValue|field ID]] of data you want to get&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example will change stubby shotgun&#039;s range to minigun&#039;s one.&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
     SetWeaponDataValue( 21, 2, GetWeaponDataValue( 33, 2 ) );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&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/Weapon Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions&amp;diff=18285</id>
		<title>Scripting/Squirrel/Functions</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions&amp;diff=18285"/>
		<updated>2015-08-02T09:26:12Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Administrative Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Administrative Functions}}&lt;br /&gt;
&lt;br /&gt;
== Checkpoint Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Checkpoint Functions}}&lt;br /&gt;
&lt;br /&gt;
== Data Structures ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Data Structures}}&lt;br /&gt;
&lt;br /&gt;
== Game Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Game Functions}}&lt;br /&gt;
&lt;br /&gt;
== Hashing Functions (In the &amp;quot;Hashing&amp;quot; plugin) ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Hashing Functions}}&lt;br /&gt;
&lt;br /&gt;
== INI Functions (In the &amp;quot;INIParser&amp;quot; plugin) ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/INI Functions}}&lt;br /&gt;
&lt;br /&gt;
== Messages ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Messages}}&lt;br /&gt;
&lt;br /&gt;
== MySQL Functions (In the &amp;quot;MySQL&amp;quot; plugin) ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/MySQL Functions}}&lt;br /&gt;
&lt;br /&gt;
== Object Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Object Functions}}&lt;br /&gt;
&lt;br /&gt;
== Pickup Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Pickup Functions}}&lt;br /&gt;
&lt;br /&gt;
== Player Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;br /&gt;
&lt;br /&gt;
== SQLite Functions (In the &amp;quot;SQLite&amp;quot; plugin) ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/SQLite Functions}}&lt;br /&gt;
&lt;br /&gt;
== Server Settings ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server Settings}}&lt;br /&gt;
&lt;br /&gt;
== Socket Functions (In the &amp;quot;Socket&amp;quot; plugin) ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Socket Functions}}&lt;br /&gt;
&lt;br /&gt;
== Spawn and Wasted Screen Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Spawn and Wasted Screen Functions}}&lt;br /&gt;
&lt;br /&gt;
== Sphere Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Sphere Functions}}&lt;br /&gt;
&lt;br /&gt;
== Sprite Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Sprite Functions}}&lt;br /&gt;
&lt;br /&gt;
== Textdraw Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Textdraw Functions}}&lt;br /&gt;
&lt;br /&gt;
== Timer Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Timer Functions}}&lt;br /&gt;
&lt;br /&gt;
== Vehicle Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Vehicle Functions}}&lt;br /&gt;
&lt;br /&gt;
== Weapon Functions ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Weapon Functions}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Deprecated Functions ==&lt;br /&gt;
&#039;&#039;These functions are for compatibility, but may be removed in future versions.&#039;&#039;&lt;br /&gt;
{{Scripting/Squirrel/Functions/Deprecated}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Template:Scripting/Squirrel/Functions/Deprecated&amp;diff=18284</id>
		<title>Template:Scripting/Squirrel/Functions/Deprecated</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Template:Scripting/Squirrel/Functions/Deprecated&amp;diff=18284"/>
		<updated>2015-08-02T09:25:49Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Scripting/Squirrel/Functions/GetTime|GetTime]]&lt;br /&gt;
* [[Scripting/Squirrel/Functions/GetFullTime|GetFullTime]]&lt;br /&gt;
* [[Scripting/Squirrel/Functions/SetWeatherLock|SetWeatherLock]]&lt;br /&gt;
* [[Scripting/Squirrel/Functions/GetWeatherLock|GetWeatherLock]]&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetFullTime&amp;diff=18283</id>
		<title>GetFullTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetFullTime&amp;diff=18283"/>
		<updated>2015-08-02T09:23:55Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Redirected page to Scripting/Squirrel/Functions/GetFullTime&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Scripting/Squirrel/Functions/GetFullTime]]&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFullTime&amp;diff=18282</id>
		<title>Scripting/Squirrel/Functions/GetFullTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFullTime&amp;diff=18282"/>
		<updated>2015-08-02T09:23:29Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Created page with &amp;quot;{{Scripting/Deprecated}} This function will get the time and the date.  == Syntax ==  &amp;lt;pre&amp;gt;GetFullTime()&amp;lt;/pre&amp;gt;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;N/A&amp;#039;&amp;#039;&amp;#039;  == Return value ==  * &amp;#039;&amp;#039;string&amp;#039;&amp;#039; &amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
This function will get the time and the date.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetFullTime()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - The time and the date&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source language=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( plr, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
     if ( cmd == &amp;quot;date&amp;quot; )&lt;br /&gt;
     {&lt;br /&gt;
          ClientMessage( &amp;quot;The time is now: &amp;quot; + GetFullTime(), plr, 135, 210, 40 );&lt;br /&gt;
     }&lt;br /&gt;
     &lt;br /&gt;
     return 1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Deprecated}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18281</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18281"/>
		<updated>2015-08-02T09:21:00Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Redirected page to Scripting/Squirrel/Functions/GetTime&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Scripting/Squirrel/Functions/GetTime]]&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetTime&amp;diff=18280</id>
		<title>Scripting/Squirrel/Functions/GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetTime&amp;diff=18280"/>
		<updated>2015-08-02T09:20:44Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Created page with &amp;quot;{{Scripting/Deprecated}} GetTime is to used to find out what is the current time of your server.  == Syntax ==  &amp;lt;pre&amp;gt;GetTime()&amp;lt;/pre&amp;gt;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;N/A&amp;#039;&amp;#039;&amp;#039;  == Return Val...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetTime()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return Value ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Deprecated}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWastedSettings&amp;diff=18279</id>
		<title>Scripting/Squirrel/Functions/SetWastedSettings</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWastedSettings&amp;diff=18279"/>
		<updated>2015-08-01T22:08:40Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the appearence of the wasted screen when a player dies.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetWastedSettings( deathTime, fadeTime, fadeInSpeed, fadeOutSpeed, colour, corpseFadeDelay, corpseFadeTime )&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;deathTime&#039;&#039;&#039; - The death time&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;fadeTime&#039;&#039;&#039; - The fade time&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;fadeInSpeed&#039;&#039;&#039; - The fade in speed&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;fadeOutSpeed&#039;&#039;&#039; - The fade out speed&lt;br /&gt;
* [[Scripting/Squirrel/Functions/cRGB|&#039;&#039;cRGB&#039;&#039;]] &#039;&#039;&#039;colour&#039;&#039;&#039; - The colour&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;corpseFadeDelay&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;corpseFadeTime&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example disables the wasted screen&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
 SetWastedSettings( 0, 0, 0, 0, RGB(0,0,0), 0, 0)&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&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/Spawn_and_Wasted_Screen_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18278</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18278"/>
		<updated>2015-08-01T22:00:38Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetTime()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return Value ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Deprecated}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Template:Scripting/Squirrel/Functions/Deprecated&amp;diff=18277</id>
		<title>Template:Scripting/Squirrel/Functions/Deprecated</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Template:Scripting/Squirrel/Functions/Deprecated&amp;diff=18277"/>
		<updated>2015-08-01T21:59:40Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Created page with &amp;quot;* GetTime * GetFullTime * SetWeatherLock * GetWeatherLock&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[GetTime]]&lt;br /&gt;
* [[GetFullTime]]&lt;br /&gt;
* [[Scripting/Squirrel/Functions/SetWeatherLock|SetWeatherLock]]&lt;br /&gt;
* [[Scripting/Squirrel/Functions/GetWeatherLock|GetWeatherLock]]&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWorldBounds&amp;diff=18276</id>
		<title>Scripting/Squirrel/Functions/GetWorldBounds</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWorldBounds&amp;diff=18276"/>
		<updated>2015-08-01T15:36:51Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the world bounds of the server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWorldBounds()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Bounds|&#039;&#039;Bounds&#039;&#039;]] &#039;&#039;&#039;worldbounds&#039;&#039;&#039; - the bounds&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Game_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetDistrictName&amp;diff=18275</id>
		<title>Scripting/Squirrel/Functions/GetDistrictName</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetDistrictName&amp;diff=18275"/>
		<updated>2015-08-01T15:18:34Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Added example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the district name of a given position.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetDistrictName( x, y )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The &#039;&#039;&#039;x&#039;&#039;&#039; coordinate&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The &#039;&#039;&#039;y&#039;&#039;&#039; coordinate&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;name&#039;&#039;&#039; - The name of the district&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if( cmd == &amp;quot;district&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;[#FFFFFF]Your district is [#FFFF00]&amp;quot;+GetDistrictName(player.Pos.x, player.Pos.y), player);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Game_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18274</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18274"/>
		<updated>2015-08-01T14:56:19Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetTime()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return Value ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFlyingCars&amp;diff=18273</id>
		<title>Scripting/Squirrel/Functions/GetFlyingCars</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFlyingCars&amp;diff=18273"/>
		<updated>2015-08-01T14:55:56Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of the flying cars ability.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetFlyingCars()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;toggled&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/BanIP&amp;diff=18272</id>
		<title>Scripting/Squirrel/Functions/BanIP</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/BanIP&amp;diff=18272"/>
		<updated>2015-08-01T13:45:15Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will ban an IP from the server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;BanIP( ip )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;ip&#039;&#039;&#039; - This is the IP address to be banned&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&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;banip&amp;quot; )&lt;br /&gt;
    {&lt;br /&gt;
        BanIP( text );&lt;br /&gt;
        MessagePlayer( &amp;quot;You have banned IP: &amp;quot; + text, player );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] and function [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Administrative_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18271</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18271"/>
		<updated>2015-08-01T13:42:52Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetTime()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18270</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18270"/>
		<updated>2015-08-01T13:41:18Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18269</id>
		<title>GetTime</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=GetTime&amp;diff=18269"/>
		<updated>2015-08-01T13:41:00Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
GetTime is to used to find out what is the current time of your server.&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&#039;&#039;&#039;N/A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Return ==&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;time&#039;&#039;&#039; - the time&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Needs_Example}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.Ping&amp;diff=18268</id>
		<title>Scripting/Squirrel/Functions/Player.Ping</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.Ping&amp;diff=18268"/>
		<updated>2015-07-31T22:31:58Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Use this function to get a player&#039;s ping. &#039;&#039;&#039;(Read only)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;int player.Ping&lt;br /&gt;
&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 OnPlayerCommand(player, cmd, text)&lt;br /&gt;
{&lt;br /&gt;
    if ( cmd == &amp;quot;ping&amp;quot; )&lt;br /&gt;
    {&lt;br /&gt;
        MessagePlayer(&amp;quot;Your Ping: &amp;quot; + player.Ping, player);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetPlayerIDFromName&amp;diff=18267</id>
		<title>Scripting/Squirrel/Functions/GetPlayerIDFromName</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetPlayerIDFromName&amp;diff=18267"/>
		<updated>2015-07-31T22:26:16Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetPlayerIDFromName( string name )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;name&#039;&#039;&#039; - Player Name&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The Following example will tell a player&#039;s ID.&lt;br /&gt;
&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;id&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  if ( text ) // If player provides text.&lt;br /&gt;
  {&lt;br /&gt;
  if ( !IsNum( text )) // if text is not a integer/number.&lt;br /&gt;
  {          &lt;br /&gt;
  local plr = FindPlayer( text ) // We Find other players by FindPlayer( playername or id )&lt;br /&gt;
  if ( plr )  // If player is available/online&lt;br /&gt;
  {&lt;br /&gt;
  MessagePlayer( &amp;quot; &amp;quot; + plr.Name + &amp;quot; is online. ( ID : &amp;quot; + GetPlayerIDFromName( plr.Name ) + &amp;quot; ) &amp;quot;, player ); // Messages the ID of the plr.&lt;br /&gt;
 } else MessagePlayer( &amp;quot;Player not online&amp;quot;, player ); // Else messages player not online&lt;br /&gt;
}&lt;br /&gt;
else MessagePlayer( &amp;quot;text must be a name instead of IDs or Numbers&amp;quot;, player ); &lt;br /&gt;
}&lt;br /&gt;
else MessagePlayer( &amp;quot;/id &amp;lt; playername &amp;gt;&amp;quot;, player ); // if ( text ) is not provided.&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Calls [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]], [[Scripting/Squirrel/Functions/FindPlayer|FindPlayer]] &amp;amp; [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] were used in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/PlaySound&amp;diff=18266</id>
		<title>Scripting/Squirrel/Functions/PlaySound</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/PlaySound&amp;diff=18266"/>
		<updated>2015-07-31T18:37:08Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will play a sound at a certain position.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&amp;lt;pre&amp;gt;PlaySound( world, sound, pos )&amp;lt;/pre&amp;gt;&lt;br /&gt;
2&lt;br /&gt;
&amp;lt;pre&amp;gt;PlaySound( world, sound, x, y, z )&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;world&#039;&#039;&#039; - The world ID&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;sound&#039;&#039;&#039; - The sound ID&lt;br /&gt;
* &#039;&#039;[[Scripting/Squirrel/Functions/Vector|Vector]]&#039;&#039; &#039;&#039;&#039;pos&#039;&#039;&#039; - The position of the sound to be played at&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;sound&amp;quot; )&lt;br /&gt;
     {&lt;br /&gt;
          PlaySound( player.UniqueWorld , 30 , player.Pos );&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Use [[Scripting/Squirrel/Functions/Player.UniqueWorld|Player.UniqueWorld]] to play sound for a specific player.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Game_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateCheckpoint&amp;diff=18265</id>
		<title>Scripting/Squirrel/Functions/CreateCheckpoint</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateCheckpoint&amp;diff=18265"/>
		<updated>2015-07-31T14:17:29Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Oops.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CreateCheckpoint is a function that creates a checkpoint. Checkpoints are used in racing.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateCheckpoint(player, world, pos, rgb, radius)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
*[[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] | &#039;&#039;null&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player to stream this checkpoint to. If the variable is null, it will be shown to everyone&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;world&#039;&#039;&#039; - The world id&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Vector|&#039;&#039;Vector&#039;&#039;]] &#039;&#039;&#039;pos&#039;&#039;&#039; - The checkpoint position&lt;br /&gt;
*[[Scripting/Squirrel/Functions/cRGB|&#039;&#039;cRGB&#039;&#039;]] &#039;&#039;&#039;rgb&#039;&#039;&#039; - The checkpoint color&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;radius&#039;&#039;&#039; - The diameter of the checkoint&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example will create a checkpoint:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;createcheckpoint&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		CreateCheckpoint( null, 0, player.Pos, RGB(255, 0, 255), 2);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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/Checkpoint_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateCheckpoint&amp;diff=18264</id>
		<title>Scripting/Squirrel/Functions/CreateCheckpoint</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateCheckpoint&amp;diff=18264"/>
		<updated>2015-07-31T14:16:24Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Fixed alot of things.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CreateCheckpoint is a function that creates a checkpoint. Checkpoints are used in racing.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateCheckpoint(player, world, pos, rgb, radius)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
*[[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] | &#039;&#039;null&#039;&#039; &#039;&#039;&#039;player&#039;&#039;&#039; - The player to stream this checkpoint to. If the variable is null, it will be shown to everyone&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;world&#039;&#039;&#039; - The world id&lt;br /&gt;
*[[Scripting/Squirrel/Functions/Vector|&#039;&#039;Vector&#039;&#039;]] &#039;&#039;&#039;pos&#039;&#039;&#039; - The checkpoint position&lt;br /&gt;
*[[Scripting/Squirrel/Functions/cRGB|&#039;&#039;cRGB&#039;&#039;]] &#039;&#039;&#039;rgb&#039;&#039;&#039; - The checkpoint color&lt;br /&gt;
*&#039;&#039;int&#039;&#039; &#039;&#039;&#039;radius&#039;&#039;&#039; - The diameter of the checkoint&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following example will create a checkpoint:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;createcheckpoint&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		CreateCheckpoint( null, 0, player.Pos, RGB(255, 0, 255), 2);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] 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#Checkpoint_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=ID_Reference&amp;diff=18239</id>
		<title>ID Reference</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=ID_Reference&amp;diff=18239"/>
		<updated>2015-07-02T20:19:44Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main Page giant banner}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:auto; background:#FEFBF6; border:1px solid #79542B;&amp;quot; valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&amp;lt;div id=&amp;quot;mf-index&amp;quot;&amp;gt;&lt;br /&gt;
{| style=&amp;quot;padding:0; width:100%;&amp;quot; | &lt;br /&gt;
! class=&amp;quot;mp-content-header mp-title-gradient&amp;quot; | ID References&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding:10px;&amp;quot; |&lt;br /&gt;
Check out all available codes and IDs of game texts, vehicles, skins, weapons, etc. because you may need them when you are working on your server, or just playing in one ! :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| style=&amp;quot;width:auto; background:#FEFBF6; border:1px solid #79542B;&amp;quot; valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&amp;lt;div id=&amp;quot;mf-index&amp;quot;&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding:10px;&amp;quot; |&lt;br /&gt;
*[[Game Text Codes and Styles]]&lt;br /&gt;
*[[Explosion Types]]&lt;br /&gt;
*[[Map Icons]]&lt;br /&gt;
*[[Skins]]&lt;br /&gt;
*[[Animations]]&lt;br /&gt;
*[[Sounds]]&lt;br /&gt;
*[[Weather]]&lt;br /&gt;
*[[Vehicles]]&lt;br /&gt;
*[[Weapons]]&lt;br /&gt;
*[[Pickup Models]]&lt;br /&gt;
*[[Car Colors]]&lt;br /&gt;
*[[Team Colors]]&lt;br /&gt;
*Interiors&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18238</id>
		<title>Scripting/Squirrel/Functions/cRGB</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18238"/>
		<updated>2015-07-02T16:49:10Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Fixed arguments.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creates an instance and returns the pointer.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;RGB( r, g, b )&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;byte&#039;&#039;) &#039;&#039;&#039;r&#039;&#039;&#039; - Red&lt;br /&gt;
* &#039;&#039;int&#039;&#039; (&#039;&#039;byte&#039;&#039;) &#039;&#039;&#039;g&#039;&#039;&#039; - Green&lt;br /&gt;
* &#039;&#039;int&#039;&#039; (&#039;&#039;byte&#039;&#039;) &#039;&#039;&#039;b&#039;&#039;&#039; - Blue&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if( cmd == &amp;quot;red&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now red!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(255, 0, 0);&lt;br /&gt;
	} &lt;br /&gt;
	else if ( cmd == &amp;quot;green&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now green!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(0, 255, 0);&lt;br /&gt;
	}&lt;br /&gt;
	else if ( cmd == &amp;quot;blue&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now blue!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(0, 0, 255);&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]] was used in this example. More info in the page.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Data Structures}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18237</id>
		<title>Scripting/Squirrel/Functions/cRGB</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18237"/>
		<updated>2015-07-02T16:45:09Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Changed Color to RGB.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creates an instance and returns the pointer.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;RGB( r, g, b )&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;r&#039;&#039;&#039; - Red&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;g&#039;&#039;&#039; - Green&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;b&#039;&#039;&#039; - Blue&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if( cmd == &amp;quot;red&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now red!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(255, 0, 0);&lt;br /&gt;
	} &lt;br /&gt;
	else if ( cmd == &amp;quot;green&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now green!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(0, 255, 0);&lt;br /&gt;
	}&lt;br /&gt;
	else if ( cmd == &amp;quot;blue&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now blue!&amp;quot;, player);&lt;br /&gt;
		player.Color = RGB(0, 0, 255);&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]] was used in this example. More info in the page.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Data Structures}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18236</id>
		<title>Scripting/Squirrel/Functions/cRGB</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/cRGB&amp;diff=18236"/>
		<updated>2015-07-02T16:40:50Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Uppercase fix &amp;amp; better example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creates an instance and returns the pointer.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;RGB( r, g, b )&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;r&#039;&#039;&#039; - Red&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;g&#039;&#039;&#039; - Green&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;b&#039;&#039;&#039; - Blue&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 onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
	if( cmd == &amp;quot;red&amp;quot; )&lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now red!&amp;quot;, player);&lt;br /&gt;
		player.Color = Color(255, 0, 0);&lt;br /&gt;
	} &lt;br /&gt;
	else if ( cmd == &amp;quot;green&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now green!&amp;quot;, player);&lt;br /&gt;
		player.Color = Color(0, 255, 0);&lt;br /&gt;
	}&lt;br /&gt;
	else if ( cmd == &amp;quot;blue&amp;quot; ) &lt;br /&gt;
	{&lt;br /&gt;
		MessagePlayer(&amp;quot;You&#039;re now blue!&amp;quot;, player);&lt;br /&gt;
		player.Color = Color(0, 0, 255);&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]] was used in this example. More info in the page.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Data Structures}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vector&amp;diff=18235</id>
		<title>Scripting/Squirrel/Functions/Vector</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Vector&amp;diff=18235"/>
		<updated>2015-07-02T16:32:41Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Uppercase fix.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will teleport to the player to any location.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Vector( x, y, z )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - X coordinate&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - Y coordinate&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - Z coordinate&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&amp;lt;pre&amp;gt;Length()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;Distance( vector )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;Dot( vector )&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
In the following example the player will teleport to the coordinates represented in &#039;&#039;&#039;X&#039;&#039;&#039;, &#039;&#039;&#039;Y&#039;&#039;&#039;, &#039;&#039;&#039;Z&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
player.Pos = Vector( 190.12, -122.45, 455.32 );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
[[Scripting/Squirrel/Functions/Player.Pos|Player.Pos]] 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/Data Structures}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerChat&amp;diff=18234</id>
		<title>OnPlayerChat</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerChat&amp;diff=18234"/>
		<updated>2015-07-02T16:30:46Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This is called when a player uses a command.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerChat( player, message )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|Player]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;message&#039;&#039;&#039; - This is the message that player sent.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example command outputs the player messages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onPlayerChat( player, message )&lt;br /&gt;
{&lt;br /&gt;
 print(&amp;quot;Player:&amp;quot;+player.Name+&amp;quot; Says:&amp;quot;+message);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The function print and call [[onPlayerChat]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Events ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18233</id>
		<title>OnPlayerDeath</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18233"/>
		<updated>2015-07-02T14:37:24Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is called when a player dies. e.g.: drowned or self-kill.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerDeath( player, reason )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that died&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;reason&#039;&#039;&#039; - [[OnPlayerDeath#Death_Reasons|Death reason]]&lt;br /&gt;
&lt;br /&gt;
=== Death Reasons ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from falling&#039;&#039;&#039;&#039;&#039; - 44&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from an explosion&#039;&#039;&#039;&#039;&#039; - 41&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from drowning&#039;&#039;&#039;&#039;&#039; - 43&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from dying in a car&#039;&#039;&#039;&#039;&#039; - 39&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Suicide&#039;&#039;&#039;&#039;&#039; - 70&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 onPlayerDeath( player, reason )&lt;br /&gt;
{&lt;br /&gt;
	switch (reason)&lt;br /&gt;
	{&lt;br /&gt;
		case 44:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; fell down and died.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 41:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; exploded to bits!&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 43:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; drowned to death.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 39:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; died in a car accident.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 70:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; suicided.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Message|Message]] and [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] were used in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=18232</id>
		<title>OnPlayerCommand</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerCommand&amp;diff=18232"/>
		<updated>2015-07-02T14:32:46Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Fixed arguments.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This is called when a player uses a command.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerCommand( player, cmd, parameters )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that use command.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;cmd&#039;&#039;&#039; - This is the command that player used.&lt;br /&gt;
* &#039;&#039;string&#039;&#039; &#039;&#039;&#039;parameters&#039;&#039;&#039; - This is the list of the parameters as a string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example command heal the player if they type &#039;&#039;&#039;/heal&#039;&#039;&#039;.&lt;br /&gt;
&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;heal&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  if ( player.Health == 100 ) PrivMessage( player, &amp;quot;You have the health to maximum.&amp;quot;);&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
   PrivMessage( player, &amp;quot;You healed successfully.&amp;quot;);&lt;br /&gt;
   player.Health = 100;&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The function [[PrivMessage]] and call [[onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Events ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18231</id>
		<title>OnPlayerDeath</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerDeath&amp;diff=18231"/>
		<updated>2015-07-02T14:27:30Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Updated death reasons and example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is called when a player dies. e.g.: drowned or self-kill.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerDeath( player, reason )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* [[Scripting/Squirrel/Functions#Player_Functions|&#039;&#039;Player&#039;&#039;]] &#039;&#039;&#039;player&#039;&#039;&#039; - The player that died&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;reason&#039;&#039;&#039; - [[OnPlayerDeath#Death_Reasons|Death reason]]&lt;br /&gt;
&lt;br /&gt;
=== Death Reasons ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from falling&#039;&#039;&#039;&#039;&#039; - 44&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from an explosion&#039;&#039;&#039;&#039;&#039; - 41&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from drowning&#039;&#039;&#039;&#039;&#039; - 43&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Death from dying in a car&#039;&#039;&#039;&#039;&#039; - 39&lt;br /&gt;
* &#039;&#039;&#039;&#039;&#039;Suicide&#039;&#039;&#039;&#039;&#039; - 70&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 onPlayerDeath( player, reason )&lt;br /&gt;
{&lt;br /&gt;
	Message(reason.tostring());&lt;br /&gt;
	switch (reason)&lt;br /&gt;
	{&lt;br /&gt;
		case 44:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; fell down and died.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 41:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; exploded to bits!&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 43:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; drowned to death.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 39:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; died in a car accident.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
		case 70:&lt;br /&gt;
		{&lt;br /&gt;
			Message(player.Name + &amp;quot; suicided.&amp;quot;);&lt;br /&gt;
			break;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Message|Message]] and [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] were used in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateMarker&amp;diff=18230</id>
		<title>Scripting/Squirrel/Functions/CreateMarker</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateMarker&amp;diff=18230"/>
		<updated>2015-07-02T13:23:41Z</updated>

		<summary type="html">&lt;p&gt;ProsuWANTED: Added the ID link and fixed related functions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will create a map icon on the radar.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateMarker( world, pos, scale, color, SpriteId )&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;world&#039;&#039;&#039; - The world ID&lt;br /&gt;
* &#039;&#039;[[Scripting/Squirrel/Functions/Vector|Vector]]&#039;&#039; &#039;&#039;&#039;pos&#039;&#039;&#039; - The position of the marker to be created&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;scale&#039;&#039;&#039; - The marker&#039;s size&lt;br /&gt;
* &#039;&#039;[[Scripting/Squirrel/Functions/cRGB|cRGB]]&#039;&#039; &#039;&#039;&#039;color&#039;&#039;&#039; - The marker&#039;s color&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;SpriteId&#039;&#039;&#039; - The [[Map_Icons|ID]] of custom map icon&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onPlayerJoin( player )&lt;br /&gt;
{&lt;br /&gt;
     CreateMarker(player.UniqueWorld, Vector( -1734, -715, 5.8680 ), 5, RGB(0, 0, 0), 26 );  &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerJoin]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Game_Functions}}&lt;/div&gt;</summary>
		<author><name>ProsuWANTED</name></author>
	</entry>
</feed>