<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/RO/getPedArmor?action=history&amp;feed=atom</id>
	<title>RO/getPedArmor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/RO/getPedArmor?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/getPedArmor&amp;action=history"/>
	<updated>2026-05-13T15:28:23Z</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=RO/getPedArmor&amp;diff=76292&amp;oldid=prev</id>
		<title>Hydra: Created page with &quot;__NOTOC__ {{Server client function}} Această funcție returnează armura curentă unui ped specificat. ped  ==Syntax== &lt;syntaxhighlight lang=&quot;lua&quot;&gt;float getPedArmor ( ped thePed )&lt;/syntaxhighlight&gt; {{OOP||ped:getArmor|armor|setPedArmor}}  ===Argumente Necesare=== *'''thePed:''' ped armura cui vrei sa ii verifici  ===Returnează=== Un ''float'' cu armură, ''fals'' dacă a fost dat un ped invalid.  ==Exemplu== &lt;section name=&quot;Client&quot; class=&quot;client&quot; show=&quot;true&quot;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/getPedArmor&amp;diff=76292&amp;oldid=prev"/>
		<updated>2023-03-15T16:27:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Server client function}} Această funcție returnează armura curentă unui ped specificat. &lt;a href=&quot;/wiki/Ped&quot; class=&quot;mw-redirect&quot; title=&quot;Ped&quot;&gt;ped&lt;/a&gt;  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getPedArmor ( ped thePed )&amp;lt;/syntaxhighlight&amp;gt; {{OOP||&lt;a href=&quot;/wiki/Ped&quot; class=&quot;mw-redirect&quot; title=&quot;Ped&quot;&gt;ped&lt;/a&gt;:getArmor|armor|setPedArmor}}  ===Argumente Necesare=== *&amp;#039;&amp;#039;&amp;#039;thePed:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/wiki/Ped&quot; class=&quot;mw-redirect&quot; title=&quot;Ped&quot;&gt;ped&lt;/a&gt; armura cui vrei sa ii verifici  ===Returnează=== Un &amp;#039;&amp;#039;float&amp;#039;&amp;#039; cu armură, &amp;#039;&amp;#039;fals&amp;#039;&amp;#039; dacă a fost dat un ped invalid.  ==Exemplu== &amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Această funcție returnează armura curentă unui ped specificat. [[ped]]&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getPedArmor ( ped thePed )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[ped]]:getArmor|armor|setPedArmor}}&lt;br /&gt;
&lt;br /&gt;
===Argumente Necesare===&lt;br /&gt;
*'''thePed:''' [[ped]] armura cui vrei sa ii verifici&lt;br /&gt;
&lt;br /&gt;
===Returnează===&lt;br /&gt;
Un ''float'' cu armură, ''fals'' dacă a fost dat un ped invalid.&lt;br /&gt;
&lt;br /&gt;
==Exemplu==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Acest exemplu definește o comandă cu numele „showarmor” care arată jucătorului care o execută cât de multă armură are.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function showArmor ( )&lt;br /&gt;
	local armor = getPedArmor ( localPlayer )&lt;br /&gt;
	outputChatBox( &amp;quot;Your armor: &amp;quot; .. armor )&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;showarmor&amp;quot;, showArmor )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vezi și==&lt;br /&gt;
{{Ped functions}}&lt;br /&gt;
&lt;br /&gt;
[[en:getPedArmor]]&lt;/div&gt;</summary>
		<author><name>Hydra</name></author>
	</entry>
</feed>