<?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=Rww</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=Rww"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/wiki/Special:Contributions/Rww"/>
	<updated>2026-04-05T21:57:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeatherLock&amp;diff=18116</id>
		<title>Scripting/Squirrel/Functions/SetWeatherLock</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetWeatherLock&amp;diff=18116"/>
		<updated>2015-03-05T22:08:56Z</updated>

		<summary type="html">&lt;p&gt;Rww: Created page with &amp;quot;Sets the the weather to be locked or not  == Syntax ==  &amp;lt;pre&amp;gt;bool SetWeatherLock( bool )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;&amp;#039;bool&amp;#039;&amp;#039;&amp;#039; - Whether or not to lock the weather  == Example...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sets the the weather to be locked or not&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;bool SetWeatherLock( 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; - Whether or not to lock the weather&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
After typing &#039;/c weatherlock&#039;, the weather rate will be locked. And &#039;/c weatherunlock&#039;, the weather rate will be unlocked.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
     if ( cmd == &amp;quot;weatherlock&amp;quot; )&lt;br /&gt;
     {&lt;br /&gt;
          SetWeatherLock( true );&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCommand( player, cmd, text )&lt;br /&gt;
{&lt;br /&gt;
     if ( cmd == &amp;quot;weatherunlock&amp;quot; )&lt;br /&gt;
     {&lt;br /&gt;
          SetWeatherLock( false );&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
The call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] was used in in this example. More info about this in the corresponding page.&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>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.UniqueID&amp;diff=18115</id>
		<title>Scripting/Squirrel/Functions/Player.UniqueID</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.UniqueID&amp;diff=18115"/>
		<updated>2015-03-05T22:01:10Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will return player Unique ID.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;string player.UniqueID&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onPlayerJoin( player )&lt;br /&gt;
{&lt;br /&gt;
     ClientMessage( &amp;quot;pm &amp;gt;&amp;gt; Your Unique ID: &amp;quot; + player.UniqueID, player, 0, 255, 0 );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Function [[Scripting/Squirrel/Functions/ClientMessage|ClientMessage]] and call [[onPlayerJoin]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.Score&amp;diff=18114</id>
		<title>Scripting/Squirrel/Functions/Player.Score</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.Score&amp;diff=18114"/>
		<updated>2015-03-05T21:59:58Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instance variable returns or sets player&#039;s score.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;int player.Score&lt;br /&gt;
&lt;br /&gt;
player.Score = int score&amp;lt;/pre&amp;gt;&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;myscore&amp;quot; )&lt;br /&gt;
   {&lt;br /&gt;
     MessagePlayer( &amp;quot;Your score is &amp;quot; + player.Score , player ); &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Function [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]] and call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18113</id>
		<title>Scripting/Squirrel/Functions/Player.IP</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18113"/>
		<updated>2015-03-05T21:54:34Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instance variable returns player&#039;s IP address.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;string player.IP&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function OnPlayerCommand( player , cmd , text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;myip&amp;quot; ) MessagePlayer( &amp;quot; Your IP is &amp;quot; + player.IP , player );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]], [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] and call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.UniqueID&amp;diff=18112</id>
		<title>Scripting/Squirrel/Functions/Player.UniqueID</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.UniqueID&amp;diff=18112"/>
		<updated>2015-03-05T21:54:04Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will return player Unique ID.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;string player.UniqueID&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onPlayerJoin( player )&lt;br /&gt;
{&lt;br /&gt;
     ClientMessage( &amp;quot;pm &amp;gt;&amp;gt; Your Unique ID: &amp;quot; + player.UniqueID, player, 0, 255, 0 );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Function [[ClientMessage]] and call [[onPlayerJoin]] were used in this example. More info about them in the corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18111</id>
		<title>Scripting/Squirrel/Functions/Player.IP</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18111"/>
		<updated>2015-03-05T21:53:54Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instance variable returns player&#039;s IP address.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;string player.IP&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function OnPlayerCommand( player , cmd , text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;myip&amp;quot; ) MessagePlayer( &amp;quot; Your IP is &amp;quot; + player.IP , player );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Function [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]], [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] and call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerKill&amp;diff=18110</id>
		<title>OnPlayerKill</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerKill&amp;diff=18110"/>
		<updated>2015-03-05T21:50:45Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This event is called every time a player kills another (and they&#039;re not in the same team). &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerKill( killer, player, reason, bodypart )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;player&#039;&#039;&#039; - He is who is attacking&lt;br /&gt;
* &#039;&#039;&#039;killer&#039;&#039;&#039; - He is who is being killed&lt;br /&gt;
* &#039;&#039;&#039;reason&#039;&#039;&#039; - [[Weapons|Weapon ID]]&lt;br /&gt;
* &#039;&#039;&#039;bodypart&#039;&#039;&#039; - [[Scripting/Squirrel/Constants#Body_Part|Bodypart ID]]&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerKill( killer, player, reason, bodypart )&lt;br /&gt;
{&lt;br /&gt;
    Message( &amp;quot;** &amp;quot; + killer.Name + &amp;quot; killed &amp;quot; + player.Name + &amp;quot; (&amp;quot; + GetWeaponName( reason ) + &amp;quot;) (&amp;quot; + bodypart + &amp;quot;)&amp;quot; );    &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Message|Message]], [[Scripting/Squirrel/Functions/Player.Name|Player.Name]], [[Scripting/Squirrel/Functions/GetWeaponName|GetWeaponName]] were used in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18108</id>
		<title>Scripting/Squirrel/Functions/Player.IP</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Player.IP&amp;diff=18108"/>
		<updated>2015-03-04T10:30:42Z</updated>

		<summary type="html">&lt;p&gt;Rww: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instance variable returns player&#039;s IP address.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;string player.IP&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function OnPlayerCommand( player , cmd , text )&lt;br /&gt;
{&lt;br /&gt;
	if ( cmd == &amp;quot;myip&amp;quot; ) MessagePlayer( &amp;quot; Your IP is &amp;quot; + player.IP , player );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/MessagePlayer|MessagePlayer]], [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] and call [[Scripting/Squirrel/Events/Player/onPlayerCommand|onPlayerCommand]] were used in in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Player Functions}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=OnPlayerCrashDump&amp;diff=18107</id>
		<title>OnPlayerCrashDump</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=OnPlayerCrashDump&amp;diff=18107"/>
		<updated>2015-03-04T10:22:30Z</updated>

		<summary type="html">&lt;p&gt;Rww: Created page with &amp;quot;This event is called every time a player kills another (and they&amp;#039;re not in the same team).   == Syntax ==  &amp;lt;pre&amp;gt;function onPlayerCrashDump( player, CrashReport )&amp;lt;/pre&amp;gt;  == Arg...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This event is called every time a player kills another (and they&#039;re not in the same team). &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function onPlayerCrashDump( player, CrashReport )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;player&#039;&#039;&#039; - He is who is crash&lt;br /&gt;
* &#039;&#039;&#039;CrashReport&#039;&#039;&#039; - ...&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;squirrel&amp;quot;&amp;gt;&lt;br /&gt;
function onPlayerCrashDump( player, CrashReport ) Message( &amp;quot;** &amp;quot; + player.Name + &amp;quot; left server. [Crash]!&amp;quot; );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The functions [[Scripting/Squirrel/Functions/Message|Message]], [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] were used in this example. More info about them in corresponding pages.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Events/Player_Events}}&lt;/div&gt;</summary>
		<author><name>Rww</name></author>
	</entry>
</feed>