<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PL/getVehiclePaintjob?action=history&amp;feed=atom</id>
	<title>PL/getVehiclePaintjob - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PL/getVehiclePaintjob?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getVehiclePaintjob&amp;action=history"/>
	<updated>2026-04-11T02:04:11Z</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/getVehiclePaintjob&amp;diff=49501&amp;oldid=prev</id>
		<title>ThePiotrek: Created page with &quot;__NOTOC__ {{PL/Shared function}} Ta funkcja pobiera aktualne malowanie danego pojazdu. &lt;br /&gt;  ==Składnia== &lt;syntaxhighlight lang=&quot;lua&quot;&gt;int getVehiclePaintjob ( vehicle theVe...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getVehiclePaintjob&amp;diff=49501&amp;oldid=prev"/>
		<updated>2016-10-11T11:38:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{PL/Shared function}} Ta funkcja pobiera aktualne malowanie danego pojazdu. &amp;lt;br /&amp;gt;  ==Składnia== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getVehiclePaintjob ( vehicle theVe...&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;
{{PL/Shared function}}&lt;br /&gt;
Ta funkcja pobiera aktualne malowanie danego pojazdu. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getVehiclePaintjob ( vehicle theVehicle )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{PL/OOP||[[vehicle]]:getPaintjob|paintjob|setVehiclePaintjob}}&lt;br /&gt;
===Wymagane argumenty===&lt;br /&gt;
*'''theVehicle''': [[vehicle|pojazd]] którego malowanie chcesz pobrać&lt;br /&gt;
&lt;br /&gt;
==Zwracane wartości==&lt;br /&gt;
Zwraca liczbę całkowitą reprezentującą numer malowania pojazdu. &amp;lt;br /&amp;gt;&lt;br /&gt;
* '''0''': Pierwsze malowanie&lt;br /&gt;
* '''1''': Drugie malowanie&lt;br /&gt;
* '''2''': Trzecie malowanie&lt;br /&gt;
* '''3''': Domyślne malowanie (brak malowania)&lt;br /&gt;
{{PL/Note|Zawsze zwraca 3 jeśli dany pojazd nie obsługuje malowań}}&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
Ten przykład ustawi malowanie nowego pojazdu Sultan na '2', po czym sprawdzi czy ten został ustawiony.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
newvehicle = createVehicle ( 560, 100, 100, 40 )   -- tworzymy sultana&lt;br /&gt;
setVehiclePaintjob ( newvehicle, 2 )               -- zmieniamy malowanie&lt;br /&gt;
paintjob = getVehiclePaintjob ( newvehicle )&lt;br /&gt;
if ( paintjob == 2 ) then&lt;br /&gt;
    outputChatBox ( &amp;quot;Malowanie zostało ustawione poprawnie!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz także==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[en:getVehiclePaintjob]]&lt;/div&gt;</summary>
		<author><name>ThePiotrek</name></author>
	</entry>
</feed>