<?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=Xmair</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=Xmair"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/wiki/Special:Contributions/Xmair"/>
	<updated>2026-05-15T20:35:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Introduction_to_the_Plugin_SDK&amp;diff=20100</id>
		<title>Introduction to the Plugin SDK</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Introduction_to_the_Plugin_SDK&amp;diff=20100"/>
		<updated>2017-10-05T18:13:35Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;One of the major new features available in the 0.4 server is the plugin SDK. Any user can now use an official SDK header to create plugins that can be used to interact with the server, clients, game world and other plugins.&lt;br /&gt;
&lt;br /&gt;
The current plugin SDK can be found here:&lt;br /&gt;
&lt;br /&gt;
https://gist.github.com/nsgomez/e0b525ed660db7f83b56&lt;br /&gt;
&lt;br /&gt;
https://bitbucket.org/maxorator/vcmp-plugin-header/src/fb1d2cb0dcfb7b56f0dfd469babb00f9da759d33/plugin.h?at=default&amp;amp;fileviewer=file-view-default&lt;br /&gt;
&lt;br /&gt;
Here is a list of plugin functions:[[Plugin_Functions|Plugin_Functions]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creating a Loadable Plugin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The VC:MP server expects the existence of a special exported function, VcmpPluginInit, to exist in a plugin in order to be able to load one. As part of this function, the server will pass a set of callable functions, a structure for the plugin to set the callbacks it accepts, and a structure for the plugin to set information about itself.&lt;br /&gt;
&lt;br /&gt;
The structure of VcmpPluginInit is as follows:&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
#ifdef WIN32&lt;br /&gt;
 #define EXPORT __declspec(dllexport)&lt;br /&gt;
#else&lt;br /&gt;
 #define EXPORT&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
extern &amp;quot;C&amp;quot; EXPORT unsigned int VcmpPluginInit( PluginFuncs* pluginFuncs, PluginCallbacks* pluginCalls, PluginInfo* pluginInfo )&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;
* &#039;&#039;&#039;pluginFuncs&#039;&#039;&#039; is the PluginFuncs struct from the server header, which can be used to call any function available through the plugin SDK.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pluginCalls&#039;&#039;&#039; is a struct of PluginCallbacks. pluginCalls essentially starts off empty; your plugin must provide its own callbacks and set them in the struct in order for them to be called, and you must use the same pointer to the struct provided.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;pluginInfo&#039;&#039;&#039; is a struct of PluginInfo (from the SDK) that, again, is empty at first. You can set your plugin&#039;s version and name (max 32 characters) through it, but you must use the same pointer to the struct.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Setting a Callback&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To receive callbacks from the server, you need to create a function in the same format as the defined type of the callback:&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
typedef int (*SDK_OnInitServer) (void);&lt;br /&gt;
typedef void (*SDK_OnShutdownServer) (void);&lt;br /&gt;
typedef void (*SDK_OnFrame) (float fElapsedTime);&lt;br /&gt;
typedef void (*SDK_OnPlayerConnect) (int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPlayerDisconnect) (int nPlayerId, int nReason);&lt;br /&gt;
typedef void (*SDK_OnPlayerBeginTyping) (int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPlayerEndTyping) (int nPlayerId);&lt;br /&gt;
typedef int (*SDK_OnPlayerRequestClass) (int nPlayerId, int nOffset);&lt;br /&gt;
typedef int (*SDK_OnPlayerRequestSpawn) (int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPlayerSpawn) (int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPlayerDeath) (int nPlayerId, int nKillerId, int nReason, int nBodyPart);&lt;br /&gt;
typedef void (*SDK_OnPlayerUpdate) (int nPlayerId, int nUpdateType);&lt;br /&gt;
typedef int (*SDK_OnPlayerRequestEnter) (int nPlayerId, int nVehicleId, int nSlotId);&lt;br /&gt;
typedef void (*SDK_OnPlayerEnterVehicle) (int nPlayerId, int nVehicleId, int nSlotId);&lt;br /&gt;
typedef void (*SDK_OnPlayerExitVehicle) (int nPlayerId, int nVehicleId);&lt;br /&gt;
typedef int (*SDK_OnPickupClaimPicked) (int nPickupId, int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPickupPickedUp) (int nPickupId, int nPlayerId);&lt;br /&gt;
typedef void (*SDK_OnPickupRespawn) (int nPickupId);&lt;br /&gt;
typedef void (*SDK_OnVehicleUpdate) (int nVehicleId, int nUpdateType);&lt;br /&gt;
typedef void (*SDK_OnVehicleExplode) (int nVehicleId);&lt;br /&gt;
typedef void (*SDK_OnVehicleRespawn) (int nVehicleId);&lt;br /&gt;
typedef void (*SDK_OnObjectShot) (int nObjectId, int nPlayerId, int nWeapon);&lt;br /&gt;
typedef void (*SDK_OnObjectBump) (int nObjectId, int nPlayerId);&lt;br /&gt;
typedef int (*SDK_OnPublicMessage) (int nPlayerId, const char* pszText);&lt;br /&gt;
typedef int (*SDK_OnCommandMessage) (int nPlayerId, const char* pszText);&lt;br /&gt;
typedef int (*SDK_OnPrivateMessage) (int nPlayerId, int nTargetId, const char* pszText);&lt;br /&gt;
typedef int (*SDK_OnInternalCommand) (unsigned int uCmdType, const char* pszText);&lt;br /&gt;
typedef int (*SDK_OnLoginAttempt) (char* pszPlayerName, const char* pszUserPassword, const char* pszIpAddress);&lt;br /&gt;
typedef void (*SDK_OnEntityPoolChange) (int nEntityType, int nEntityId, unsigned int bDeleted);&lt;br /&gt;
typedef void (*SDK_OnKeyBindDown) (int nPlayerId, int nBindId);&lt;br /&gt;
typedef void (*SDK_OnKeyBindUp) (int nPlayerId, int nBindId);&lt;br /&gt;
typedef void (*SDK_OnPlayerAwayChange) (int nPlayerId, unsigned int bNewStatus);&lt;br /&gt;
typedef void (*SDK_OnPlayerSpectate) (int nPlayerId, int nTargetId);&lt;br /&gt;
typedef void (*SDK_OnPlayerCrashReport) (int nPlayerId, const char* pszReport);&lt;br /&gt;
typedef void (*SDK_OnServerPerformanceReport) (int nNumStats, const char** ppszDescription, unsigned long long* pnMillisecsSpent);&lt;br /&gt;
typedef void (*SDK_OnPlayerNameChange) (int nPlayerId, const char* pszOldName, const char* pszNewName);&lt;br /&gt;
typedef void (*SDK_OnPlayerStateChange) (int nPlayerId, int nOldState, int nNewState);&lt;br /&gt;
typedef void (*SDK_OnPlayerActionChange) (int nPlayerId, int nOldAction, int nNewAction);&lt;br /&gt;
typedef void (*SDK_OnPlayerOnFireChange) (int nPlayerId, unsigned int bIsOnFireNow);&lt;br /&gt;
typedef void (*SDK_OnPlayerCrouchChange) (int nPlayerId, unsigned int bIsCrouchingNow);&lt;br /&gt;
typedef void (*SDK_OnPlayerGameKeysChange) (int nPlayerId, int nOldKeys, int nNewKeys);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to create a callback for OnPublicMessage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
typedef int (*SDK_OnPublicMessage) (int nPlayerId, const char* pszText);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You would need to create a function like so:&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
int MyOnPublicMessage (int nPlayerId, const char* pszText)&lt;br /&gt;
{&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
void functions need not return anything (and should not), whereas callbacks with a return type expect a value to be returned, and will react differently according to their return values. For example, returning 0 in OnPublicMessage will reject a given chat message and essentially mute it. Returning 1 will send it to other players if no other plugins suppress it.&lt;br /&gt;
&lt;br /&gt;
To have the server recognize the callback and make use of it, set it in VcmpPluginInit:&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
extern &amp;quot;C&amp;quot; EXPORT unsigned int VcmpPluginInit( PluginFuncs* pluginFuncs, PluginCallbacks* pluginCalls, PluginInfo* pluginInfo )&lt;br /&gt;
{&lt;br /&gt;
    pluginCalls-&amp;gt;OnPublicMessage = MyOnPublicMessage;&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using Plugin Functions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using plugin functions is easier still than dealing with callbacks. To use a function, you can simply make a direct call to a function in the pluginFuncs struct:&lt;br /&gt;
&amp;lt;source lang=cpp&amp;gt;&lt;br /&gt;
extern &amp;quot;C&amp;quot; EXPORT unsigned int VcmpPluginInit( PluginFuncs* pluginFuncs, PluginCallbacks* pluginCalls, PluginInfo* pluginInfo )&lt;br /&gt;
{&lt;br /&gt;
    pluginFuncs-&amp;gt;SetServerName(&amp;quot;My VC:MP Server&amp;quot;);&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
[[Category:Server_Documentation]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20020</id>
		<title>Scripting/Squirrel/Functions/SetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20020"/>
		<updated>2017-03-09T08:26:09Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the weather of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetWeather( weatherid )&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;weatherid&#039;&#039;&#039; - The weather id to be set&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] was 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/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20019</id>
		<title>Scripting/Squirrel/Functions/GetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20019"/>
		<updated>2017-03-09T08:26:00Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the weather ID of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeather()&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;weatherid&#039;&#039;&#039; - The weather ID of the game&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] was 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/Server_Settings}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Server_Settings _Functions]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20018</id>
		<title>Scripting/Squirrel/Functions/GetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20018"/>
		<updated>2017-03-09T08:25:45Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the weather ID of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeather()&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;weatherid&#039;&#039;&#039; - The weather ID of the game&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[Functions/SetWeather]] was 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/Server_Settings}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Server_Settings _Functions]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20017</id>
		<title>Scripting/Squirrel/Functions/GetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20017"/>
		<updated>2017-03-09T08:23:32Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the weather ID of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeather()&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;weatherid&#039;&#039;&#039; - The weather ID of the game&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[Scripting/Squirrel/Functions/GetWeather]] was 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/Server_Settings}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Server_Settings _Functions]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20016</id>
		<title>Scripting/Squirrel/Functions/SetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20016"/>
		<updated>2017-03-09T08:22:16Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the weather of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetWeather( weatherid )&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;weatherid&#039;&#039;&#039; - The weather id to be set&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[GetWeather]] was 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/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20015</id>
		<title>Scripting/Squirrel/Functions/GetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20015"/>
		<updated>2017-03-09T08:21:52Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the weather ID of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeather()&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;weatherid&#039;&#039;&#039; - The weather ID of the game&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments.tointeger( ) ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments.tointeger( ) );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[SetWeather]] was 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/Server_Settings}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Server_Settings _Functions]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20014</id>
		<title>Scripting/Squirrel/Functions/GetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeather&amp;diff=20014"/>
		<updated>2017-03-09T08:20:06Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will get the weather ID of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetWeather()&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;weatherid&#039;&#039;&#039; - The weather ID of the game&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[SetWeather]] was 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/Server_Settings}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Server_Settings _Functions]]&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20013</id>
		<title>Scripting/Squirrel/Functions/SetWeather</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeather&amp;diff=20013"/>
		<updated>2017-03-09T08:19:59Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the weather of the game.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetWeather( weatherid )&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;weatherid&#039;&#039;&#039; - The weather id to be set&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function onPlayerCommand( iPlayer, szCommand, szArguments ) {&lt;br /&gt;
	switch( szCommand.tolower( ) ) {&lt;br /&gt;
		case &amp;quot;setweather&amp;quot;:&lt;br /&gt;
			if( !szArguments ) ClientMessage( &amp;quot;Invalid syntax, correct usage: /&amp;quot; + szCommand + &amp;quot; [ID]&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( !IsNum( szArguments ) ) ClientMessage( &amp;quot;ID must be an integer.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else if ( GetWeather() == szArguments ) ClientMessage( &amp;quot;The weather ID specified is already being used.&amp;quot;, iPlayer, 255, 0, 0, 255 );&lt;br /&gt;
			else {&lt;br /&gt;
				SetWeather( szArguments );&lt;br /&gt;
				ClientMessageToAll( iPlayer.Name + &amp;quot; has set the weather to &amp;quot; + szArguments + &amp;quot;!&amp;quot;, 255, 255, 255, 255 );&lt;br /&gt;
			}&lt;br /&gt;
		break;&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] and function [[GetWeather]] was 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/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions&amp;diff=20012</id>
		<title>Scripting/Squirrel/Client Functions</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions&amp;diff=20012"/>
		<updated>2017-03-09T08:05:34Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Global Functions ==&lt;br /&gt;
=== Script Functions ===&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/dofile|dofile]](string filename)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Script::LoadScript|Script::LoadScript]](string filename) &amp;lt;font color=green&amp;gt;// Same as dofile.&amp;lt;/font&amp;gt;&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/include|include]](string filename)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/print|print]](string text)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Script::GetTicks|Script::GetTicks]]()&lt;br /&gt;
&lt;br /&gt;
=== World Functions ===&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindPlayer|World::FindPlayer]](int id)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindLocalPlayer|World::FindLocalPlayer]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindVehicle|World::FindVehicle]](int id)&lt;br /&gt;
&lt;br /&gt;
=== Console Functions ===&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Console::Print|Console::Print]](string text)&lt;br /&gt;
&lt;br /&gt;
=== GUI Functions ===&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetMouseEnabled|GUI::GetMouseEnabled]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::SetMouseEnabled|GUI::SetMouseEnabled]](bool enabled)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetMousePos|GUI::GetMousePos]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetScreenSize|GUI::GetScreenSize]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::ScreenPosToWorld|GUI::ScreenPosToWorld]](Vector screenPosition)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::WorldPosToScreen|GUI::WorldPosToScreen]](Vector position)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetFocusedElement|GUI::GetFocusedElement]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::SetFocusedElement|GUI::SetFocusedElement]](GUIElement element)&lt;br /&gt;
&lt;br /&gt;
== Data Types ==&lt;br /&gt;
Types int, float, bool and string are built-in types. entity is not an actual type, but can be any of either Player, Vehicle or Building. The actual type can be detected from the return value of entity.Type which is respectively OBJ_PLAYER, OBJ_VEHICLE or OBJ_BUILDING for them.&lt;br /&gt;
&lt;br /&gt;
The values of properties marked as read-only cannot be changed. If a property is marked as bound, then it means the instance of for example a Vector that you get from it is bound to the object. Therefore if you do var = player.Position;, var.X will always contain the player&#039;s X position, not the X position when var was assigned. To get an unbound vector, use var = Vector(player.Position);.&lt;br /&gt;
{{Scripting/Squirrel/Functions/Client_DataTypes}}&lt;br /&gt;
&lt;br /&gt;
== GUI Types ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/Client_GUITypes}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateExplosion&amp;diff=19424</id>
		<title>Scripting/Squirrel/Functions/CreateExplosion</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/CreateExplosion&amp;diff=19424"/>
		<updated>2016-08-13T12:14:28Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will create an explosion at the given location.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateExplosion( world, type, pos, playerCaused, onGround )&amp;lt;/pre&amp;gt;&lt;br /&gt;
2&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateExplosion( world, type, x, y, z, playerCaused, onGround )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
1&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;type&#039;&#039;&#039; - The [[Explosion_Types|Explosion Types]]&lt;br /&gt;
* &#039;&#039;[[Scripting/Squirrel/Functions/Vector|Vector]]&#039;&#039; &#039;&#039;&#039;pos&#039;&#039;&#039; - The position of the explosion to be created&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;playerCaused&#039;&#039;&#039; - the ID of the player to blame the explosion on, or -1 for no player&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;onGround&#039;&#039;&#039; - To be added&lt;br /&gt;
2&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;type&#039;&#039;&#039; - The [[Explosion_Types|Explosion Types]]&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;x&#039;&#039;&#039; - The x position of the explosion to be created&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;y&#039;&#039;&#039; - The y position of the explosion to be created&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;z&#039;&#039;&#039; - The z position of the explosion to be created&lt;br /&gt;
* &#039;&#039;int&#039;&#039; &#039;&#039;&#039;playerCaused&#039;&#039;&#039; - the ID of the player to blame the explosion on, or -1 for no player&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; &#039;&#039;&#039;onGround&#039;&#039;&#039; - To be added&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;CreateExplosion( 1, 7, 154.55, 159, 11.4584, -1, true );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
There are several types of Explosions you can find a list of them from [http://wiki.vc-mp.org/wiki/Explosion_Types here]&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Player.Skin&amp;diff=19376</id>
		<title>Player.Skin</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Player.Skin&amp;diff=19376"/>
		<updated>2016-07-14T05:59:51Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This method can be used to get a player&#039;s skin or set to a desired one&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
=== Type 1 - Getting the current skin a player has ===&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;PlayerInstance.Skin&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
* None&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Returns&#039;&#039;&#039;&lt;br /&gt;
* Integer - An integer representing the skin ID player is having&lt;br /&gt;
&lt;br /&gt;
=== Type 2 - Setting a player&#039;s skin to desired one ===&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;PlayerInstance.Skin = skin&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;integer&#039;&#039; &#039;&#039;&#039;skin id&#039;&#039;&#039; - The skin ID you would want to set for the player&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following snippet will tell the player what skin id he is using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=D&amp;gt;&lt;br /&gt;
function onPlayerCommand(player, command, arguments) {&lt;br /&gt;
    if( command == &amp;quot;myskin&amp;quot; ) {&lt;br /&gt;
        MessagePlayer( &amp;quot;Your skin ID is: &amp;quot; + player.Skin, player );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will set the player&#039;s skin to the ID given&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=D&amp;gt;&lt;br /&gt;
function onPlayerCommand(player, command, arguments) {&lt;br /&gt;
    if( command == &amp;quot;skin&amp;quot; ) {&lt;br /&gt;
        if( !text ) return MessagePlayer( &amp;quot;Syntax: /skin [ID]&amp;quot;, player );&lt;br /&gt;
        else if( !IsNum( text ) ) return MessagePlayer( &amp;quot;Skin ID must be an integer&amp;quot;, player );&lt;br /&gt;
        player.Skin = text.tointeger();&lt;br /&gt;
        MessagePlayer( &amp;quot;Your skin ID is: &amp;quot; + player.Skin, player );&lt;br /&gt;
    }&lt;br /&gt;
}&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/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=User_talk:Xmair&amp;diff=19375</id>
		<title>User talk:Xmair</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=User_talk:Xmair&amp;diff=19375"/>
		<updated>2016-07-14T05:54:15Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Replaced content with &amp;quot;&amp;#039;-..-&amp;#039;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;-..-&#039;&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindPlayer&amp;diff=19374</id>
		<title>Scripting/Squirrel/Client Functions/World::FindPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindPlayer&amp;diff=19374"/>
		<updated>2016-07-14T05:52:41Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the player instance for the ID, or null if the player does not exist.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindPlayer( int_ID )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;INTEGER&#039;&#039;&#039; &#039;&#039;&#039;int_ID&#039;&#039;&#039; The ID of the player to find.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19373</id>
		<title>Scripting/Squirrel/Client Functions/World::FindVehicle</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19373"/>
		<updated>2016-07-14T05:52:30Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindVehicle( int_ID )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;INTEGER&#039;&#039;&#039; &#039;&#039;&#039;int_ID&#039;&#039;&#039; The ID of the vehicle to find.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19372</id>
		<title>Scripting/Squirrel/Client Functions/World::FindVehicle</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19372"/>
		<updated>2016-07-14T05:52:12Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindVehicle( int_ID )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;INTEGER&#039;&#039;&#039; &#039;&#039;&#039;int_ID&#039;&#039;&#039; The ID of the vehicle to find.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19371</id>
		<title>Scripting/Squirrel/Client Functions/World::FindVehicle</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindVehicle&amp;diff=19371"/>
		<updated>2016-07-14T05:51:18Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in. == Syntax ==  &amp;lt;pre&amp;gt;World.FindVehicle&amp;lt;/pre&amp;gt;  == Arguments ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindVehicle&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindLocalPlayer&amp;diff=19370</id>
		<title>Scripting/Squirrel/Client Functions/World::FindLocalPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindLocalPlayer&amp;diff=19370"/>
		<updated>2016-07-14T05:50:26Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the local player instance.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindLocalPlayer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindLocalPlayer&amp;diff=19369</id>
		<title>Scripting/Squirrel/Client Functions/World::FindLocalPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindLocalPlayer&amp;diff=19369"/>
		<updated>2016-07-14T05:49:29Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function returns the local player instance. == Syntax ==  &amp;lt;pre&amp;gt;World.FindLocalPlayer&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;STRING&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;szText&amp;#039;&amp;#039;&amp;#039; The message to print.  == Return...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the local player instance.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindLocalPlayer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;szText&#039;&#039;&#039; The message to print.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindPlayer&amp;diff=19368</id>
		<title>Scripting/Squirrel/Client Functions/World::FindPlayer</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/World::FindPlayer&amp;diff=19368"/>
		<updated>2016-07-14T05:21:54Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function returns the player instance for the ID, or null if the player does not exist. == Syntax ==  &amp;lt;pre&amp;gt;World.FindPlayer( int_ID )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;INTEGER&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns the player instance for the ID, or null if the player does not exist.&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;World.FindPlayer( int_ID )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;INTEGER&#039;&#039;&#039; &#039;&#039;&#039;int_ID&#039;&#039;&#039; The ID of the player to find.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This page needs an example.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Console::Print&amp;diff=19367</id>
		<title>Scripting/Squirrel/Client Functions/Console::Print</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Console::Print&amp;diff=19367"/>
		<updated>2016-07-14T05:13:41Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function writes text to the game console.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Console.Print( szText )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;szText&#039;&#039;&#039; The message to print.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will message &#039;player has died.&#039; whenever a player dies.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Player::PlayerDeath( player )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Console.Print( player.Name + &amp;quot; has died.&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Player::PlayerDeath Player::PlayerDeath] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/print&amp;diff=19366</id>
		<title>Scripting/Squirrel/Client Functions/print</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/print&amp;diff=19366"/>
		<updated>2016-07-14T05:07:06Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function prints stuff in the debug file present in %appdata%\VCMP\04Beta\debuglog.txt.  == Syntax ==  &amp;lt;pre&amp;gt;print( szText )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;STRING&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;szTex...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function prints stuff in the debug file present in %appdata%\VCMP\04Beta\debuglog.txt.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;print( szText )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;szText&#039;&#039;&#039; The message to print.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will print &amp;quot;Client side scripts loaded&amp;quot; to the debug log when the client side scripts are loaded.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;Client side scripts loaded.&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Script::GetTicks&amp;diff=19365</id>
		<title>Scripting/Squirrel/Client Functions/Script::GetTicks</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Script::GetTicks&amp;diff=19365"/>
		<updated>2016-07-14T04:57:12Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function returns a number of milliseconds since the computer started. Can be used to measure time intervals.  == Syntax ==  &amp;lt;pre&amp;gt;None.&amp;lt;/pre&amp;gt;  == Arguments ==  * None.  ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns a number of milliseconds since the computer started. Can be used to measure time intervals.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;None.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* None.&lt;br /&gt;
&lt;br /&gt;
== Return type ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Integer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will message the number of milliseconds since the computer has started.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
	Console.Print( GetTicks( ).tostring( ) );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/Player::PlayerDeath&amp;diff=19364</id>
		<title>Scripting/Squirrel/Client Events/Player::PlayerDeath</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/Player::PlayerDeath&amp;diff=19364"/>
		<updated>2016-07-12T05:33:22Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This event is called when a player dies.  == Syntax ==  &amp;lt;pre&amp;gt;player - The instance.&amp;lt;/pre&amp;gt;  == Arguments ==  None.  == Example == This will message the player&amp;#039;s name when the p...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This event is called when a player dies.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;player - The instance.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will message the player&#039;s name when the player dies.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Player::PlayerDeath( player )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Console.Print( player.Name + &amp;quot; has died.&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] and function [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions/Console::Print Console::Print] were used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions&amp;diff=19363</id>
		<title>Scripting/Squirrel/Client Functions</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions&amp;diff=19363"/>
		<updated>2016-07-12T05:29:20Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Script Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Script Functions ==&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/dofile|dofile]](string filename)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Script::LoadScript|Script::LoadScript]](string filename)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/include|include]] (string filename)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/print|print]](string text)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Script::GetTicks|Script::GetTicks]]()&lt;br /&gt;
&lt;br /&gt;
== World Functions ==&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindPlayer|World::FindPlayer]](int id)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindLocalPlayer|World::FindLocalPlayer]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/World::FindVehicle|World::FindVehicle]](int id)&lt;br /&gt;
&lt;br /&gt;
== Server Functions ==&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Server::SendData|Server::SendData]](Stream stream)&lt;br /&gt;
&lt;br /&gt;
== Console Functions ==&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/Console::Print|Console::Print]](string text)&lt;br /&gt;
&lt;br /&gt;
== GUI Functions ==&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetMouseEnabled|GUI::GetMouseEnabled]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::SetMouseEnabled|GUI::SetMouseEnabled]](bool enabled)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetMousePos|GUI::GetMousePos]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetScreenSize|GUI::GetScreenSize]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::ScreenPosToWorld|GUI::ScreenPosToWorld]](Vector screenPosition)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::WorldPosToScreen|GUI::WorldPosToScreen]](Vector position)&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::GetFocusedElement|GUI::GetFocusedElement]]()&lt;br /&gt;
* [[Scripting/Squirrel/Client_Functions/GUI::SetFocusedElement|GUI::SetFocusedElement]](GUIElement element)&lt;br /&gt;
&lt;br /&gt;
== Data Types ==&lt;br /&gt;
{{Scripting/Squirrel/Functions/DataTypes}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/include&amp;diff=19362</id>
		<title>Scripting/Squirrel/Client Functions/include</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/include&amp;diff=19362"/>
		<updated>2016-07-12T05:27:57Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function loads a file.  == Syntax ==  &amp;lt;pre&amp;gt;include( FileName ) &amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;STRING&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;FileName&amp;#039;&amp;#039;&amp;#039; This is the name of the file, must be a string.  ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function loads a file.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;include( FileName ) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;FileName&#039;&#039;&#039; This is the name of the file, must be a string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will load the file named &#039;test.nut&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
include( &amp;quot;test.nut&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Script::LoadScript&amp;diff=19361</id>
		<title>Scripting/Squirrel/Client Functions/Script::LoadScript</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/Script::LoadScript&amp;diff=19361"/>
		<updated>2016-07-12T05:27:23Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function loads a file.  == Syntax ==  &amp;lt;pre&amp;gt;Script::LoadScript( FileName ) &amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;STRING&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;FileName&amp;#039;&amp;#039;&amp;#039; This is the name of the file, must be a s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function loads a file.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Script::LoadScript( FileName ) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;FileName&#039;&#039;&#039; This is the name of the file, must be a string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will load the file named &#039;test.nut&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
LoadScript( &amp;quot;test.nut&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/dofile&amp;diff=19360</id>
		<title>Scripting/Squirrel/Client Functions/dofile</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/dofile&amp;diff=19360"/>
		<updated>2016-07-12T05:26:26Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function loads a file.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dofile( FileName ) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;FileName&#039;&#039;&#039; This is the name of the file, must be a string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will load the file named &#039;test.nut&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
dofile( &amp;quot;test.nut&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad Script::ScriptLoad] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/dofile&amp;diff=19359</id>
		<title>Scripting/Squirrel/Client Functions/dofile</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Functions/dofile&amp;diff=19359"/>
		<updated>2016-07-12T05:24:39Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function loads a file.  == Syntax ==  &amp;lt;pre&amp;gt;dofile( FileName ) &amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;STRING&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;FileName&amp;#039;&amp;#039;&amp;#039; This is the name of the file, must be a string.  == E...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function loads a file.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dofile( FileName ) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;STRING&#039;&#039;&#039; &#039;&#039;&#039;FileName&#039;&#039;&#039; This is the name of the file, must be a string.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This will load the file named &#039;test.nut&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function Script::ScriptLoad( )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
dofile( &amp;quot;test.nut&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [[http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/Script::ScriptLoad]] was used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/WriteIniInteger&amp;diff=19358</id>
		<title>Scripting/Squirrel/Functions/WriteIniInteger</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/WriteIniInteger&amp;diff=19358"/>
		<updated>2016-07-12T05:17:16Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This function writes an integer value to an .ini file. If the file does not exist, the function will NOT create it because the ini plugin is messed up, you&#039;ll manually need to create the file.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;bool WriteIniInteger( string filename, string section, string var, int value )&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;filename&#039;&#039;&#039; This is the name of the file&lt;br /&gt;
* &#039;&#039;&#039;section&#039;&#039;&#039; The section that contains the value you want to create/edit&lt;br /&gt;
* &#039;&#039;&#039;var&#039;&#039;&#039; The name of the variable&lt;br /&gt;
* &#039;&#039;&#039;value&#039;&#039;&#039; The integer value for the variable&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example will save player&#039;s cash to a file &#039;PlayerCash.ini&#039; when they leave the game.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerPart( player, reason )&lt;br /&gt;
{&lt;br /&gt;
     WriteIniInteger( &amp;quot;PlayerCash.ini&amp;quot;, &amp;quot;Cash&amp;quot;, player.Name, player.Cash );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Player.Name|player.Name]], [[Scripting/Squirrel/Functions/Player.Cash|player.Cash]] and call [[OnPlayerPart]] were also used in 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/INI Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/WriteIniInteger&amp;diff=19357</id>
		<title>Scripting/Squirrel/Functions/WriteIniInteger</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/WriteIniInteger&amp;diff=19357"/>
		<updated>2016-07-12T05:16:52Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This function writes an integer value to an .ini file. If the file does not exist, the function will NOT create it because the ini plugin is messed up.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;bool WriteIniInteger( string filename, string section, string var, int value )&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;filename&#039;&#039;&#039; This is the name of the file&lt;br /&gt;
* &#039;&#039;&#039;section&#039;&#039;&#039; The section that contains the value you want to create/edit&lt;br /&gt;
* &#039;&#039;&#039;var&#039;&#039;&#039; The name of the variable&lt;br /&gt;
* &#039;&#039;&#039;value&#039;&#039;&#039; The integer value for the variable&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example will save player&#039;s cash to a file &#039;PlayerCash.ini&#039; when they leave the game.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerPart( player, reason )&lt;br /&gt;
{&lt;br /&gt;
     WriteIniInteger( &amp;quot;PlayerCash.ini&amp;quot;, &amp;quot;Cash&amp;quot;, player.Name, player.Cash );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Player.Name|player.Name]], [[Scripting/Squirrel/Functions/Player.Cash|player.Cash]] and call [[OnPlayerPart]] were also used in 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/INI Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.SetInterior&amp;diff=19356</id>
		<title>Scripting/Squirrel/Functions/Player.SetInterior</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.SetInterior&amp;diff=19356"/>
		<updated>2016-07-12T05:16:04Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Scripting/Deprecated}}&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Noop}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetUseClasses&amp;diff=19355</id>
		<title>Scripting/Squirrel/Functions/SetUseClasses</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetUseClasses&amp;diff=19355"/>
		<updated>2016-07-12T05:12:28Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Undo revision 19143 by Kennedyarz (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will enable/disable use of classes&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;SetUseClasses( bool );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;bool&#039;&#039; - true or false&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
SetUseClasses( true );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
SetUseClasses( false );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.ID&amp;diff=18887</id>
		<title>Scripting/Squirrel/Functions/Object.ID</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.ID&amp;diff=18887"/>
		<updated>2016-03-09T10:44:40Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function returns an object&amp;#039;s ID.  == Syntax ==  Object.ID;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;N/A&amp;#039;&amp;#039;&amp;#039;  == Example ==  &amp;lt;source lang=squirrel&amp;gt; function onScriptLoad ( ) { local ids = &amp;quot;&amp;quot;;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function returns an object&#039;s ID.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
Object.ID;&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=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ( )&lt;br /&gt;
{&lt;br /&gt;
local ids = &amp;quot;&amp;quot;;&lt;br /&gt;
for ( local i=0; i&amp;lt; GetObjectCount(); i++)&lt;br /&gt;
{&lt;br /&gt;
if ( FindObject( i ) ) ids = ids + &amp;quot;, &amp;quot; + FindObject( i ).ID;&lt;br /&gt;
}&lt;br /&gt;
print( &amp;quot;Loaded objects with ids: &amp;quot; + ids );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowAllMapObjects&amp;diff=18882</id>
		<title>Scripting/Squirrel/Functions/ShowAllMapObjects</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowAllMapObjects&amp;diff=18882"/>
		<updated>2016-03-09T10:32:13Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function shows all the hidden map objects.   == Syntax == &amp;lt;pre&amp;gt;ShowAllMapObjects()&amp;lt;/pre&amp;gt;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;N/A&amp;#039;&amp;#039;&amp;#039; Not available.  == Example == &amp;lt;source lang=squirrel&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function shows all the hidden map objects.&lt;br /&gt;
 &lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;pre&amp;gt;ShowAllMapObjects()&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; Not available.&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;showallobjects&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
   ShowAllMapObjects( );&lt;br /&gt;
   MessagePlayer ( &amp;quot;No objects are hidden now!&amp;quot; , player );&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&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/Object_Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeaponSync&amp;diff=18880</id>
		<title>Scripting/Squirrel/Functions/GetWeaponSync</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetWeaponSync&amp;diff=18880"/>
		<updated>2016-03-09T10:28:29Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;SetWeaponSync does not exists in 0.4. Rely on anticheat.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SetWeaponSync does not exists in 0.4. Rely on anticheat.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeaponSync&amp;diff=18879</id>
		<title>Scripting/Squirrel/Functions/SetWeaponSync</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeaponSync&amp;diff=18879"/>
		<updated>2016-03-09T10:27:53Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;SetWeaponSync does not exists in 0.4. Rely on anticheat.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SetWeaponSync does not exists in 0.4. Rely on anticheat.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFallEnabled&amp;diff=18878</id>
		<title>Scripting/Squirrel/Functions/GetFallEnabled</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFallEnabled&amp;diff=18878"/>
		<updated>2016-03-09T10:24:40Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SetFallEnabled does not have any effect so this function is also trash.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetFallEnabled&amp;diff=18877</id>
		<title>Scripting/Squirrel/Functions/SetFallEnabled</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetFallEnabled&amp;diff=18877"/>
		<updated>2016-03-09T10:23:37Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function has no effect.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function has no effect.&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFallEnabled&amp;diff=18869</id>
		<title>Scripting/Squirrel/Functions/GetFallEnabled</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetFallEnabled&amp;diff=18869"/>
		<updated>2016-03-09T09:47:19Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function will return the current status of fall ( vehicle killing type ) being enabled or disabled.  == Syntax ==  &amp;lt;pre&amp;gt;GetFallEnabled()&amp;lt;/pre&amp;gt;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;N/A&amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of fall ( vehicle killing type ) being enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetFallEnabled()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Fall is set to &amp;quot; + GetFallEnabled() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18865</id>
		<title>Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18865"/>
		<updated>2016-03-09T09:41:38Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of showing markers to only team members.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetShowOnlyTeamMarkers()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowOnlyTeamMarkers() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18864</id>
		<title>Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18864"/>
		<updated>2016-03-09T09:40:44Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of showing markers to only team members.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetShowNametags()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowOnlyTeamMarkers() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18863</id>
		<title>Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18863"/>
		<updated>2016-03-09T09:37:31Z</updated>

		<summary type="html">&lt;p&gt;Xmair: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of players&#039; nametags.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetShowNametags()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowOnlyTeamMarkers() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetShowOnlyTeamMarkers&amp;diff=18859</id>
		<title>Scripting/Squirrel/Functions/SetShowOnlyTeamMarkers</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetShowOnlyTeamMarkers&amp;diff=18859"/>
		<updated>2016-03-09T09:20:25Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function will set the player&amp;#039;s tag visible to only his/her team.  == Syntax ==  &amp;lt;pre&amp;gt;SetShowOnlyTeamMarkers ( bool );&amp;lt;/pre&amp;gt;  == Arguments ==  &amp;#039;&amp;#039;&amp;#039;bool&amp;#039;&amp;#039;&amp;#039; True / false.  ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the player&#039;s tag visible to only his/her team.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetShowOnlyTeamMarkers ( bool );&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bool&#039;&#039;&#039; True / false.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
SetShowOnlyTeamMarkers( true );&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowOnlyTeamMarkers() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] and [[GetShowOnlyTeamMarkers]] were used in this example.&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18858</id>
		<title>Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowOnlyTeamMarkers&amp;diff=18858"/>
		<updated>2016-03-09T09:18:01Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function will return the current status of players&amp;#039; nametags.  == Syntax ==  &amp;lt;pre&amp;gt;GetShowNametags()&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;bool&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of players&#039; nametags.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetShowNametags()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowNametags() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetObjectCount&amp;diff=18857</id>
		<title>Scripting/Squirrel/Functions/GetObjectCount</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetObjectCount&amp;diff=18857"/>
		<updated>2016-03-09T09:16:56Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function will return the current object count.  == Syntax ==  &amp;lt;pre&amp;gt;GetObjectCount()&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;&amp;#039;int.&amp;#039;&amp;#039;&amp;#039;  == Example == Thi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current object count.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetObjectCount()&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;&#039;int.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This command will return the object count.&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;objects&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
MessagePlayer(&amp;quot;There are &amp;quot; + GetObjectCount() + &amp;quot; objects in this server!&amp;quot; , player );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onPlayerCommand]] was used in this example.&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowNametags&amp;diff=18856</id>
		<title>Scripting/Squirrel/Functions/GetShowNametags</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/GetShowNametags&amp;diff=18856"/>
		<updated>2016-03-09T09:14:09Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will return the current status of players&#039; nametags.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GetShowNametags()&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; - &#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;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad ()&lt;br /&gt;
{&lt;br /&gt;
print ( &amp;quot;Show name tags setting is set to &amp;quot; + GetShowNametags() + &amp;quot;!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Call [[onScriptLoad]] was used in this example.&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Server_Settings}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetGameModeText&amp;diff=18855</id>
		<title>Scripting/Squirrel/Functions/SetGameModeText</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetGameModeText&amp;diff=18855"/>
		<updated>2016-03-09T09:11:12Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set the gamemode text to be shown in the client browser.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SetGameModeName( gamemodetext )&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;gamemodetext&#039;&#039;&#039; - The game mode name to be set&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;gamemodename&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
 if ( !text ) MessagePlayer(&amp;quot;/gamemodename [ Gamemode name ]&amp;quot; , player)&lt;br /&gt;
 else SetGameModeName( text.tostring( ) ), MessagePlayer( &amp;quot;You changed the gamemode&#039;s name to &amp;quot; +text + &amp;quot;!&amp;quot; , player);&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
Call [[onPlayerCommand]] was used in this example.&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>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowMapObject&amp;diff=18854</id>
		<title>Scripting/Squirrel/Functions/ShowMapObject</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowMapObject&amp;diff=18854"/>
		<updated>2016-03-09T09:06:07Z</updated>

		<summary type="html">&lt;p&gt;Xmair: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will show an object on the map if the map was hidden using [[HideMapObject]] or [[RawHideMapObject]]&lt;br /&gt;
 &lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;pre&amp;gt;ShowMapObject( ObjectID , VectorX, VectorY, VectorZ );&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;ObjectID&#039;&#039;&#039; - The ID of the object, must be an integer.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorX&#039;&#039;&#039; - The vector x of the hidden object. Should be float.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorY&#039;&#039;&#039; - The vector y of the hidden object. Should be float.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorZ&#039;&#039;&#039; - The vector z of the hidden object. Should be float.&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;hideobj&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
   HideMapObject ( 379 , -1721.86 , -293.002 , 15.1086 );&lt;br /&gt;
   MessagePlayer ( &amp;quot;You&#039;ve successfully hidden the army gate!&amp;quot; , player );&lt;br /&gt;
 }&lt;br /&gt;
 else if ( cmd == &amp;quot;showobj&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  ShowMapObject ( 379 , -1721.86 , -293.002 , 15.1086 );&lt;br /&gt;
  MessagePlayer ( &amp;quot;The army gate is no longer hidden!&amp;quot; , player );&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Xmair.&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/Object_Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowMapObject&amp;diff=18853</id>
		<title>Scripting/Squirrel/Functions/ShowMapObject</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/ShowMapObject&amp;diff=18853"/>
		<updated>2016-03-09T09:05:18Z</updated>

		<summary type="html">&lt;p&gt;Xmair: Created page with &amp;quot;This function will show an object on the map if the map was hidden using HideMapObject or RawHideMapObject   == Syntax == &amp;lt;pre&amp;gt;ShowMapObject( ObjectID , VectorX, Vecto...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will show an object on the map if the map was hidden using [[HideMapObject]] or [[RawHideMapObject]]&lt;br /&gt;
 &lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;pre&amp;gt;ShowMapObject( ObjectID , VectorX, VectorY, VectorZ );&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;ObjectID&#039;&#039;&#039; - The ID of the object, must be an integer.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorX&#039;&#039;&#039; - The vector x of the hidden object. Should be float.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorY&#039;&#039;&#039; - The vector y of the hidden object. Should be float.&lt;br /&gt;
* &#039;&#039;float&#039;&#039; &#039;&#039;&#039;VectorZ&#039;&#039;&#039; - The vector z of the hidden object. Should be float.&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;hideobj&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
   HideMapObject ( 379 , -1721.86 , -293.002 , 15.1086 );&lt;br /&gt;
   MessagePlayer ( &amp;quot;You&#039;ve successfully hidden the army gate!&amp;quot; , player );&lt;br /&gt;
 }&lt;br /&gt;
 else if ( cmd == &amp;quot;showobj&amp;quot; )&lt;br /&gt;
 {&lt;br /&gt;
  ShowMapObject ( 379 , -1721.86 , -293.002 , 15.1086 );&lt;br /&gt;
  MessagePlayer ( &amp;quot;The army gate is no longer hidden!&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/Object_Functions}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
</feed>