<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PL/onClientElementDataChange?action=history&amp;feed=atom</id>
	<title>PL/onClientElementDataChange - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PL/onClientElementDataChange?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onClientElementDataChange&amp;action=history"/>
	<updated>2026-05-18T23:00:48Z</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/onClientElementDataChange&amp;diff=48457&amp;oldid=prev</id>
		<title>ThePiotrek at 21:50, 21 July 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onClientElementDataChange&amp;diff=48457&amp;oldid=prev"/>
		<updated>2016-07-21T21:50:43Z</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 21:50, 21 July 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-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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;===Zdarzenia elementów po stronie klienta===&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;===Zdarzenia elementów po stronie klienta===&lt;/div&gt;&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;{{Client_element_events}}&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;{{Client_element_events}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Funkcje &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;elementów &lt;/del&gt;po stronie klienta===&lt;/div&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;===Funkcje &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zdarzeń &lt;/ins&gt;po stronie klienta===&lt;/div&gt;&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;{{Client_event_functions}}&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;{{Client_event_functions}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-48448:rev-48457 --&gt;
&lt;/table&gt;</summary>
		<author><name>ThePiotrek</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onClientElementDataChange&amp;diff=48448&amp;oldid=prev</id>
		<title>ThePiotrek: Created page with &quot;{{PL/Client event}} __NOTOC__  To zdarzenie jest wywoływane kiedy '' dane'' elementu zostaną zmienione.  ==Parametry== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; string dataName, strin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onClientElementDataChange&amp;diff=48448&amp;oldid=prev"/>
		<updated>2016-07-21T20:04:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PL/Client event}} __NOTOC__  To zdarzenie jest wywoływane kiedy &amp;#039;&amp;#039;&lt;a href=&quot;/wiki/Element_data&quot; title=&quot;Element data&quot;&gt; dane&lt;/a&gt;&amp;#039;&amp;#039; elementu zostaną zmienione.  ==Parametry== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string dataName, strin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PL/Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
To zdarzenie jest wywoływane kiedy ''[[element data | dane]]'' elementu zostaną zmienione.&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string dataName, string oldValue&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''dataName''': Ciąg znaków reprezentujący nazwę danych które zostały zmienione&lt;br /&gt;
*'''oldValue''': Ciąg znaków reprezentujący dane przed zmianą&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
[[event system#Event source|Źródłem]] tego zdarzenia jest [[element]] którego dane zostały zmienione.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
Ten przykład wyświetla graczu informację za każdym razem gdy pole &amp;quot;score&amp;quot; w jego danych zostanie zmienione&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientElementDataChange&amp;quot;, getRootElement(),&lt;br /&gt;
function ( dataName )&lt;br /&gt;
	if getElementType ( source ) == &amp;quot;player&amp;quot; and dataName == &amp;quot;score&amp;quot; then&lt;br /&gt;
		outputChatBox ( &amp;quot;Wynik &amp;quot;..getPlayerName(source)..&amp;quot;' wynosi teraz &amp;quot;..getElementData (source, &amp;quot;score&amp;quot;)..&amp;quot;!&amp;quot; )&lt;br /&gt;
	end&lt;br /&gt;
end )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[en:onClientElementDataChange]]&lt;br /&gt;
&lt;br /&gt;
==Zobacz także==&lt;br /&gt;
===Zdarzenia elementów po stronie klienta===&lt;br /&gt;
{{Client_element_events}}&lt;br /&gt;
===Funkcje elementów po stronie klienta===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>ThePiotrek</name></author>
	</entry>
</feed>