obsolete:lua:lua_addplayerdeaths

Lua AddPlayerDeaths

void AddPlayerDeaths( int playerIndex, int deaths );

Description

Adds deaths onto the current players death total. Can be negative to take deaths off.

Version

Beta 3.0

Example

0@@
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8"/>
<title>obsolete:lua:lua_addplayerdeaths</title>
<meta name="generator" content="DokuWiki"/>
<meta name="theme-color" content="#008800"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="obsolete,lua,lua_addplayerdeaths"/>
<link rel="start" href="/"/>
<link rel="manifest" href="/lib/exe/manifest.php"/>
<link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/obsolete/lua/lua_addplayerdeaths"/>
<link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/obsolete/lua/lua_addplayerdeaths"/>
<link rel="canonical" href="http://localhost/obsolete/lua/lua_addplayerdeaths"/>
<link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=e1a4ca2c32f97953f6c5bd7f107265dc"/>
<!-- [if gte IE 9]><! -->
<script>
/*
<![CDATA[ */var NS='obsolete:lua';var JSINFO = {"isadmin":0,"isauth":0,"move_renameokay":false,"id":"obsolete:lua:lua_addplayerdeaths","namespace":"obsolete:lua","ACT":"export_xhtml","useHeadingNavigation":1,"useHeadingContent":1}; /*! ]]>
*/
</script>
<script src="/lib/exe/jquery.php?tseed=f0349b609f9b91a485af8fd8ecd4aea4">
/*
<![CDATA[ */ /*! ]]>
*/
</script>
<script src="/lib/exe/js.php?t=dokuwiki&tseed=e1a4ca2c32f97953f6c5bd7f107265dc&template=dokuwiki">
/*
<![CDATA[ */ /*! ]]>
*/
</script>
<!-- <![endif] -->
</head>
<body>
<div class="dokuwiki export">
<!-- TOC START -->
<div id="dw__toc" class="dw__toc">
<h3 class="toggle">Table of Contents</h3>
<div>
<ul class="toc">
<li class="level1">
<div class="li">
<a href="#lua_addplayerdeaths">Lua AddPlayerDeaths</a>
</div>
<ul class="toc">
<li class="level2">
<div class="li">
<a href="#description">Description</a>
</div>
</li>
<li class="level2">
<div class="li">
<a href="#version">Version</a>
</div>
</li>
<li class="level2">
<div class="li">
<a href="#example">Example</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- TOC END -->
<h1 class="sectionedit1" id="lua_addplayerdeaths">Lua AddPlayerDeaths</h1>
<div class="level1">
<p> void AddPlayerDeaths( int playerIndex, int deaths ); </p>
</div>
<!-- EDIT{&quot;target&quot;:&quot;section&quot;,&quot;name&quot;:&quot;Lua AddPlayerDeaths&quot;,&quot;hid&quot;:&quot;lua_addplayerdeaths&quot;,&quot;codeblockOffset&quot;:0,&quot;secid&quot;:1,&quot;range&quot;:&quot;1-89&quot;} -->
<h2 class="sectionedit2" id="description">Description</h2>
<div class="level2">
<p> Adds deaths onto the current players death total. Can be negative to take deaths off. </p>
</div>
<!-- EDIT{&quot;target&quot;:&quot;section&quot;,&quot;name&quot;:&quot;Description&quot;,&quot;hid&quot;:&quot;description&quot;,&quot;codeblockOffset&quot;:0,&quot;secid&quot;:2,&quot;range&quot;:&quot;90-198&quot;} -->
<h2 class="sectionedit3" id="version">Version</h2>
<div class="level2">
<p> Beta 3.0 </p>
</div>
<!-- EDIT{&quot;target&quot;:&quot;section&quot;,&quot;name&quot;:&quot;Version&quot;,&quot;hid&quot;:&quot;version&quot;,&quot;codeblockOffset&quot;:0,&quot;secid&quot;:3,&quot;range&quot;:&quot;199-226&quot;} -->
<h2 class="sectionedit4" id="example">Example</h2>
<div class="level2">
<pre class="code">0@@</pre>
</div>
<!-- EDIT{&quot;target&quot;:&quot;section&quot;,&quot;name&quot;:&quot;Example&quot;,&quot;hid&quot;:&quot;example&quot;,&quot;codeblockOffset&quot;:0,&quot;secid&quot;:4,&quot;range&quot;:&quot;227-&quot;} -->
</div>
</body>
</html>