<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FClient_Events%2FPlayer%3A%3APlayerDeath</id>
	<title>Scripting/Squirrel/Client Events/Player::PlayerDeath - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FClient_Events%2FPlayer%3A%3APlayerDeath"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/Player::PlayerDeath&amp;action=history"/>
	<updated>2026-04-28T13:50:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/Player::PlayerDeath&amp;diff=19364&amp;oldid=prev</id>
		<title>Xmair: Created page with &quot;This event is called when a player dies.  == Syntax ==  &lt;pre&gt;player - The instance.&lt;/pre&gt;  == Arguments ==  None.  == Example == This will message the player&#039;s name when the p...&quot;</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&amp;oldid=prev"/>
		<updated>2016-07-12T05:33:22Z</updated>

		<summary type="html">&lt;p&gt;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;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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&amp;#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>
</feed>