<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PL/getPedClothes?action=history&amp;feed=atom</id>
	<title>PL/getPedClothes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PL/getPedClothes?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getPedClothes&amp;action=history"/>
	<updated>2026-04-09T13:53:24Z</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=PL/getPedClothes&amp;diff=48194&amp;oldid=prev</id>
		<title>ThePiotrek: ThePiotrek moved page PL/GetPedClothes to PL/getPedClothes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getPedClothes&amp;diff=48194&amp;oldid=prev"/>
		<updated>2016-07-19T19:31:46Z</updated>

		<summary type="html">&lt;p&gt;ThePiotrek moved page &lt;a href=&quot;/wiki/PL/GetPedClothes&quot; class=&quot;mw-redirect&quot; title=&quot;PL/GetPedClothes&quot;&gt;PL/GetPedClothes&lt;/a&gt; to &lt;a href=&quot;/wiki/PL/getPedClothes&quot; title=&quot;PL/getPedClothes&quot;&gt;PL/getPedClothes&lt;/a&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 19:31, 19 July 2016&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-48172:rev-48194 --&gt;
&lt;/table&gt;</summary>
		<author><name>ThePiotrek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/getPedClothes&amp;diff=48172&amp;oldid=prev</id>
		<title>ThePiotrek: Created page with &quot;{{PL/Shared function}} __NOTOC__ Ta funkcja zwraca teksturę i model ubrań wybranego typu aktualnie noszonych przez NPC.  ==Składnia== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; string string ge...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getPedClothes&amp;diff=48172&amp;oldid=prev"/>
		<updated>2016-07-19T18:32:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PL/Shared function}} __NOTOC__ Ta funkcja zwraca teksturę i model ubrań wybranego typu aktualnie noszonych przez &lt;a href=&quot;/wiki/Ped&quot; class=&quot;mw-redirect&quot; title=&quot;Ped&quot;&gt;NPC&lt;/a&gt;.  ==Składnia== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string string ge...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PL/Shared function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Ta funkcja zwraca teksturę i model ubrań wybranego typu aktualnie noszonych przez [[ped|NPC]].&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string string getPedClothes ( ped thePed, int clothesType )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{PL/OOP||[[ped]]:getClothes||addPedClothes}}&lt;br /&gt;
&lt;br /&gt;
===Wymagane argumenty===&lt;br /&gt;
*'''thePed:''' [[ped|NPC]]	którego ubrania chcemy przetworzyć.&lt;br /&gt;
*'''clothesType:''' Typ/slot ubrań które chcesz pobrać.&lt;br /&gt;
{{Clothes Textures}}&lt;br /&gt;
&lt;br /&gt;
===Wartości zwrotne===&lt;br /&gt;
Funkcja zwraca dwa ''ciągi znaków'', teksturę ubrania i model. Pierwsza wartość będzie wynosić ''false'' jeśli gracz nie posiada ubrań tego typu lub został podany nieprawidłowy gracz/ped.&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Serwer&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Ta funkcja wyświetla teksturę i model ubrań gracza który wpisał /clothes &amp;lt;typ&amp;gt;. Na przykład: &amp;quot;clothes 3&amp;quot; dla butów.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function getClothes ( source, key, clothesType )&lt;br /&gt;
    local texture, model = getPedClothes ( source, clothesType )&lt;br /&gt;
    if ( texture and model ) then&lt;br /&gt;
        outputChatBox ( getPlayerName(source) .. &amp;quot; nosi &amp;quot; .. texture .. &amp;quot; &amp;quot; .. model ..&lt;br /&gt;
                        &amp;quot; na jego &amp;quot; .. getClothesTypeName(clothesType), source )&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox ( &amp;quot;Nieprawidłowy typ.&amp;quot;, source )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;clothes&amp;quot;, getClothes )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz także==&lt;br /&gt;
{{Ped functions}}&lt;br /&gt;
&lt;br /&gt;
[[en:GetPedClothes]]&lt;/div&gt;</summary>
		<author><name>ThePiotrek</name></author>
	</entry>
</feed>