<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Talk:SetPedMaxHealth?action=history&amp;feed=atom</id>
	<title>Talk:SetPedMaxHealth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Talk:SetPedMaxHealth?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:SetPedMaxHealth&amp;action=history"/>
	<updated>2026-04-10T03:58:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:SetPedMaxHealth&amp;diff=48684&amp;oldid=prev</id>
		<title>AlexTMjugador at 12:56, 6 August 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:SetPedMaxHealth&amp;diff=48684&amp;oldid=prev"/>
		<updated>2016-08-06T12:56:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:56, 6 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setElementHealth(player, 200) would achieve the exact same thing... --[[User:Arran Fortuna|Arran Fortuna]] ([[User talk:Arran Fortuna|talk]]) 20:31, 5 August 2016 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setElementHealth(player, 200) would achieve the exact same thing... --[[User:Arran Fortuna|Arran Fortuna]] ([[User talk:Arran Fortuna|talk]]) 20:31, 5 August 2016 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* It doesn't have to actually. What you say is true if the ped has 1000 max health stat, but this function is designed to set the ped's health to the maximum for every stat value. And even if doing what you commented works with every stat value, the documentation for setElementHealth doesn't explicitly say that it will adjust to the maximum value, so using this function is a good programming practice because you protect your code from changes in a behaviour that doesn't have to be like that. --[[User:AlexTMjugador|AlexTMjugador]] ([[User talk:AlexTMjugador|talk]]) 12:56, 6 August 2016 (UTC)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-48681:rev-48684 --&gt;
&lt;/table&gt;</summary>
		<author><name>AlexTMjugador</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:SetPedMaxHealth&amp;diff=48681&amp;oldid=prev</id>
		<title>Arran Fortuna: Created page with &quot;setElementHealth(player, 200) would achieve the exact same thing... --~~~~&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:SetPedMaxHealth&amp;diff=48681&amp;oldid=prev"/>
		<updated>2016-08-05T20:31:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;setElementHealth(player, 200) would achieve the exact same thing... --~~~~&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;setElementHealth(player, 200) would achieve the exact same thing... --[[User:Arran Fortuna|Arran Fortuna]] ([[User talk:Arran Fortuna|talk]]) 20:31, 5 August 2016 (UTC)&lt;/div&gt;</summary>
		<author><name>Arran Fortuna</name></author>
	</entry>
</feed>