<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tararysz12</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tararysz12"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Tararysz12"/>
	<updated>2026-05-17T15:27:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Introduction_to_Scripting_the_GUI&amp;diff=67725</id>
		<title>PL/Introduction to Scripting the GUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Introduction_to_Scripting_the_GUI&amp;diff=67725"/>
		<updated>2020-11-04T20:26:42Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Poprawka linku&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- place holder --&amp;gt;&lt;br /&gt;
Jedną z ważnych funkcji MTA:SA jest możliwość stworzenia spersonalizowanego GUI (ang. Graphic User Interface), czyli graficznego interfejsu użytkownika. GUI składa się z okien, przycisków, pól do edycji, pól do wyboru... Prawie wszystkie standardowe komponenty dostępne w środowiskach GUI. Mogą być one wyświetlane, kiedy gracz jest w grze i zostać użyte np. do wejścia i wyjścia tradycyjnych poleceń.&lt;br /&gt;
&lt;br /&gt;
[[Image:AdminGUI.png|thumb|Admin Console GUI]]&lt;br /&gt;
&lt;br /&gt;
==Samouczek robienia okna logowania==&lt;br /&gt;
W tym samouczku zrobimy proste okno logowania z dwoma polami edycji i przyciskiem. Okno będzie wyświetlać się po wejściu do gry, a po kliknięciu przycisku gracz zostanie zespawnowany. Samouczek będzie kontynuował tryb gry, który zrobiliśmy w [[Wstęp_do_pisania_skryptów|Wstęp do pisania skryptów]] ''(Jeśli korzystasz z [[Wstęp_do_pisania_skryptów|Wstęp do pisania skryptów]], musisz usunąć lub zakomentować linijkę [[spawnPlayer]] w funkcji &amp;quot;joinHandler&amp;quot; w Twoim kodzie, ponieważ w tym samouczku zastąpimy ją GUI. Zapoznajmy się także ze skryptami po stronie klienta.&lt;br /&gt;
&lt;br /&gt;
===Wyświetlanie okna===&lt;br /&gt;
Wszystkie interfejsy GUI muszą być robione po stronie klienta. Dobrym nawykiem jest także zachowanie wszystkich skryptów po stronie klienta w osobnych folderach.&lt;br /&gt;
&lt;br /&gt;
Przejdź do katalogu /Twój folder MTA/mods/deathmatch/resources/myserver/ i stwórz folder o nazwie &amp;quot;client&amp;quot;. W folderze /client/ stwórz plik tekstowy i nazwij go &amp;quot;gui.lua&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
W tym pliku napiszemy funkcję, która będzie wyświetlać okno. Do stworzenia okna użyjemy [[guiCreateWindow]]:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	-- definiujemy pozycje okna w osi X i Y&lt;br /&gt;
	local X = 0.375&lt;br /&gt;
	local Y = 0.375&lt;br /&gt;
	-- definiujemy rozmiar okna, szerokość i wysokość&lt;br /&gt;
	local Width = 0.25&lt;br /&gt;
	local Height = 0.25&lt;br /&gt;
        -- tworzymy okno i zapisujemy je pod zmienną &amp;quot;wdwLogin&amp;quot;&lt;br /&gt;
        -- kliknij na nazwę funkcji, aby przejść do jej dokumentacji&lt;br /&gt;
	wdwLogin = guiCreateWindow(X, Y, Width, Height, &amp;quot;Logowanie&amp;quot;, true)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skalowanie relatywne i absolutne===&lt;br /&gt;
Note that the final argument passed to guiCreateWindow in the above example is ''true''. This indicates that the coordinates and dimensions of the window are '''relative''', meaning they are a ''percentage'' of the total screen size. This means that if the far left side of the screen is 0, and the far right is 1, an X position of 0.5 would represent the center point of the screen. Similarly, if the top of the screen is 0 and the bottom is 1, a Y position of 0.2 would be 20% of the way down the screen. The same principles apply to both Width and Height as well (with a Width value of 0.5 meaning the window will be half as wide as the screen).&lt;br /&gt;
&lt;br /&gt;
The alternative to using relative values is using '''absolute''' (by passing ''false'' instead of true to guiCreateWindow). Absolute values are calculated as the total number of pixels from the top-left corner of the parent (if no GUI element parent is specified, the parent is the screen itself). If we assume a screen resolution of 1920x1200, the far left side of the screen being 0 pixels and the far-right being 1920 pixels, an X position of 960 will represent the center point of the screen. Similarly, if the top of the screen is 0 pixels and the bottom is 1200, a Y position of 20 would be 20 pixels down from the top of the screen. The same principles apply to both Width and Height as well (with a Width value of 50 meaning the window will be 50 pixels wide). ''You can use [[guiGetScreenSize]] and a little maths to calculate certain absolute positions.''&lt;br /&gt;
&lt;br /&gt;
The differences between using relative and absolute values are quite simple; GUI created using absolute values will always remain exactly the same pixel size and position, while GUI created using relative values will always be a percentage of its parent's size.&lt;br /&gt;
&lt;br /&gt;
Absolute is generally easier to maintain when editing code by hand, however, your choice of type depends on the situation you are using it for.&lt;br /&gt;
&lt;br /&gt;
For the purposes of this introduction, we will be using relative values.&lt;br /&gt;
&lt;br /&gt;
===Adding the components===&lt;br /&gt;
Next, we'll add the text labels (saying &amp;quot;username:&amp;quot; and &amp;quot;password:&amp;quot;), edit boxes (for entering your data), and a button to log in.&lt;br /&gt;
&lt;br /&gt;
To create buttons we use [[guiCreateButton]] and to create edit boxes use [[guiCreateEdit]]:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'createLoginWindow' function. This is not a new function and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	local X = 0.375&lt;br /&gt;
	local Y = 0.375&lt;br /&gt;
	local Width = 0.25&lt;br /&gt;
	local Height = 0.25&lt;br /&gt;
	wdwLogin = guiCreateWindow(X, Y, Width, Height, &amp;quot;Please Log In&amp;quot;, true)&lt;br /&gt;
	&lt;br /&gt;
	-- define new X and Y positions for the first label&lt;br /&gt;
	X = 0.0825&lt;br /&gt;
	Y = 0.2&lt;br /&gt;
	-- define new Width and Height values for the first label&lt;br /&gt;
	Width = 0.25&lt;br /&gt;
	Height = 0.25&lt;br /&gt;
	-- create the first label, note the final argument passed is 'wdwLogin' meaning the window&lt;br /&gt;
	-- we created above is the parent of this label (so all the position and size values are now relative to the position of that window)&lt;br /&gt;
	guiCreateLabel(X, Y, Width, Height, &amp;quot;Username&amp;quot;, true, wdwLogin)&lt;br /&gt;
	-- alter the Y value, so the second label is slightly below the first&lt;br /&gt;
	Y = 0.5&lt;br /&gt;
	guiCreateLabel(X, Y, Width, Height, &amp;quot;Password&amp;quot;, true, wdwLogin)&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
	X = 0.415&lt;br /&gt;
	Y = 0.2&lt;br /&gt;
	Width = 0.5&lt;br /&gt;
	Height = 0.15&lt;br /&gt;
	edtUser = guiCreateEdit(X, Y, Width, Height, &amp;quot;&amp;quot;, true, wdwLogin)&lt;br /&gt;
	Y = 0.5&lt;br /&gt;
	edtPass = guiCreateEdit(X, Y, Width, Height, &amp;quot;&amp;quot;, true, wdwLogin)&lt;br /&gt;
	-- set the maximum character length for the username and password fields to 50&lt;br /&gt;
	guiEditSetMaxLength(edtUser, 50)&lt;br /&gt;
	guiEditSetMaxLength(edtPass, 50)&lt;br /&gt;
	&lt;br /&gt;
	X = 0.415&lt;br /&gt;
	Y = 0.7&lt;br /&gt;
	Width = 0.25&lt;br /&gt;
	Height = 0.2&lt;br /&gt;
	btnLogin = guiCreateButton(X, Y, Width, Height, &amp;quot;Log In&amp;quot;, true, wdwLogin)&lt;br /&gt;
	&lt;br /&gt;
	-- make the window invisible&lt;br /&gt;
	guiSetVisible(wdwLogin, false)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note that every GUI component created is a child of the window, this is done by specifying the parent element (wdwLogin, in this case) when creating the component. &lt;br /&gt;
&lt;br /&gt;
This is very useful because not only does it mean that all the components are attached to the window and will move with it, but also that any changes done to the parent window will be applied down the tree to these child components. For example, we can now hide all of the GUI we just created by simply hiding the window:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
guiSetVisible(wdwLogin, false) --hides all the GUI we made so we can show them to the player at the appropriate moment. &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Using the function we wrote===&lt;br /&gt;
The createLoginWindow function is now complete, but it won't do anything until we call it. It is recommended to create all GUI when the client resource starts, hide them, and show them to the player later when needed. Therefore, we'll write an event handler for &amp;quot;[[onClientResourceStart]]&amp;quot; to create the window:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- attach the event handler to the root element of the resource&lt;br /&gt;
-- this means it will only trigger when its own resource is started&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(), &lt;br /&gt;
	function ()&lt;br /&gt;
		createLoginWindow()&lt;br /&gt;
	end&lt;br /&gt;
)	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this is a login window, we now need to show the window when the player joins the game. &lt;br /&gt;
This can be done using the same event, &amp;quot;[[onClientResourceStart]]&amp;quot;, so we can modify the above code to include showing the window:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'onClientResourceStart' handler. This is not a new event handler and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(), &lt;br /&gt;
	function ()&lt;br /&gt;
		-- create the log in window and its components&lt;br /&gt;
		createLoginWindow()&lt;br /&gt;
&lt;br /&gt;
		-- output a brief welcome message to the player&lt;br /&gt;
                outputChatBox(&amp;quot;Welcome to My MTA:SA Server, please log in.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
		-- if the GUI was successfully created, then show the GUI to the player&lt;br /&gt;
	        if (wdwLogin ~= nil) then&lt;br /&gt;
			guiSetVisible(wdwLogin, true)&lt;br /&gt;
		else&lt;br /&gt;
			-- if the GUI hasn't been properly created, tell the player&lt;br /&gt;
			outputChatBox(&amp;quot;An unexpected error has occurred and the login GUI has not been created.&amp;quot;)&lt;br /&gt;
	        end &lt;br /&gt;
&lt;br /&gt;
		-- enable the player's cursor (so they can select and click on the components)&lt;br /&gt;
	        showCursor(true)&lt;br /&gt;
		-- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening&lt;br /&gt;
	        guiSetInputEnabled(true)&lt;br /&gt;
	end&lt;br /&gt;
)	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we have a simple security check before making the window visible, so in the unlikely event that the window has not been created, meaning wdwLogin is not a valid element, we don't get an error and just inform the player what has happened. &lt;br /&gt;
In the next step, we will create the button functionality for the login button.&lt;br /&gt;
&lt;br /&gt;
==Scripting the button==&lt;br /&gt;
Now that we have created our GUI and shown it to the player, we need to make it work. &lt;br /&gt;
&lt;br /&gt;
===Detecting the click===&lt;br /&gt;
When the player clicks on any part of the GUI, the event &amp;quot;[[onClientGUIClick]]&amp;quot; will be triggered for the GUI component you clicked on. This allows us to easily detect any clicks on the GUI elements we want to use.&lt;br /&gt;
For example, we can attach the event to the btnLogin button to catch any clicks on it:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- attach the event onClientGUIClick to btnLogin and set it to trigger the 'clientSubmitLogin' function&lt;br /&gt;
addEventHandler(&amp;quot;onClientGUIClick&amp;quot;, btnLogin, clientSubmitLogin, false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Note the final argument passed is &amp;quot;false&amp;quot;. This indicates that the event will only trigger directly on btnLogin, not if the event has propagated up or down the tree. Setting this to &amp;quot;true&amp;quot; while attaching to GUI elements will mean that clicking on any element in the same branch will trigger this event.'''&lt;br /&gt;
&lt;br /&gt;
This line of code can now be added inside the createLoginWindow function. It is a common mistake to try and attach events to non-existent GUI elements, so make sure you always attach your events '''after''' the GUI element (in this case, the button) has been created:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'createLoginWindow' function.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	-- create all our GUI elements&lt;br /&gt;
	...&lt;br /&gt;
&lt;br /&gt;
	-- now add our onClientGUIClick event to the button we just created&lt;br /&gt;
	addEventHandler(&amp;quot;onClientGUIClick&amp;quot;, btnLogin, clientSubmitLogin, false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Managing the click===&lt;br /&gt;
Now that we can detect when the player clicks on the button, we need to write code to manage what happens when they do.&lt;br /&gt;
In our [[onClientGUIClick]] event handle, we told it to call the function clientSubmitLogin whenever btnLogin is clicked.&lt;br /&gt;
Therefore, we can now use the function clientSubmitLogin to control what happens when the button is clicked:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create the function and define the 'button' and 'state' parameters&lt;br /&gt;
-- (these are passed automatically by onClientGUIClick)&lt;br /&gt;
function clientSubmitLogin(button,state)&lt;br /&gt;
	-- if our login button was clicked with the left mouse button, and the state of the mouse button is up&lt;br /&gt;
	if button == &amp;quot;left&amp;quot; and state == &amp;quot;up&amp;quot; then&lt;br /&gt;
		-- move the input focus back onto the game (allowing players to move around, open the chatbox, etc)&lt;br /&gt;
		guiSetInputEnabled(false)&lt;br /&gt;
		-- hide the window and all the components&lt;br /&gt;
		guiSetVisible(wdwLogin, false)&lt;br /&gt;
		-- hide the mouse cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Now, when the button is clicked, the window will be hidden and all controls will be returned to the player. Next, we will tell the server to allow the player to spawn.&lt;br /&gt;
&lt;br /&gt;
===Triggering the server===&lt;br /&gt;
Triggering the server can be done using [[triggerServerEvent]]. This allows you to trigger a specified event on the server from the client. The same can be done in reverse using [[triggerClientEvent]].&lt;br /&gt;
Here, we use the [[triggerServerEvent]] function to call our own custom event on the server, named &amp;quot;submitLogin&amp;quot;, which will then control the spawning of the player serverside.&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'clientSubmitLogin' function. This is not a new function and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function clientSubmitLogin(button,state)&lt;br /&gt;
	if button == &amp;quot;left&amp;quot; and state == &amp;quot;up&amp;quot; then&lt;br /&gt;
		-- get the text entered in the 'username' field&lt;br /&gt;
		local username = guiGetText(edtUser)&lt;br /&gt;
		-- get the text entered in the 'password' field&lt;br /&gt;
		local password = guiGetText(edtPass)&lt;br /&gt;
&lt;br /&gt;
		-- if the username and password both exist&lt;br /&gt;
		if username and password then&lt;br /&gt;
			-- trigger the server event 'submitLogin' and pass the username and password to it&lt;br /&gt;
			triggerServerEvent(&amp;quot;submitLogin&amp;quot;, getRootElement(), username, password)&lt;br /&gt;
&lt;br /&gt;
			-- hide the gui, hide the cursor and return control to the player&lt;br /&gt;
			guiSetInputEnabled(false)&lt;br /&gt;
			guiSetVisible(wdwLogin, false)&lt;br /&gt;
			showCursor(false)&lt;br /&gt;
		else&lt;br /&gt;
			-- otherwise, output a message to the player, do not trigger the server&lt;br /&gt;
			-- and do not hide the gui&lt;br /&gt;
			outputChatBox(&amp;quot;Please enter a username and password.&amp;quot;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Creating the serverside event===&lt;br /&gt;
At this point we now have all the code needed on the client-side, so open up your serverside 'script.lua' file (from the [[Scripting Introduction|Introduction to Scripting]]) or another suitable serverside file to work with.&lt;br /&gt;
&lt;br /&gt;
On the server-side, recall that we are spawning the player as soon as they log in.&lt;br /&gt;
So, first of all, we will need to define the custom event that we used before on the client. This can be done using [[addEvent]] and [[addEventHandler]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create our loginHandler function, with a username and password parameters (passed from the client GUI)&lt;br /&gt;
function loginHandler(username,password)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- define our custom event, and allow it to be triggered from the client ('true')&lt;br /&gt;
addEvent(&amp;quot;submitLogin&amp;quot;,true)&lt;br /&gt;
-- add an event handler so that when submitLogin is triggered, the function loginHandler is called&lt;br /&gt;
addEventHandler(&amp;quot;submitLogin&amp;quot;,root,loginHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging in===&lt;br /&gt;
Now we have a function that is called through the custom event 'submitLogin', we can start to work on logging in and spawning the player, using our 'loginHandler' function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loginHandler(username,password)&lt;br /&gt;
	-- check that the username and password are correct&lt;br /&gt;
	if username == &amp;quot;user&amp;quot; and password == &amp;quot;apple&amp;quot; then&lt;br /&gt;
		-- the player has successfully logged in, so spawn them&lt;br /&gt;
		if (client) then&lt;br /&gt;
			spawnPlayer(client, 1959.55, -1714.46, 10)&lt;br /&gt;
			fadeCamera(client, true)&lt;br /&gt;
                        setCameraTarget(client, client)&lt;br /&gt;
			outputChatBox(&amp;quot;Welcome to My Server.&amp;quot;, client)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		-- if the username or password are not correct, output a message to the player&lt;br /&gt;
		outputChatBox(&amp;quot;Invalid username and password. Please re-connect and try again.&amp;quot;,client)&lt;br /&gt;
        end			&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEvent(&amp;quot;submitLogin&amp;quot;,true)&lt;br /&gt;
addEventHandler(&amp;quot;submitLogin&amp;quot;,root,loginHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''For the purposes of this tutorial, a very basic username and password system is shown. For a more comprehensive alternative, you can use the Account System or a MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Also note the use of the variable &amp;quot;client&amp;quot;, it's an internal variable used by MTA to identify the player who triggered the event. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, do not forget to include the new gui.lua file in the meta.xml of the main resource, and label it as a client script:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;client/gui.lua&amp;quot; type=&amp;quot;client&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point, we now have a basic login window that checks the player's username and password when the login button is clicked. If they are correct, the player is automatically spawned.&lt;br /&gt;
&lt;br /&gt;
For further help with GUI, see the [[:Category:GUI_Tutorials|GUI tutorials]].&lt;br /&gt;
&lt;br /&gt;
[[Category:GUI_Tutorials]]&lt;br /&gt;
[[hu:Introduction to Scripting the GUI]]&lt;br /&gt;
[[it:Introduzione_allo_scripting_della_GUI]]&lt;br /&gt;
[[ru:Introduction to Scripting the GUI]]&lt;br /&gt;
[[es:Introducción a la Programación de GUI]]&lt;br /&gt;
[[zh-cn:脚本编写介绍 - 带有图形界面]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Introduction_to_Scripting_the_GUI&amp;diff=67724</id>
		<title>PL/Introduction to Scripting the GUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Introduction_to_Scripting_the_GUI&amp;diff=67724"/>
		<updated>2020-11-04T20:25:05Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Do dokończenia&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- place holder --&amp;gt;&lt;br /&gt;
Jedną z ważnych funkcji MTA:SA jest możliwość stworzenia spersonalizowanego GUI (ang. Graphic User Interface), czyli graficznego interfejsu użytkownika. GUI składa się z okien, przycisków, pól do edycji, pól do wyboru... Prawie wszystkie standardowe komponenty dostępne w środowiskach GUI. Mogą być one wyświetlane, kiedy gracz jest w grze i zostać użyte np. do wejścia i wyjścia tradycyjnych poleceń.&lt;br /&gt;
&lt;br /&gt;
[[Image:AdminGUI.png|thumb|Admin Console GUI]]&lt;br /&gt;
&lt;br /&gt;
==Samouczek robienia okna logowania==&lt;br /&gt;
W tym samouczku zrobimy proste okno logowania z dwoma polami edycji i przyciskiem. Okno będzie wyświetlać się po wejściu do gry, a po kliknięciu przycisku gracz zostanie zespawnowany. Samouczek będzie kontynuował tryb gry, który zrobiliśmy w [[PL/Scripting Introduction|Wprowadzenie do skryptowania]] ''(Jeśli używasz [[PL/Scripting Introduction|Wprowadzenie do skrytpowania]], musisz usunąć lub zakomentować linijkę [[spawnPlayer]] w funkcji &amp;quot;joinHandler&amp;quot; w Twoim kodzie, ponieważ w tym samouczku zastąpimy ją GUI. Zapoznajmy się także ze skryptami po stronie klienta.&lt;br /&gt;
&lt;br /&gt;
===Wyświetlanie okna===&lt;br /&gt;
Wszystkie interfejsy GUI muszą być robione po stronie klienta. Dobrym nawykiem jest także zachowanie wszystkich skryptów po stronie klienta w osobnych folderach.&lt;br /&gt;
&lt;br /&gt;
Przejdź do katalogu /Twój folder MTA/mods/deathmatch/resources/myserver/ i stwórz folder o nazwie &amp;quot;client&amp;quot;. W folderze /client/ stwórz plik tekstowy i nazwij go &amp;quot;gui.lua&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
W tym pliku napiszemy funkcję, która będzie wyświetlać okno. Do stworzenia okna użyjemy [[guiCreateWindow]]:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	-- definiujemy pozycje okna w osi X i Y&lt;br /&gt;
	local X = 0.375&lt;br /&gt;
	local Y = 0.375&lt;br /&gt;
	-- definiujemy rozmiar okna, szerokość i wysokość&lt;br /&gt;
	local Width = 0.25&lt;br /&gt;
	local Height = 0.25&lt;br /&gt;
        -- tworzymy okno i zapisujemy je pod zmienną &amp;quot;wdwLogin&amp;quot;&lt;br /&gt;
        -- kliknij na nazwę funkcji, aby przejść do jej dokumentacji&lt;br /&gt;
	wdwLogin = guiCreateWindow(X, Y, Width, Height, &amp;quot;Logowanie&amp;quot;, true)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skalowanie relatywne i absolutne===&lt;br /&gt;
Note that the final argument passed to guiCreateWindow in the above example is ''true''. This indicates that the coordinates and dimensions of the window are '''relative''', meaning they are a ''percentage'' of the total screen size. This means that if the far left side of the screen is 0, and the far right is 1, an X position of 0.5 would represent the center point of the screen. Similarly, if the top of the screen is 0 and the bottom is 1, a Y position of 0.2 would be 20% of the way down the screen. The same principles apply to both Width and Height as well (with a Width value of 0.5 meaning the window will be half as wide as the screen).&lt;br /&gt;
&lt;br /&gt;
The alternative to using relative values is using '''absolute''' (by passing ''false'' instead of true to guiCreateWindow). Absolute values are calculated as the total number of pixels from the top-left corner of the parent (if no GUI element parent is specified, the parent is the screen itself). If we assume a screen resolution of 1920x1200, the far left side of the screen being 0 pixels and the far-right being 1920 pixels, an X position of 960 will represent the center point of the screen. Similarly, if the top of the screen is 0 pixels and the bottom is 1200, a Y position of 20 would be 20 pixels down from the top of the screen. The same principles apply to both Width and Height as well (with a Width value of 50 meaning the window will be 50 pixels wide). ''You can use [[guiGetScreenSize]] and a little maths to calculate certain absolute positions.''&lt;br /&gt;
&lt;br /&gt;
The differences between using relative and absolute values are quite simple; GUI created using absolute values will always remain exactly the same pixel size and position, while GUI created using relative values will always be a percentage of its parent's size.&lt;br /&gt;
&lt;br /&gt;
Absolute is generally easier to maintain when editing code by hand, however, your choice of type depends on the situation you are using it for.&lt;br /&gt;
&lt;br /&gt;
For the purposes of this introduction, we will be using relative values.&lt;br /&gt;
&lt;br /&gt;
===Adding the components===&lt;br /&gt;
Next, we'll add the text labels (saying &amp;quot;username:&amp;quot; and &amp;quot;password:&amp;quot;), edit boxes (for entering your data), and a button to log in.&lt;br /&gt;
&lt;br /&gt;
To create buttons we use [[guiCreateButton]] and to create edit boxes use [[guiCreateEdit]]:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'createLoginWindow' function. This is not a new function and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	local X = 0.375&lt;br /&gt;
	local Y = 0.375&lt;br /&gt;
	local Width = 0.25&lt;br /&gt;
	local Height = 0.25&lt;br /&gt;
	wdwLogin = guiCreateWindow(X, Y, Width, Height, &amp;quot;Please Log In&amp;quot;, true)&lt;br /&gt;
	&lt;br /&gt;
	-- define new X and Y positions for the first label&lt;br /&gt;
	X = 0.0825&lt;br /&gt;
	Y = 0.2&lt;br /&gt;
	-- define new Width and Height values for the first label&lt;br /&gt;
	Width = 0.25&lt;br /&gt;
	Height = 0.25&lt;br /&gt;
	-- create the first label, note the final argument passed is 'wdwLogin' meaning the window&lt;br /&gt;
	-- we created above is the parent of this label (so all the position and size values are now relative to the position of that window)&lt;br /&gt;
	guiCreateLabel(X, Y, Width, Height, &amp;quot;Username&amp;quot;, true, wdwLogin)&lt;br /&gt;
	-- alter the Y value, so the second label is slightly below the first&lt;br /&gt;
	Y = 0.5&lt;br /&gt;
	guiCreateLabel(X, Y, Width, Height, &amp;quot;Password&amp;quot;, true, wdwLogin)&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
	X = 0.415&lt;br /&gt;
	Y = 0.2&lt;br /&gt;
	Width = 0.5&lt;br /&gt;
	Height = 0.15&lt;br /&gt;
	edtUser = guiCreateEdit(X, Y, Width, Height, &amp;quot;&amp;quot;, true, wdwLogin)&lt;br /&gt;
	Y = 0.5&lt;br /&gt;
	edtPass = guiCreateEdit(X, Y, Width, Height, &amp;quot;&amp;quot;, true, wdwLogin)&lt;br /&gt;
	-- set the maximum character length for the username and password fields to 50&lt;br /&gt;
	guiEditSetMaxLength(edtUser, 50)&lt;br /&gt;
	guiEditSetMaxLength(edtPass, 50)&lt;br /&gt;
	&lt;br /&gt;
	X = 0.415&lt;br /&gt;
	Y = 0.7&lt;br /&gt;
	Width = 0.25&lt;br /&gt;
	Height = 0.2&lt;br /&gt;
	btnLogin = guiCreateButton(X, Y, Width, Height, &amp;quot;Log In&amp;quot;, true, wdwLogin)&lt;br /&gt;
	&lt;br /&gt;
	-- make the window invisible&lt;br /&gt;
	guiSetVisible(wdwLogin, false)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note that every GUI component created is a child of the window, this is done by specifying the parent element (wdwLogin, in this case) when creating the component. &lt;br /&gt;
&lt;br /&gt;
This is very useful because not only does it mean that all the components are attached to the window and will move with it, but also that any changes done to the parent window will be applied down the tree to these child components. For example, we can now hide all of the GUI we just created by simply hiding the window:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
guiSetVisible(wdwLogin, false) --hides all the GUI we made so we can show them to the player at the appropriate moment. &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Using the function we wrote===&lt;br /&gt;
The createLoginWindow function is now complete, but it won't do anything until we call it. It is recommended to create all GUI when the client resource starts, hide them, and show them to the player later when needed. Therefore, we'll write an event handler for &amp;quot;[[onClientResourceStart]]&amp;quot; to create the window:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- attach the event handler to the root element of the resource&lt;br /&gt;
-- this means it will only trigger when its own resource is started&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(), &lt;br /&gt;
	function ()&lt;br /&gt;
		createLoginWindow()&lt;br /&gt;
	end&lt;br /&gt;
)	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this is a login window, we now need to show the window when the player joins the game. &lt;br /&gt;
This can be done using the same event, &amp;quot;[[onClientResourceStart]]&amp;quot;, so we can modify the above code to include showing the window:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'onClientResourceStart' handler. This is not a new event handler and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(), &lt;br /&gt;
	function ()&lt;br /&gt;
		-- create the log in window and its components&lt;br /&gt;
		createLoginWindow()&lt;br /&gt;
&lt;br /&gt;
		-- output a brief welcome message to the player&lt;br /&gt;
                outputChatBox(&amp;quot;Welcome to My MTA:SA Server, please log in.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
		-- if the GUI was successfully created, then show the GUI to the player&lt;br /&gt;
	        if (wdwLogin ~= nil) then&lt;br /&gt;
			guiSetVisible(wdwLogin, true)&lt;br /&gt;
		else&lt;br /&gt;
			-- if the GUI hasn't been properly created, tell the player&lt;br /&gt;
			outputChatBox(&amp;quot;An unexpected error has occurred and the login GUI has not been created.&amp;quot;)&lt;br /&gt;
	        end &lt;br /&gt;
&lt;br /&gt;
		-- enable the player's cursor (so they can select and click on the components)&lt;br /&gt;
	        showCursor(true)&lt;br /&gt;
		-- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening&lt;br /&gt;
	        guiSetInputEnabled(true)&lt;br /&gt;
	end&lt;br /&gt;
)	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we have a simple security check before making the window visible, so in the unlikely event that the window has not been created, meaning wdwLogin is not a valid element, we don't get an error and just inform the player what has happened. &lt;br /&gt;
In the next step, we will create the button functionality for the login button.&lt;br /&gt;
&lt;br /&gt;
==Scripting the button==&lt;br /&gt;
Now that we have created our GUI and shown it to the player, we need to make it work. &lt;br /&gt;
&lt;br /&gt;
===Detecting the click===&lt;br /&gt;
When the player clicks on any part of the GUI, the event &amp;quot;[[onClientGUIClick]]&amp;quot; will be triggered for the GUI component you clicked on. This allows us to easily detect any clicks on the GUI elements we want to use.&lt;br /&gt;
For example, we can attach the event to the btnLogin button to catch any clicks on it:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- attach the event onClientGUIClick to btnLogin and set it to trigger the 'clientSubmitLogin' function&lt;br /&gt;
addEventHandler(&amp;quot;onClientGUIClick&amp;quot;, btnLogin, clientSubmitLogin, false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Note the final argument passed is &amp;quot;false&amp;quot;. This indicates that the event will only trigger directly on btnLogin, not if the event has propagated up or down the tree. Setting this to &amp;quot;true&amp;quot; while attaching to GUI elements will mean that clicking on any element in the same branch will trigger this event.'''&lt;br /&gt;
&lt;br /&gt;
This line of code can now be added inside the createLoginWindow function. It is a common mistake to try and attach events to non-existent GUI elements, so make sure you always attach your events '''after''' the GUI element (in this case, the button) has been created:&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'createLoginWindow' function.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createLoginWindow()&lt;br /&gt;
	-- create all our GUI elements&lt;br /&gt;
	...&lt;br /&gt;
&lt;br /&gt;
	-- now add our onClientGUIClick event to the button we just created&lt;br /&gt;
	addEventHandler(&amp;quot;onClientGUIClick&amp;quot;, btnLogin, clientSubmitLogin, false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Managing the click===&lt;br /&gt;
Now that we can detect when the player clicks on the button, we need to write code to manage what happens when they do.&lt;br /&gt;
In our [[onClientGUIClick]] event handle, we told it to call the function clientSubmitLogin whenever btnLogin is clicked.&lt;br /&gt;
Therefore, we can now use the function clientSubmitLogin to control what happens when the button is clicked:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create the function and define the 'button' and 'state' parameters&lt;br /&gt;
-- (these are passed automatically by onClientGUIClick)&lt;br /&gt;
function clientSubmitLogin(button,state)&lt;br /&gt;
	-- if our login button was clicked with the left mouse button, and the state of the mouse button is up&lt;br /&gt;
	if button == &amp;quot;left&amp;quot; and state == &amp;quot;up&amp;quot; then&lt;br /&gt;
		-- move the input focus back onto the game (allowing players to move around, open the chatbox, etc)&lt;br /&gt;
		guiSetInputEnabled(false)&lt;br /&gt;
		-- hide the window and all the components&lt;br /&gt;
		guiSetVisible(wdwLogin, false)&lt;br /&gt;
		-- hide the mouse cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Now, when the button is clicked, the window will be hidden and all controls will be returned to the player. Next, we will tell the server to allow the player to spawn.&lt;br /&gt;
&lt;br /&gt;
===Triggering the server===&lt;br /&gt;
Triggering the server can be done using [[triggerServerEvent]]. This allows you to trigger a specified event on the server from the client. The same can be done in reverse using [[triggerClientEvent]].&lt;br /&gt;
Here, we use the [[triggerServerEvent]] function to call our own custom event on the server, named &amp;quot;submitLogin&amp;quot;, which will then control the spawning of the player serverside.&lt;br /&gt;
&lt;br /&gt;
'''Note that we are now writing more code for our existing 'clientSubmitLogin' function. This is not a new function and is meant to replace what you already have.''' &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function clientSubmitLogin(button,state)&lt;br /&gt;
	if button == &amp;quot;left&amp;quot; and state == &amp;quot;up&amp;quot; then&lt;br /&gt;
		-- get the text entered in the 'username' field&lt;br /&gt;
		local username = guiGetText(edtUser)&lt;br /&gt;
		-- get the text entered in the 'password' field&lt;br /&gt;
		local password = guiGetText(edtPass)&lt;br /&gt;
&lt;br /&gt;
		-- if the username and password both exist&lt;br /&gt;
		if username and password then&lt;br /&gt;
			-- trigger the server event 'submitLogin' and pass the username and password to it&lt;br /&gt;
			triggerServerEvent(&amp;quot;submitLogin&amp;quot;, getRootElement(), username, password)&lt;br /&gt;
&lt;br /&gt;
			-- hide the gui, hide the cursor and return control to the player&lt;br /&gt;
			guiSetInputEnabled(false)&lt;br /&gt;
			guiSetVisible(wdwLogin, false)&lt;br /&gt;
			showCursor(false)&lt;br /&gt;
		else&lt;br /&gt;
			-- otherwise, output a message to the player, do not trigger the server&lt;br /&gt;
			-- and do not hide the gui&lt;br /&gt;
			outputChatBox(&amp;quot;Please enter a username and password.&amp;quot;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Creating the serverside event===&lt;br /&gt;
At this point we now have all the code needed on the client-side, so open up your serverside 'script.lua' file (from the [[Scripting Introduction|Introduction to Scripting]]) or another suitable serverside file to work with.&lt;br /&gt;
&lt;br /&gt;
On the server-side, recall that we are spawning the player as soon as they log in.&lt;br /&gt;
So, first of all, we will need to define the custom event that we used before on the client. This can be done using [[addEvent]] and [[addEventHandler]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- create our loginHandler function, with a username and password parameters (passed from the client GUI)&lt;br /&gt;
function loginHandler(username,password)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- define our custom event, and allow it to be triggered from the client ('true')&lt;br /&gt;
addEvent(&amp;quot;submitLogin&amp;quot;,true)&lt;br /&gt;
-- add an event handler so that when submitLogin is triggered, the function loginHandler is called&lt;br /&gt;
addEventHandler(&amp;quot;submitLogin&amp;quot;,root,loginHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging in===&lt;br /&gt;
Now we have a function that is called through the custom event 'submitLogin', we can start to work on logging in and spawning the player, using our 'loginHandler' function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function loginHandler(username,password)&lt;br /&gt;
	-- check that the username and password are correct&lt;br /&gt;
	if username == &amp;quot;user&amp;quot; and password == &amp;quot;apple&amp;quot; then&lt;br /&gt;
		-- the player has successfully logged in, so spawn them&lt;br /&gt;
		if (client) then&lt;br /&gt;
			spawnPlayer(client, 1959.55, -1714.46, 10)&lt;br /&gt;
			fadeCamera(client, true)&lt;br /&gt;
                        setCameraTarget(client, client)&lt;br /&gt;
			outputChatBox(&amp;quot;Welcome to My Server.&amp;quot;, client)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		-- if the username or password are not correct, output a message to the player&lt;br /&gt;
		outputChatBox(&amp;quot;Invalid username and password. Please re-connect and try again.&amp;quot;,client)&lt;br /&gt;
        end			&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEvent(&amp;quot;submitLogin&amp;quot;,true)&lt;br /&gt;
addEventHandler(&amp;quot;submitLogin&amp;quot;,root,loginHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''For the purposes of this tutorial, a very basic username and password system is shown. For a more comprehensive alternative, you can use the Account System or a MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Also note the use of the variable &amp;quot;client&amp;quot;, it's an internal variable used by MTA to identify the player who triggered the event. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, do not forget to include the new gui.lua file in the meta.xml of the main resource, and label it as a client script:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;client/gui.lua&amp;quot; type=&amp;quot;client&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point, we now have a basic login window that checks the player's username and password when the login button is clicked. If they are correct, the player is automatically spawned.&lt;br /&gt;
&lt;br /&gt;
For further help with GUI, see the [[:Category:GUI_Tutorials|GUI tutorials]].&lt;br /&gt;
&lt;br /&gt;
[[Category:GUI_Tutorials]]&lt;br /&gt;
[[hu:Introduction to Scripting the GUI]]&lt;br /&gt;
[[it:Introduzione_allo_scripting_della_GUI]]&lt;br /&gt;
[[ru:Introduction to Scripting the GUI]]&lt;br /&gt;
[[es:Introducción a la Programación de GUI]]&lt;br /&gt;
[[zh-cn:脚本编写介绍 - 带有图形界面]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Strona_g%C5%82%C3%B3wna&amp;diff=67723</id>
		<title>Strona główna</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Strona_g%C5%82%C3%B3wna&amp;diff=67723"/>
		<updated>2020-11-04T20:04:22Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Update flag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;/*border: 1px solid #D8D8D8;*/ padding-left: 15px; padding-right: 15px; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Mtalogo.png|left|100px|link=http://wiki.multitheftauto.com/]]'''Witaj na polskiej wiki [[PL/Multi Theft Auto|Multi Theft Auto]].''' Znajdziesz tutaj wiele informacji na temat korzystania z Multi Theft Auto.&lt;br /&gt;
 &lt;br /&gt;
Jest wiele [[PL/How you can help|rzeczy które możesz zrobić]], aby pomóc nam w rozwijaniu MTA - stworzyć mapę, tryb gry, pomóc w dokumentowaniu funkcji, napisać przykładowy kod, napisać poradnik lub po prostu grać w MTA i zgłaszać błędy, które znajdziesz.&lt;br /&gt;
&lt;br /&gt;
Jeśli masz jakieś pytania bądź problemy związane z pisaniem skryptów, zapytaj nas na [[PL/IRC Channel|kanale IRC]].&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[ Przestań bawić się samemu! :) ]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background: #FFFCF2;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Input-gaming.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Graj&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA; border: 1px solid #FFCD19;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Go-down.png|link=http://mtasa.com/]] ''' [http://mtasa.com/ Pobierz Multi Theft Auto: San Andreas {{Current Version|full}}]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[PL/Where to buy GTASA|Gdzie kupić GTASA]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Client Manual|Obsługa klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
&amp;lt;!-- * [[PL/Changes_in_{{padleft:|3|{{Current Version|full}}}}| Zmiany w {{padleft:|3|{{Current Version|full}}}}]] --&amp;gt;&lt;br /&gt;
* [[PL/Changes_in_{{padleft:|5|{{Current Version|full}}}}| Zmiany w {{padleft:|5|{{Current Version|full}}}}]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Known_Issues_-_FAQ|Znane problemy]] [[Image:Plflag.png|Artykuł w języku polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[PL/Migracja_z_MTA:Race_do_MTA:SA_1.0.x|Migracja z MTA:Race do MTA:SA {{padleft:|3|{{Current Version|full}}}}]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Server Manual|Obsługa serwera]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[Map manager|Menadżer map]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Edytor map&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[PL/Resource:Editor|Instrukcja]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Resource:Editor/EDF|Edytor Właściwości Mapy]] [[Image:Plflag.png|Artykuł w języku polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
*[[Resource:Editor/Plugins|Pluginy]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
*[[PL/Resource:Editor#FAQ|Najczęściej zadawane pytania]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Package-x-generic.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Bazy danych&amp;lt;/h3&amp;gt;&lt;br /&gt;
Ta sekcja opisuje wszystkie możliwości Lua umożliwiane przez MTA lub zasoby.&lt;br /&gt;
* [[PL/Category:Resource|Katalog zasobów]] - Musisz je poznać, aby tworzyć właściwe skrypty&lt;br /&gt;
* [[PL/Client side scripts|Skrypty po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Modules|Moduły]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-development.png‎‎‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Rozwijanie Multi Theft Auto&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Go-down.png|link=http://nightly.mtasa.com/]] [http://nightly.mtasa.com/ Nightly builds]&lt;br /&gt;
* [[Compiling_MTASA|Kompilacja MTASA na Windows]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Building_MTASA_Server_on_GNU_Linux|Kompilacja MTASA na GNU/Linux]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Coding guidelines|Wytyczne dot. pisania kodu]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [https://github.com/multitheftauto/mtasa-blue Repozytorium Github]&lt;br /&gt;
* [[Roadmap]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [http://bugs.mtasa.com/ Bugtracker]&lt;br /&gt;
* [[Branches|Branże]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-office.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Polskie Wiki - jak możesz pomóc?&amp;lt;/h3&amp;gt;&lt;br /&gt;
* Pomóż tłumaczyć hasła, przy których jest angielska flaga&lt;br /&gt;
* Twórz hasła, które istnieją w angielskiej wiki, a których u nas brakuje&lt;br /&gt;
** Staraj się, aby nowe artykuły miały takie same nazwy (angielskie), a jedynie poprzedzane były przedrostkiem PL/ - przykład: [[PL/Character_Skins]]&lt;br /&gt;
* Zwołaj znajomych, informuj na forach, niech inni dowiedzą się o takiej możliwości!&lt;br /&gt;
* Jeśli nie masz pomysłu na edycję, wykonaj coś z [[PL/Todo|tej listy]]. Możesz ją także rozbudować.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Internet-group-chat.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Społeczność&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [http://forum.multitheftauto.com/ Forum]&lt;br /&gt;
* Discord: [https://forum.mtasa.com/topic/95008-multi-theft-autos-official-discord-server/ Oficjalny serwer Discord MTA]&lt;br /&gt;
* IRC: [irc://irc.multitheftauto.com/mta irc.multitheftauto.com #mta]&lt;br /&gt;
* [http://community.mtasa.com/ MTA Community]  - dodaj lub pobierz skrypty&lt;br /&gt;
* [http://twitter.com/#!/MTAQA/ Twitter] - [http://www.youtube.com/user/MTAQA Youtube] - [http://plus.google.com/102014133442331779727/ Google+] - [http://www.moddb.com/mods/multi-theft-auto-san-andreas ModDB]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Accessories-text-editor.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Skryptowanie&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Wstęp do pisania skryptów|Wstęp do pisania skryptów]] [[Image:Plflag.png|Artykuł w języku polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Introduction to Scripting the GUI|Wstęp do pisania skryptów GUI]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Debugging|Poradnik debugowania]] [[Image:usen.gif|Artykuł w języku angielskim]] - Jak znaleźć błędy w swoich skryptach&lt;br /&gt;
* [[Resources|Wstęp do zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
** [[Resource Web Access|Dostęp WWW do zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]] - Jak pisać strony WWW z wykorzystaniem zasobów&lt;br /&gt;
** [[:Category:Resource|Katalog zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
** [[PL/Meta.xml|Meta.xml]] [[Image:Plflag.png|Artykuł w języku polskim]] - każdy zasób jest definiowany przez plik meta&lt;br /&gt;
** [[ACL]] [[Image:usen.gif|Artykuł w języku angielskim]] - Access Control List, który jest niezbędny, aby skrypty działały&lt;br /&gt;
* [[Writing_Gamemodes|Pisanie gamemodów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[PL/Useful_Functions|Przydatne funkcje]] [[Image:Plflag.png|Artykuł w polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
Linki na fora&lt;br /&gt;
* [https://forum.mtasa.com/forum/71-scripting/ Forum na temat skryptowania]&lt;br /&gt;
* [https://forum.mtasa.com/forum/123-tutorials/ Forum z poradnikami do skryptowania]&lt;br /&gt;
* [https://forum.mtasa.com/topic/24702-mtasa-wiki-offline-copies-online-mirrors/ Kopie Wiki]&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:start-here.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Pomoc dotycząca LUA&amp;lt;/h3&amp;gt;&lt;br /&gt;
Strony zaprojektowane, by pomóc Ci zrozumieć język LUA.&lt;br /&gt;
*[http://www.lua.org/pil/index.html &amp;quot;Programming in Lua&amp;quot; Manual]&lt;br /&gt;
**[http://www.lua.org/manual/5.1/#index Internal Lua functions reference]&lt;br /&gt;
*[http://lua-users.org/wiki/TutorialDirectory Lua Wiki]&lt;br /&gt;
*[http://nixstaller.sourceforge.net/manual/0.5.1/nixstaller_10.html A general guide to Lua from Nixstaller]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background:#F2F2FF;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Preferences-system.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Odwołania&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[PL/Funkcje po stronie klienta|Funkcje po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Client Scripting Events|Zdarzenia po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[Server Scripting Functions|Funkcje po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Server Scripting Events|Zdarzenia po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --&amp;gt;&lt;br /&gt;
* [[PL/MTA Classes|Klasy MTA]] [[Image:Plflag.png|Artykuł w języku polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]] -- Szczegółowe opisy wszystkich typów MTA&lt;br /&gt;
** [[Element|Elementy MTA]] [[Image:usen.gif|Artykuł w języku angielskim]] / [[Element tree|Drzewo elementów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:System-file-manager.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;[[PL/Id|Listy ID]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[PL/Animations|Animacje]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Character Skins|Skiny postaci]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/CJ_Clothes|Ubrania]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Garage|Garaże]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Interior IDs|Interiory]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Material IDs|Materiały]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Projectiles|Pociski]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Radar Blips|Znaczniki]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Sounds|Dźwięki]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle IDs|Pojazdy]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle Colors|Kolory pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle Upgrades|Modyfikacje pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle variants|Warianty pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle component manipulation|Manipulowanie komponentami pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Weapons|Bronie]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Weather|Pogoda]] [[Image:Plflag.png|Artykuł w języku polskim]] / [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Osi symbol.png|75px|link=http://opensource.org/|left]]&lt;br /&gt;
'''Multi Theft Auto''' jest '''Otwartym Oprogramowaniem'''. &lt;br /&gt;
&amp;lt;br/&amp;gt;To znaczy, że każdy może pomóc w byciu Multi Theft Auto lepszym!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 15px; padding-right: 15px;&amp;quot; class=&amp;quot;plainlinks&amp;quot;&amp;gt;&lt;br /&gt;
[[File:MTALogo_8ball.png|left|85px|link=Archive]]&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''O [[PL/Multi Theft Auto|Multi Theft Auto]]'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[PL/Archive|Archiwum]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[Press Coverage|MTA w mediach]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[http://code.google.com/p/mtasa-blue/people/list Developerzy]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''Multi Theft Auto 0.5'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[PL/Archive#Multi_Theft_Auto_0.5|Pobierz]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[MTA 0.5r2 Known Issues|Zauważone problemy]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''Statystyki Wiki'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFARTICLES}} artykuły&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFPAGES}} strony&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFFILES}} pliki&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 240px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFEDITS}} edycji&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFADMINS}} administratorów&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFUSERS}} zarejestrowanych użytkowników&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFACTIVEUSERS}} aktywnych użytkowników&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{{Languages list|pl}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:Tararysz12&amp;diff=54897</id>
		<title>User talk:Tararysz12</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:Tararysz12&amp;diff=54897"/>
		<updated>2018-05-07T14:33:28Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page User talk:Tararysz12 to User talk:FileEX: New Nick&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[User talk:FileEX]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User_talk:FileEX&amp;diff=54896</id>
		<title>User talk:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User_talk:FileEX&amp;diff=54896"/>
		<updated>2018-05-07T14:33:28Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page User talk:Tararysz12 to User talk:FileEX: New Nick&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Jeśli chcesz to podpisuj przetłumaczone strony - spoko. Ale nie podpisuj szablonów... --[[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 19:53, 4 September 2016 (UTC)&lt;br /&gt;
::Ja bym powiedział, że podpisywanie tłumaczonych artykułów też jest zbędne. Ta informacja jest już przecież zawarta w historii edycji, znajdującej się przy każdym artykule. Ewentualnie, można też wpisywać przetłumaczone przez siebie strony na swojej stronie użytkownika - nie ma tu żadnego problemu. Natomiast same artykuły powinny zawierać tylko treść, która faktycznie interesuje użytkownika. --[[User:JHXP|JHXP]] ([[User talk:JHXP|talk]]) 09:55, 15 September 2016 (UTC)&lt;br /&gt;
+1 --[[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 18:06, 15 September 2016 (UTC)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=54894</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=54894"/>
		<updated>2018-05-07T14:33:27Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page User:Tararysz12 to User:FileEX: New Nick&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createPickup]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*[[PL/onMarkerHit]]&amp;lt;br/&amp;gt;&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}}&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Server_Scripting_Functions&amp;diff=54182</id>
		<title>PL/Server Scripting Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Server_Scripting_Functions&amp;diff=54182"/>
		<updated>2018-03-23T21:41:04Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Update translation #1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{PL/Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
Strona z listą wszystkich funkcji '''server-side''' które zostały zaimplementowane. Jeżeli brakuje Ci jakiejś funkcji lub jakiegoś zdarzenia, możesz napisać tutaj [[Requested Functions and Events]] lub http://bugs.mtasa.com.&lt;br /&gt;
&lt;br /&gt;
Kliknij w [[Modules]] aby zobaczyć listę nie rodzimych server-side funkcji i modułów które są dostępne.&lt;br /&gt;
&lt;br /&gt;
Po więcej funkcji zajrzyj w [[Useful_Functions|useful functions page]].&lt;br /&gt;
&lt;br /&gt;
'''Funkcje client-side można znaleźć w tym odnośniku: [[Client Scripting Functions]].'''&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Account functions==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
&lt;br /&gt;
==ACL functions==&lt;br /&gt;
{{ACL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Admin functions==&lt;br /&gt;
{{Admin_functions}}&lt;br /&gt;
&lt;br /&gt;
==Audio functions==&lt;br /&gt;
{{Audio_functions}}&lt;br /&gt;
&lt;br /&gt;
==Announcement functions==&lt;br /&gt;
{{Announce_functions}}&lt;br /&gt;
&lt;br /&gt;
==Blip functions==&lt;br /&gt;
{{Blip_functions}}&lt;br /&gt;
&lt;br /&gt;
==Camera functions==&lt;br /&gt;
{{Camera functions}}&lt;br /&gt;
&lt;br /&gt;
==Collision shape functions==&lt;br /&gt;
{{Collision shape functions}}&lt;br /&gt;
&lt;br /&gt;
==Clothes and body functions==&lt;br /&gt;
{{Clothes and body functions}}&lt;br /&gt;
&lt;br /&gt;
==Cursor functions==&lt;br /&gt;
{{Cursor_functions}}&lt;br /&gt;
&lt;br /&gt;
==Element functions==&lt;br /&gt;
{{Element functions}}&lt;br /&gt;
&lt;br /&gt;
==Event functions==&lt;br /&gt;
{{Event_functions}}&lt;br /&gt;
&lt;br /&gt;
==Explosion functions==&lt;br /&gt;
{{Explosion_functions}}&lt;br /&gt;
&lt;br /&gt;
==File functions==&lt;br /&gt;
{{File_functions}}&lt;br /&gt;
&lt;br /&gt;
==HTTP functions==&lt;br /&gt;
{{HTTP_functions}}&lt;br /&gt;
&lt;br /&gt;
==Input functions==&lt;br /&gt;
{{Input_functions}}&lt;br /&gt;
&lt;br /&gt;
==Map functions==&lt;br /&gt;
{{Map_functions}}&lt;br /&gt;
&lt;br /&gt;
==Marker functions==&lt;br /&gt;
{{Marker functions}}&lt;br /&gt;
&lt;br /&gt;
==Matrix functions==&lt;br /&gt;
{{Shared_matrix_functions}}&lt;br /&gt;
&lt;br /&gt;
==Module functions==&lt;br /&gt;
{{Module functions}}&lt;br /&gt;
&lt;br /&gt;
==Object functions==&lt;br /&gt;
{{Object functions}}&lt;br /&gt;
&lt;br /&gt;
==Ped functions==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
&lt;br /&gt;
==Pickup functions==&lt;br /&gt;
{{Pickup functions}}&lt;br /&gt;
&lt;br /&gt;
==Player functions==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
&lt;br /&gt;
==Radar area functions==&lt;br /&gt;
{{Radar area functions}}&lt;br /&gt;
&lt;br /&gt;
==Resource functions==&lt;br /&gt;
{{Resource functions}}&lt;br /&gt;
&lt;br /&gt;
==Server functions==&lt;br /&gt;
{{Server functions}}&lt;br /&gt;
&lt;br /&gt;
==Settings registry functions==&lt;br /&gt;
{{Settings registry functions}}&lt;br /&gt;
&lt;br /&gt;
==SQL functions==&lt;br /&gt;
{{SQL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Team functions==&lt;br /&gt;
{{Team functions}}&lt;br /&gt;
&lt;br /&gt;
==Text functions==&lt;br /&gt;
{{Text functions}}&lt;br /&gt;
&lt;br /&gt;
==Utility functions==&lt;br /&gt;
{{Utility functions}}&lt;br /&gt;
&lt;br /&gt;
==UTF8 Library==&lt;br /&gt;
{{UTF8 functions}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle functions==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
&lt;br /&gt;
==Water functions==&lt;br /&gt;
{{Water functions}}&lt;br /&gt;
&lt;br /&gt;
==Weapon functions==&lt;br /&gt;
{{Weapon functions}}&lt;br /&gt;
&lt;br /&gt;
==World functions==&lt;br /&gt;
{{World functions}}&lt;br /&gt;
&lt;br /&gt;
==XML functions==&lt;br /&gt;
{{XML functions}}&lt;br /&gt;
&lt;br /&gt;
[[tr:Server Scripting Functions]]&lt;br /&gt;
[[ar:Server Scripting Functions]]&lt;br /&gt;
[[ru:Server Scripting Functions]]&lt;br /&gt;
[[es:Funciones_del_Server]]&lt;br /&gt;
[[de:Server-Seitige Scripting Funktionen]]&lt;br /&gt;
[[pl:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Funkcje_po_stronie_klienta&amp;diff=54181</id>
		<title>PL/Funkcje po stronie klienta</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Funkcje_po_stronie_klienta&amp;diff=54181"/>
		<updated>2018-03-23T21:36:54Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;client&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{PL/Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
Ta strona przedstawia wszystkie funkcje dostępne po stronie '''klienta''', które zostały zaimplementowane jako natywne funkcje . By zaproponować nową funkcję lub nowe zdarzenie, napisz [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
Po więcej funkcji sprawdź [[Useful_Functions|useful functions page]].&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Funkcje dźwięków==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników (blipów)==&lt;br /&gt;
{{Client_blip_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje przeglądarki (CEF)==&lt;br /&gt;
{{CEF_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kamery==&lt;br /&gt;
{{Client_camera_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje ubrań i ciała==&lt;br /&gt;
{{Client_Clothes and body functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kolizji figur (colshape)==&lt;br /&gt;
{{Client_collision_shape_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kursora==&lt;br /&gt;
{{Client_cursor_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje rysowania (DXGui)==&lt;br /&gt;
{{Drawing_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje efektów==&lt;br /&gt;
{{Client_Effects_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje elementów==&lt;br /&gt;
{{Client_element_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje silnika gry==&lt;br /&gt;
{{Engine_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje zdarzeń==&lt;br /&gt;
{{Client_event_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje eksplozji==&lt;br /&gt;
{{Client_explosion_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje plików==&lt;br /&gt;
{{Client file functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje ognia==&lt;br /&gt;
{{Client fire functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje GUI==&lt;br /&gt;
{{GUI_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wejścia==&lt;br /&gt;
{{Client_input_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje światła==&lt;br /&gt;
{{Client_light_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników 3D (markery)==&lt;br /&gt;
{{Client_marker_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje macieży (matrycy)==&lt;br /&gt;
{{Shared_matrix_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje obiektów==&lt;br /&gt;
{{Client_object_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wyjścia==&lt;br /&gt;
{{Client_output_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pedów==&lt;br /&gt;
{{Client_ped_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników (pickup)==&lt;br /&gt;
{{Client_pickup_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje gracza==&lt;br /&gt;
{{Client_player_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pocisków==&lt;br /&gt;
{{Client_projectile_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje obszarów radaru==&lt;br /&gt;
{{Client_radar-area_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje zasobów==&lt;br /&gt;
{{Client_resource_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje światła poszukiwawczego==&lt;br /&gt;
{{Client_searchlight_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje drużyn (team)==&lt;br /&gt;
{{Client_team_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje użyteczne==&lt;br /&gt;
{{Client_utility_functions}}&lt;br /&gt;
&lt;br /&gt;
==Biblioteka UTF8==&lt;br /&gt;
{{UTF8 functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pojazdów==&lt;br /&gt;
{{Client_vehicle_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wody==&lt;br /&gt;
{{Client_water_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje broni==&lt;br /&gt;
{{Client_weapon_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje tworzonych broni==&lt;br /&gt;
&amp;lt;strike&amp;gt;Dokumentacje można znaleźć [http://code.google.com/p/mtasa-blue/source/detail?r=4555 tutaj] [https://github.com/multitheftauto/mtasa-blue/commit/c0ac461867e24fe5fc471fe373ec6212e8736c01 (GitHub)] i [http://code.google.com/p/mtasa-blue/source/detail?r=4557 tutaj] [https://github.com/multitheftauto/mtasa-blue/commit/9c2464b5e0c7d0f2915a9b46273832cd950af48e (GitHub)]&amp;lt;/strike&amp;gt;&lt;br /&gt;
{{Client_weapon_creation_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje świata==&lt;br /&gt;
{{Client_world_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje XML==&lt;br /&gt;
{{Client XML functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:Client Scripting Functions]]&lt;br /&gt;
[[pl:Funkcje po stronie klienta]]&lt;br /&gt;
[[it:Funzioni Client-side]]&lt;br /&gt;
[[ru:Client Scripting Functions]]&lt;br /&gt;
[[es:Funciones del cliente]]&lt;br /&gt;
[[de:Clientseitige_Funktionen]]&lt;br /&gt;
[[tr:Client Taraflı Fonksiyonlar]]&lt;br /&gt;
[[pt-br:Funções de Scripting do Cliente]]&lt;br /&gt;
[[zh-cn:客户端脚本函数]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Funkcje_po_stronie_klienta&amp;diff=54180</id>
		<title>PL/Funkcje po stronie klienta</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Funkcje_po_stronie_klienta&amp;diff=54180"/>
		<updated>2018-03-23T21:35:40Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Update and fix page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;client&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
Ta strona przedstawia wszystkie funkcje dostępne po stronie '''klienta''', które zostały zaimplementowane jako natywne funkcje . By zaproponować nową funkcję lub nowe zdarzenie, napisz [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
Po więcej funkcji sprawdź [[Useful_Functions|useful functions page]].&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Funkcje dźwięków==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników (blipów)==&lt;br /&gt;
{{Client_blip_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje przeglądarki (CEF)==&lt;br /&gt;
{{CEF_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kamery==&lt;br /&gt;
{{Client_camera_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje ubrań i ciała==&lt;br /&gt;
{{Client_Clothes and body functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kolizji figur (colshape)==&lt;br /&gt;
{{Client_collision_shape_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje kursora==&lt;br /&gt;
{{Client_cursor_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje rysowania (DXGui)==&lt;br /&gt;
{{Drawing_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje efektów==&lt;br /&gt;
{{Client_Effects_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje elementów==&lt;br /&gt;
{{Client_element_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje silnika gry==&lt;br /&gt;
{{Engine_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje zdarzeń==&lt;br /&gt;
{{Client_event_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje eksplozji==&lt;br /&gt;
{{Client_explosion_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje plików==&lt;br /&gt;
{{Client file functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje ognia==&lt;br /&gt;
{{Client fire functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje GUI==&lt;br /&gt;
{{GUI_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wejścia==&lt;br /&gt;
{{Client_input_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje światła==&lt;br /&gt;
{{Client_light_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników 3D (markery)==&lt;br /&gt;
{{Client_marker_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje macieży (matrycy)==&lt;br /&gt;
{{Shared_matrix_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje obiektów==&lt;br /&gt;
{{Client_object_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wyjścia==&lt;br /&gt;
{{Client_output_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pedów==&lt;br /&gt;
{{Client_ped_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje znaczników (pickup)==&lt;br /&gt;
{{Client_pickup_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje gracza==&lt;br /&gt;
{{Client_player_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pocisków==&lt;br /&gt;
{{Client_projectile_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje obszarów radaru==&lt;br /&gt;
{{Client_radar-area_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje zasobów==&lt;br /&gt;
{{Client_resource_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje światła poszukiwawczego==&lt;br /&gt;
{{Client_searchlight_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje drużyn (team)==&lt;br /&gt;
{{Client_team_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje użyteczne==&lt;br /&gt;
{{Client_utility_functions}}&lt;br /&gt;
&lt;br /&gt;
==Biblioteka UTF8==&lt;br /&gt;
{{UTF8 functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje pojazdów==&lt;br /&gt;
{{Client_vehicle_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje wody==&lt;br /&gt;
{{Client_water_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje broni==&lt;br /&gt;
{{Client_weapon_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje tworzonych broni==&lt;br /&gt;
&amp;lt;strike&amp;gt;Dokumentacje można znaleźć [http://code.google.com/p/mtasa-blue/source/detail?r=4555 tutaj] [https://github.com/multitheftauto/mtasa-blue/commit/c0ac461867e24fe5fc471fe373ec6212e8736c01 (GitHub)] i [http://code.google.com/p/mtasa-blue/source/detail?r=4557 tutaj] [https://github.com/multitheftauto/mtasa-blue/commit/9c2464b5e0c7d0f2915a9b46273832cd950af48e (GitHub)]&amp;lt;/strike&amp;gt;&lt;br /&gt;
{{Client_weapon_creation_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje świata==&lt;br /&gt;
{{Client_world_functions}}&lt;br /&gt;
&lt;br /&gt;
==Funkcje XML==&lt;br /&gt;
{{Client XML functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:Client Scripting Functions]]&lt;br /&gt;
[[pl:Funkcje po stronie klienta]]&lt;br /&gt;
[[it:Funzioni Client-side]]&lt;br /&gt;
[[ru:Client Scripting Functions]]&lt;br /&gt;
[[es:Funciones del cliente]]&lt;br /&gt;
[[de:Clientseitige_Funktionen]]&lt;br /&gt;
[[tr:Client Taraflı Fonksiyonlar]]&lt;br /&gt;
[[pt-br:Funções de Scripting do Cliente]]&lt;br /&gt;
[[zh-cn:客户端脚本函数]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:PL/See_also/Server_event&amp;diff=54178</id>
		<title>Template:PL/See also/Server event</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:PL/See_also/Server_event&amp;diff=54178"/>
		<updated>2018-03-23T20:46:07Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;===Funkcje zdarzeń=== {{Event functions}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Funkcje zdarzeń===&lt;br /&gt;
{{Event functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:See_also/Server_event&amp;diff=54177</id>
		<title>Template:See also/Server event</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:See_also/Server_event&amp;diff=54177"/>
		<updated>2018-03-23T20:41:40Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: /* {{{1}}} */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==See Also==&lt;br /&gt;
===Event functions===&lt;br /&gt;
{{Event functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=54176</id>
		<title>PL/OutputChatBoxWithEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=54176"/>
		<updated>2018-03-23T20:39:27Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__Funkcja ta wyświetla wiadomość na chacie, może ona być wyświetlona dla wybranych graczy lub dla wszystkich graczy. Jak normalny [[outputChatBox]]. Funkcja ta nalicza znaki &amp;quot;\n&amp;quot; (entery) w tekście i rozdziela tekst na tyle wiadomości ile jest enterów.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Wymagane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''visibleTo:''' Argument ten określa komu ma zostać wyświetlona wiadomość. Domyślnie są to wszyscy gracze. Zobacz [[visibility]].&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wymgane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Źródło==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,who,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local who = who or getRootElement();&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,who,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
'''Przykład 1:''' Przykład ten wysyła wiadomość do wszystkich graczy.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
x = 5&lt;br /&gt;
y = 10  &lt;br /&gt;
-- wyświetlamy wiadomość&lt;br /&gt;
outputChatBoxWithEnter ( &amp;quot;Ja mam &amp;quot; .. x .. &amp;quot; jabłek oraz\n&amp;quot; .. y .. &amp;quot; pomarańczy.&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czerwony Biały&amp;quot;, gdzie czerwony jest oznaczony kolorem czerwonym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
 outputChatBoxWithEnter ( &amp;quot;#FF0000Czerwony\n#FFFFFFBiały&amp;quot;, getRootElement(), 255, 0, 0, true )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
'''Przykład 1:''' Przykład ten wyświetla nasz nick po wpisaniu komendy /mojnick.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;mojnick&amp;quot;,function()&lt;br /&gt;
    outputChatBoxWithEnter(&amp;quot;Twój nick to\n&amp;quot;..getPlayerName(localPlayer),255,133,175)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czarny Biały&amp;quot;, gdzie czarny jest oznaczony kolorem czarnym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
outputChatBoxWithEnter(&amp;quot;#000000Czarny\n#FFFFFFBiały&amp;quot;,255,255,255,true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=54175</id>
		<title>PL/OutputChatBoxWithEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=54175"/>
		<updated>2018-03-23T20:38:41Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__Funkcja ta wyświetla wiadomość na chacie, może ona być wyświetlona dla wybranych graczy lub dla wszystkich graczy. Jak normalny [[outputChatBox]]. Funkcja ta nalicza znaki &amp;quot;\n&amp;quot; (entery) w tekście i rozdziela tekst na tyle wiadomości ile jest enterów.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Wymagane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''visibleTo:''' Argument ten określa komu ma zostać wyświetlona wiadomość. Domyślnie są to wszyscy gracze. Zobacz [[visibility]].&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wymgane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Źródło==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,who,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local who = who or getRootElement();&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,who,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
'''Przykład 1:''' Przykład ten wysyła wiadomość do wszystkich graczy.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
x = 5&lt;br /&gt;
y = 10  &lt;br /&gt;
-- wyświetlamy wiadomość&lt;br /&gt;
outputChatBoxWithEnter ( &amp;quot;Ja mam &amp;quot; .. x .. &amp;quot; jabłek oraz\n&amp;quot; .. y .. &amp;quot; pomarańczy.&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czerwony Biały&amp;quot;, gdzie czerwony jest oznaczony kolorem czerwonym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
 outputChatBoxWithEnter ( &amp;quot;#FF0000Czerwony\n#FFFFFFBiały&amp;quot;, getRootElement(), 255, 0, 0, true )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
'''Przykład 1:''' Przykład ten wyświetla nasz nick po wpisaniu komendy /mojnick.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;mojnick&amp;quot;,function()&lt;br /&gt;
    outputChatBoxWithEnter(&amp;quot;Twój nick to\n&amp;quot;..getPlayerName(localPlayer),255,133,175)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czarny Biały&amp;quot;, gdzie czarny jest oznaczony kolorem czarnym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
outputChatBoxWithEnter(&amp;quot;#000000Czarny\n#FFFFFFBiały&amp;quot;,255,255,255,true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Hsv2rgb&amp;diff=54174</id>
		<title>PL/Hsv2rgb</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Hsv2rgb&amp;diff=54174"/>
		<updated>2018-03-23T20:35:49Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Useful Function}}&lt;br /&gt;
Funkcja ta zwraca podany kolor HSV w postaci RGB.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string hsv2rgb ( int h, int s, int v)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty===&lt;br /&gt;
* '''h:''' Wartość 'hue' (0-359).&lt;br /&gt;
* '''s:''' Wartość 'saturation' (0-100).&lt;br /&gt;
* '''v:''' Wartość 'value' (0-100).&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function hsv2rgb(h, s, v)&lt;br /&gt;
  local r, g, b&lt;br /&gt;
  local i = math.floor(h * 6)&lt;br /&gt;
  local f = h * 6 - i&lt;br /&gt;
  local p = v * (1 - s)&lt;br /&gt;
  local q = v * (1 - f * s)&lt;br /&gt;
  local t = v * (1 - (1 - f) * s)&lt;br /&gt;
  local switch = i % 6&lt;br /&gt;
  if switch == 0 then&lt;br /&gt;
    r = v g = t b = p&lt;br /&gt;
  elseif switch == 1 then&lt;br /&gt;
    r = q g = v b = p&lt;br /&gt;
  elseif switch == 2 then&lt;br /&gt;
    r = p g = v b = t&lt;br /&gt;
  elseif switch == 3 then&lt;br /&gt;
    r = p g = q b = v&lt;br /&gt;
  elseif switch == 4 then&lt;br /&gt;
    r = t g = p b = v&lt;br /&gt;
  elseif switch == 5 then&lt;br /&gt;
    r = v g = p b = q&lt;br /&gt;
  end&lt;br /&gt;
  return math.floor(r*255), math.floor(g*255), math.floor(b*255)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local color = hsv2rgb(283,99,100)&lt;br /&gt;
outputChatBox(color)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createBlipAttachedTo&amp;diff=54173</id>
		<title>PL/createBlipAttachedTo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createBlipAttachedTo&amp;diff=54173"/>
		<updated>2018-03-23T20:30:01Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy [[blip|znacznik]], który jest dołączony do [[element|elementu]]. Znacznik ten jest wyświetlany jako ikona na radarze gracza, i podąża on razem z [[element|elementem]] do którego jest 'przyklejony'.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blip createBlipAttachedTo ( element elementToAttachTo [, int icon = 0, int size = 2, int r = 255, int g = 0, int b = 0, int a = 255, int ordering = 0, float visibleDistance = 99999.0, visibleTo = getRootElement( ) ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Klient&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blip createBlipAttachedTo ( element elementToAttachTo [, int icon = 0, int size = 2, int r = 255, int g = 0, int b = 0, int a = 255, int ordering = 0, float visibleDistance = 99999.0] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{PL/OOP||[[Blip]].createAttachedTo||}}&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
*'''elementToAttachTo:''' [[element]] do którego ma zostać 'przyklejony' znacznik.&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{PL/OptionalArg}} &lt;br /&gt;
*'''icon:''' Ikonka znacznika która ma być widoczna. Spis ikonek: [[PL/Radar_Blips|Ikonki]].&lt;br /&gt;
*'''size:''' Rozmiar znacznika na radarze. Domyślnie jest to 2.&lt;br /&gt;
*'''r:''' Ilość koloru czerwieni (0-255). Ma zastosowanie tylko w przypadku znacznika typu &amp;quot;Marker&amp;quot;. Domyślna ilość to 255.&lt;br /&gt;
*'''g:''' Ilość koloru zieleni (0-255). Ma zastosowanie tylko w przypadku znacznika typu &amp;quot;Marker&amp;quot;. Domyślna ilość to 0.&lt;br /&gt;
*'''b:''' Ilość koloru niebieskości (0-255). Ma zastosowanie tylko w przypadku znacznika typu &amp;quot;Marker&amp;quot;. Domyślna ilość to 0.&lt;br /&gt;
*'''a:''' Ilość alfa (przezroczystości) (0-255). Ma zastosowanie tylko w przypadku znacznika typu &amp;quot;Marker&amp;quot; Domyślna ilość to 255.&lt;br /&gt;
{{New feature/item|3|1.0||&lt;br /&gt;
*'''ordering:''' Liczba całkowita określająca wysokość położenia znacznika (-32768 - 32767). Przydatny argument podczas tworzenia blipów znajdujących się w jednym miejscu, ponieważ możemy zdecydować, który z nich będzie na wierzchu. Domyślnie 0.&lt;br /&gt;
*'''visibleDistance:''' Odległość z jakiej widoczny ma być znacznik (0 - 65535).&lt;br /&gt;
}}&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;
*'''visibleTo:''' Dla kogo ma być widoczny znacznik. Domyślnie jest widoczny dla wszystkich. Zajrzyj [[visibility|widoczność|]].&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[blip|znacznik]] jeśli znacznik został utworzony pomyślnie, lub ''false'' jeśli nie został utworzony pomyślnie.&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;
Ten przykład tworzy znacznik na radarze przyklejony do losowego gracza widoczny dla wszystkich. Gdy gracz się porusza to znacznik na radarze porusza się razem z nim. Może to byś wykorzystywane do zaznaczenia losowego gracza.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- losujemy gracza&lt;br /&gt;
function setupRandomRobber ()&lt;br /&gt;
	local myPlayer = getRandomPlayer ()&lt;br /&gt;
	-- Tworzy znacznik o ikonie gotówki czyli &amp;quot;$&amp;quot; przyczepiony do gracza. Widoczny tylko dla każdego (bez argumentu 'visibleTo').&lt;br /&gt;
	local myBlip = createBlipAttachedTo ( myPlayer, 52 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
setupRandomRobber()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Blip_functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Player&amp;diff=54172</id>
		<title>PL/Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Player&amp;diff=54172"/>
		<updated>2018-03-23T20:26:30Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
Gracze to postać którą kieruje klient (użytkownik komputera). Gracz tworzy się podczas połączenia się z serwerem i zostaje usunięty gdy klient rozłącza się z serwerem. Gracze nie mogą zostać stworzeni ani usunięci w żaden inny sposób.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Typem elementu tej klasy jest '''&amp;quot;player&amp;quot;'''.&lt;br /&gt;
&lt;br /&gt;
==Podobne funkcje==&lt;br /&gt;
===Klient===&lt;br /&gt;
{{Client player functions}}&lt;br /&gt;
===Serwer===&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
[[Category:Element Types]]&lt;br /&gt;
&lt;br /&gt;
[[it:Elemento Player]]&lt;br /&gt;
[[ru:Element/Player]]&lt;br /&gt;
[[es:Elemento/Player]]&lt;br /&gt;
[[de:Element/Player]]&lt;br /&gt;
[[en:Element/Player]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=53970</id>
		<title>DxDrawJumpedRectangle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=53970"/>
		<updated>2018-02-17T16:25:46Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=53897</id>
		<title>PL/OutputChatBoxWithEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/OutputChatBoxWithEnter&amp;diff=53897"/>
		<updated>2018-02-10T16:47:51Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;{{PL/Useful Function}} __NOTOC__ Funkcja ta wyświetla wiadomość na chacie, może ona być wyświetlona dla wybranych graczy lub dla wszystkich graczy. Jak normalny output...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja ta wyświetla wiadomość na chacie, może ona być wyświetlona dla wybranych graczy lub dla wszystkich graczy. Jak normalny [[outputChatBox]]. Funkcja ta nalicza znaki &amp;quot;\n&amp;quot; (entery) w tekście i rozdziela tekst na tyle wiadomości ile jest enterów.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Wymagane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''visibleTo:''' Argument ten określa komu ma zostać wyświetlona wiadomość. Domyślnie są to wszyscy gracze. Zobacz [[visibility]].&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool outputChatBoxWithEnter ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wymgane Argumenty==&lt;br /&gt;
*'''text:''' Ciąg znaków, który ma zostać wyświetlony na chacie. Jeśli ma więcej niż 256 znaków nie pojawi się na chacie.&lt;br /&gt;
&lt;br /&gt;
==Opcjonalne Argumenty==&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
*'''r:''' Liczba określająca ilość &amp;quot;czerwieni&amp;quot; w kolorze tekstu. Domyślna wartość to 231.&lt;br /&gt;
*'''g:''' Liczba określająca ilość &amp;quot;zieleni&amp;quot; w kolorze tekstu. Domyślna wartość to 217.&lt;br /&gt;
*'''b:''' Liczba określająca ilość &amp;quot;niebieskiego&amp;quot; w kolorze tekstu. Domyślna wartość to 176.&lt;br /&gt;
*'''colorCoded:''' Wartość logiczna (boolean) określająca czy mają być brane pod uwagę znaczniki &amp;quot;#RRGGBB&amp;quot; (kolor heksadecymalny) czy też nie.&lt;br /&gt;
Uwaga: Format #RRGGBB musi zawierać wielkie litery, a-f nie jest akceptowane, natomiast A-F to domyślne wartości RGB w tym formacie: &amp;quot;#E7D9B0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Źródło==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,who,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local who = who or getRootElement();&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,who,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function outputChatBoxWithEnter(text,r,g,b,colorCoded)&lt;br /&gt;
    if text then&lt;br /&gt;
        local r,g,b = r,g,b or 231,217,176;&lt;br /&gt;
        local colorCoded = colorCoded or false;&lt;br /&gt;
        for t in string.gmatch(text,&amp;quot;([^%\n]+)&amp;quot;) do&lt;br /&gt;
            outputChatBox(t,r,g,b,colorCoded);&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&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;
'''Przykład 1:''' Przykład ten wysyła wiadomość do wszystkich graczy.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
x = 5&lt;br /&gt;
y = 10  &lt;br /&gt;
-- wyświetlamy wiadomość&lt;br /&gt;
outputChatBoxWithEnter ( &amp;quot;Ja mam &amp;quot; .. x .. &amp;quot; jabłek oraz\n&amp;quot; .. y .. &amp;quot; pomarańczy.&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czerwony Biały&amp;quot;, gdzie czerwony jest oznaczony kolorem czerwonym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
 outputChatBoxWithEnter ( &amp;quot;#FF0000Czerwony\n#FFFFFFBiały&amp;quot;, getRootElement(), 255, 0, 0, true )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
'''Przykład 1:''' Przykład ten wyświetla nasz nick po wpisaniu komendy /mojnick.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;mojnick&amp;quot;,function()&lt;br /&gt;
    outputChatBoxWithEnter(&amp;quot;Twój nick to\n&amp;quot;..getPlayerName(localPlayer),255,133,175)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Przykład 2:''' Przykład ten wyświetla wiadomość na chacie &amp;quot;Czarny Biały&amp;quot;, gdzie czarny jest oznaczony kolorem czarnym, a biały białym.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
outputChatBoxWithEnter(&amp;quot;#000000Czarny\n#FFFFFFBiały&amp;quot;,255,255,255,true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedElement&amp;diff=52578</id>
		<title>DxDrawJumpedElement</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedElement&amp;diff=52578"/>
		<updated>2017-10-09T13:06:34Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page DxDrawJumpedElement to DxDrawJumpedRectangle: Funkcja przedstawia tylko skaczące rectangle.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[DxDrawJumpedRectangle]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=52577</id>
		<title>DxDrawJumpedRectangle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=52577"/>
		<updated>2017-10-09T13:06:34Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page DxDrawJumpedElement to DxDrawJumpedRectangle: Funkcja przedstawia tylko skaczące rectangle.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja rysuje skaczący element dxDraw a konkretnie [[dxDrawRectangle]] w podanych współrzędnych, trzeba użyć [[onClientRender]] do poprawnego działania.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool dxDrawJumpedRectangle(posX,posY,width,height [color = white, postGUI = false] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane argumenty===&lt;br /&gt;
* '''posX''': Liczba reprezentująca absolutną pozycję X na ekranie.&lt;br /&gt;
* '''posY''': Liczba reprezentująca absolutną pozycję Y na ekranie.&lt;br /&gt;
* '''widht''': Liczba reprezentująca szerokość elementu.&lt;br /&gt;
* '''height''': Liczba reprezentująca wysokość elementu.&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne argumenty===&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
* '''color''': Liczba reprezentująca kolor R,G,B,A.&lt;br /&gt;
* '''postGUI''': Argument odpowiadający za to, że element jest zawsze na wierzchu.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca ''true'' jeśli element został stworzony prawidłowo, lub ''false'' jeśli wystąpił jakiś problem.&lt;br /&gt;
&lt;br /&gt;
==Źródło==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function dxDrawJumpedRectangle(posX,posY,width,height,color,postGUI)&lt;br /&gt;
	if ( type( posX ) ~= &amp;quot;number&amp;quot; ) or ( type( posY ) ~= &amp;quot;number&amp;quot; ) or ( type( width ) ~= &amp;quot;number&amp;quot; ) or ( type( height ) ~= &amp;quot;number&amp;quot; ) then&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
        color = color or tocolor(255,255,255,255)&lt;br /&gt;
        postGUI = type(postGUI) == &amp;quot;boolean&amp;quot; and postGUI or false&lt;br /&gt;
        local sinus = math.sin(getTickCount()/500)*3&lt;br /&gt;
        dxDrawRectangle(posX,posY+sinus,width,heigt,color,postGUI)&lt;br /&gt;
        return true&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;'''Autor:''Tararysz12&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Przykład==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;,root,function()&lt;br /&gt;
   dxDrawJumpedRectangle(200,200,300,400,tocolor(255,255,0,200),false)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=52573</id>
		<title>DxDrawJumpedRectangle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxDrawJumpedRectangle&amp;diff=52573"/>
		<updated>2017-10-08T20:41:06Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;{{PL/Useful Function}} &amp;lt;lowercasetitle/&amp;gt; __NOTOC__ Funkcja rysuje skaczący element dxDraw a konkretnie dxDrawRectangle w podanych współrzędnych, trzeba użyć onClie...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja rysuje skaczący element dxDraw a konkretnie [[dxDrawRectangle]] w podanych współrzędnych, trzeba użyć [[onClientRender]] do poprawnego działania.&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool dxDrawJumpedRectangle(posX,posY,width,height [color = white, postGUI = false] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane argumenty===&lt;br /&gt;
* '''posX''': Liczba reprezentująca absolutną pozycję X na ekranie.&lt;br /&gt;
* '''posY''': Liczba reprezentująca absolutną pozycję Y na ekranie.&lt;br /&gt;
* '''widht''': Liczba reprezentująca szerokość elementu.&lt;br /&gt;
* '''height''': Liczba reprezentująca wysokość elementu.&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne argumenty===&lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
* '''color''': Liczba reprezentująca kolor R,G,B,A.&lt;br /&gt;
* '''postGUI''': Argument odpowiadający za to, że element jest zawsze na wierzchu.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca ''true'' jeśli element został stworzony prawidłowo, lub ''false'' jeśli wystąpił jakiś problem.&lt;br /&gt;
&lt;br /&gt;
==Źródło==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function dxDrawJumpedRectangle(posX,posY,width,height,color,postGUI)&lt;br /&gt;
	if ( type( posX ) ~= &amp;quot;number&amp;quot; ) or ( type( posY ) ~= &amp;quot;number&amp;quot; ) or ( type( width ) ~= &amp;quot;number&amp;quot; ) or ( type( height ) ~= &amp;quot;number&amp;quot; ) then&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
        color = color or tocolor(255,255,255,255)&lt;br /&gt;
        postGUI = type(postGUI) == &amp;quot;boolean&amp;quot; and postGUI or false&lt;br /&gt;
        local sinus = math.sin(getTickCount()/500)*3&lt;br /&gt;
        dxDrawRectangle(posX,posY+sinus,width,heigt,color,postGUI)&lt;br /&gt;
        return true&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;'''Autor:''Tararysz12&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Przykład==&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientRender&amp;quot;,root,function()&lt;br /&gt;
   dxDrawJumpedRectangle(200,200,300,400,tocolor(255,255,0,200),false)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Hsv2rgb&amp;diff=51586</id>
		<title>PL/Hsv2rgb</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Hsv2rgb&amp;diff=51586"/>
		<updated>2017-07-05T15:38:04Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;__NOTOC__ {{PL/Useful Function}} Funkcja ta zamienia kolor 'HSV' na RGB  ==Składnia== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string hsv2rgb ( int h, int s, int v)&amp;lt;/syntaxhighlight&amp;gt;  ===...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Useful Function}}&lt;br /&gt;
Funkcja ta zamienia kolor 'HSV' na RGB&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string hsv2rgb ( int h, int s, int v)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty===&lt;br /&gt;
* '''h:''' Wartość 'hue' (0-359).&lt;br /&gt;
* '''s:''' Wartość 'saturation' (0-100).&lt;br /&gt;
* '''v:''' Wartość 'value' (0-100).&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function hsv2rgb(h, s, v)&lt;br /&gt;
  local r, g, b&lt;br /&gt;
  local i = math.floor(h * 6)&lt;br /&gt;
  local f = h * 6 - i&lt;br /&gt;
  local p = v * (1 - s)&lt;br /&gt;
  local q = v * (1 - f * s)&lt;br /&gt;
  local t = v * (1 - (1 - f) * s)&lt;br /&gt;
  local switch = i % 6&lt;br /&gt;
  if switch == 0 then&lt;br /&gt;
    r = v g = t b = p&lt;br /&gt;
  elseif switch == 1 then&lt;br /&gt;
    r = q g = v b = p&lt;br /&gt;
  elseif switch == 2 then&lt;br /&gt;
    r = p g = v b = t&lt;br /&gt;
  elseif switch == 3 then&lt;br /&gt;
    r = p g = q b = v&lt;br /&gt;
  elseif switch == 4 then&lt;br /&gt;
    r = t g = p b = v&lt;br /&gt;
  elseif switch == 5 then&lt;br /&gt;
    r = v g = p b = q&lt;br /&gt;
  end&lt;br /&gt;
  return math.floor(r*255), math.floor(g*255), math.floor(b*255)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local color = hsv2rgb(283,99,100)&lt;br /&gt;
outputChatBox(color)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50923</id>
		<title>PL/isPlayerOnline</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50923"/>
		<updated>2017-05-12T16:01:13Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja ta sprawdza czy podany gracz jest online na serwerze.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerOnline ( player )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty===&lt;br /&gt;
* '''player''': Element gracza, którego chcemy sprawdzić.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca true jeśli gracz jest online lub false jeśli go nie ma.&lt;br /&gt;
&lt;br /&gt;
==Kod==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server- and/or clientside Script&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local function isPlayerOnline(player)&lt;br /&gt;
	if not player then&lt;br /&gt;
	outputDebugString(&amp;quot;Bad argument @ 'isPlayerOnline' [Expected element at argument 1, got nil]&amp;quot;, 2,255,255,0)&lt;br /&gt;
	return false end&lt;br /&gt;
	if getPlayerFromName(player) then&lt;br /&gt;
		return true&lt;br /&gt;
	end&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
Przykład ten pokazuje na chacie nick gracza jeśli jest po wpisaniu komendy /getname nick gracza&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getname&amp;quot;,function(plr,cmd,target)&lt;br /&gt;
	if target then&lt;br /&gt;
		if isPlayerOnline(target) then&lt;br /&gt;
		outputChatBox(getPlayerName(getPlayerFromName(target)),plr,255,255,255)&lt;br /&gt;
		else&lt;br /&gt;
		outputChatBox(&amp;quot;No znaleziono gracza&amp;quot;,plr,255,255,255)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox(&amp;quot;Błąd&amp;quot;,plr,255,255,255)&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/getGameType&amp;diff=50922</id>
		<title>PL/getGameType</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/getGameType&amp;diff=50922"/>
		<updated>2017-05-12T14:43:56Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page PL/getGameType to PL/isPlayerOnline: Pomyłka&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[PL/isPlayerOnline]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50921</id>
		<title>PL/isPlayerOnline</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50921"/>
		<updated>2017-05-12T14:43:56Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Tararysz12 moved page PL/getGameType to PL/isPlayerOnline: Pomyłka&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja ta sprawdza czy podany gracz jest online na serwerze.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerOnline ( player )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty===&lt;br /&gt;
* '''player''': Element gracza, którego chcemy sprawdzić.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca true jeśli gracz jest online lub false jeśli go nie ma.&lt;br /&gt;
&lt;br /&gt;
==Kod==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Clientside script&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local function isPlayerOnline(player)&lt;br /&gt;
	if not player then&lt;br /&gt;
	outputDebugString(&amp;quot;Bad argument @ 'isPlayerOnline' [Expected element at argument 1, got nil]&amp;quot;, 2,255,255,0)&lt;br /&gt;
	return false end&lt;br /&gt;
	if getPlayerFromName(player) then&lt;br /&gt;
		return true&lt;br /&gt;
	end&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
Przykład ten pokazuje na chacie nick gracza jeśli jest po wpisaniu komendy /getname nick gracza&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getname&amp;quot;,function(plr,cmd,target)&lt;br /&gt;
	if target then&lt;br /&gt;
		if isPlayerOnline(target) then&lt;br /&gt;
		outputChatBox(getPlayerName(getPlayerFromName(target)),plr,255,255,255)&lt;br /&gt;
		else&lt;br /&gt;
		outputChatBox(&amp;quot;No znaleziono gracza&amp;quot;,plr,255,255,255)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox(&amp;quot;Błąd&amp;quot;,plr,255,255,255)&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50920</id>
		<title>PL/isPlayerOnline</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/isPlayerOnline&amp;diff=50920"/>
		<updated>2017-05-12T14:42:39Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;{{PL/Useful Function}} __NOTOC__ Funkcja ta sprawdza czy podany gracz jest online na serwerze.   ==Składnia== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerOnline ( player )&amp;lt;/synt...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Useful Function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Funkcja ta sprawdza czy podany gracz jest online na serwerze.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Składnia==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerOnline ( player )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty===&lt;br /&gt;
* '''player''': Element gracza, którego chcemy sprawdzić.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca true jeśli gracz jest online lub false jeśli go nie ma.&lt;br /&gt;
&lt;br /&gt;
==Kod==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Clientside script&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local function isPlayerOnline(player)&lt;br /&gt;
	if not player then&lt;br /&gt;
	outputDebugString(&amp;quot;Bad argument @ 'isPlayerOnline' [Expected element at argument 1, got nil]&amp;quot;, 2,255,255,0)&lt;br /&gt;
	return false end&lt;br /&gt;
	if getPlayerFromName(player) then&lt;br /&gt;
		return true&lt;br /&gt;
	end&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
Przykład ten pokazuje na chacie nick gracza jeśli jest po wpisaniu komendy /getname nick gracza&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;getname&amp;quot;,function(plr,cmd,target)&lt;br /&gt;
	if target then&lt;br /&gt;
		if isPlayerOnline(target) then&lt;br /&gt;
		outputChatBox(getPlayerName(getPlayerFromName(target)),plr,255,255,255)&lt;br /&gt;
		else&lt;br /&gt;
		outputChatBox(&amp;quot;No znaleziono gracza&amp;quot;,plr,255,255,255)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox(&amp;quot;Błąd&amp;quot;,plr,255,255,255)&lt;br /&gt;
	end&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Również==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50304</id>
		<title>PL/createPickup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50304"/>
		<updated>2017-01-10T14:52:38Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń. &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;
pickup createPickup ( float x, float y, float z, int theType, int amount/weapon/model, [ int respawnTime = 30000, int ammo = 50 ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{PL/OOP||Pickup}}&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
* '''x''': Liczba zmiennoprzecinkowa określająca współrzędną X znacznika na mapie.&lt;br /&gt;
* '''y''': Liczba zmiennoprzecinkowa określająca współrzędną Y znacznika na mapie.&lt;br /&gt;
* '''z''': Liczba zmiennoprzecinkowa określająca współrzędną Z znacznika na mapie.&lt;br /&gt;
* '''theType''': Liczba całkowita reprezentująca następujące typy: &lt;br /&gt;
** '''0''': Życie&lt;br /&gt;
** '''1''': Pancerz&lt;br /&gt;
** '''2''': Broń&lt;br /&gt;
** '''3''': Zwyczajny&lt;br /&gt;
&lt;br /&gt;
* '''amount''': Liczba całkowita reprezentująca ilość życia, pancerza jaką ma przypisaną pickup.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''weapon''': Jeśli typem pickup'a jest broń to reprezentuje [[PL/Weapons|ID Broni]] W przypadku zestawu broni argument amunicji może być używany.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''model''': Jeśli typ pickupa jest standardowy wtedy możemy nadać mu id czyli wygląd modelu. Poniżej lista ID&lt;br /&gt;
&lt;br /&gt;
** '''1212:''' Pieniądze (Zwitek gotówki)&lt;br /&gt;
** '''1240:''' Życie (serce)&lt;br /&gt;
** '''1242:''' Pancerz (kamizelka)&lt;br /&gt;
** '''1239:''' Informacyjny (znak zapytania ?)&lt;br /&gt;
** '''1272:''' Dom (niebieski)&lt;br /&gt;
** '''1273:''' Dom (zielony)&lt;br /&gt;
** '''1274:''' Pieniądze (znaczek dolara $)&lt;br /&gt;
** '''1241:''' Adrenalina (kapsułka)&lt;br /&gt;
** '''1247:''' Przekupstwo&lt;br /&gt;
** '''1248:''' Znaczek GTA III&lt;br /&gt;
** '''1252:''' Bomba z GTA III&lt;br /&gt;
** '''1253:''' Zdjęcie&lt;br /&gt;
** '''1254:''' Czaszka&lt;br /&gt;
** '''1274:''' Ikona pieniążka&lt;br /&gt;
** '''1275:''' Niebieska koszulka&lt;br /&gt;
** '''1277:''' Dysk zapisu&lt;br /&gt;
** '''1313:''' 2 czaski&lt;br /&gt;
** '''1276:''' Posąg tiki&lt;br /&gt;
** '''1310:''' Spadochron&lt;br /&gt;
** '''1318:''' Strzałka w dół&lt;br /&gt;
** '''1279:''' Wiązka narkotyków&lt;br /&gt;
'''LUB'''&lt;br /&gt;
** '''Inne ID modeli'''&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
* '''respawnTime''': Ilość czasu w milisekundach po której ma się zrespawnować pickup od momentu wejścia w niego (UWAGA argument jest ignorowany na stronie klienta)&lt;br /&gt;
* '''ammo''': Liczba całkowita reprezentująca ilość amunicji, argument ważny jest tylko gdy typem pickup'a jest broń.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[pickup]] [[element]] jeśli pickup został stworzony pomyślnie, w przeciwnym wypadku zwraca 'false'.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Przykład tworzy pickup z ikonką jego broni gdy gracz zginie.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    currentweapon = getPlayerWeapon ( source ) --pobieramy ostatnią posiadaną broń przed śmiercią&lt;br /&gt;
    createPickup ( x, y, z, 2, currentweapon, 10000, totalammo )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
Przykład ten tworzy pickup'a (pieniążka) w miejscu gdzie gracz zginął i ustawia mu wartość.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    local money=createPickup ( x, y, z, 3, 1212, 10000)&lt;br /&gt;
    local playermoney = getPlayerMoney(source) --pobieramy ilość posiadanej gotówki osoby, która zginęła&lt;br /&gt;
    setElementData(money,&amp;quot;Amount&amp;quot;,playermoney) --nadajemy wartość dla pickup'a&lt;br /&gt;
    takePlayerMoney(source,playermoney) --zabieramy wszystkie pieniądze gracza który zginął&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
&lt;br /&gt;
{{Pickup functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=50303</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=50303"/>
		<updated>2017-01-10T14:52:05Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createPickup]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*[[PL/onMarkerHit]]&amp;lt;br/&amp;gt;&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}}&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50302</id>
		<title>PL/createPickup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50302"/>
		<updated>2017-01-10T14:51:03Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń. &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;
pickup createPickup ( float x, float y, float z, int theType, int amount/weapon/model, [ int respawnTime = 30000, int ammo = 50 ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{PL/OOP||Pickup}}&lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
* '''x''': Liczba zmiennoprzecinkowa określająca współrzędną X znacznika na mapie.&lt;br /&gt;
* '''y''': Liczba zmiennoprzecinkowa określająca współrzędną Y znacznika na mapie.&lt;br /&gt;
* '''z''': Liczba zmiennoprzecinkowa określająca współrzędną Z znacznika na mapie.&lt;br /&gt;
* '''theType''': Liczba całkowita reprezentująca następujące typy: &lt;br /&gt;
** '''0''': Życie&lt;br /&gt;
** '''1''': Pancerz&lt;br /&gt;
** '''2''': Broń&lt;br /&gt;
** '''3''': Zwyczajny&lt;br /&gt;
&lt;br /&gt;
* '''amount''': Liczba całkowita reprezentująca ilość życia, pancerza jaką ma przypisaną pickup.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''weapon''': Jeśli typem pickup'a jest broń to reprezentuje [[PL/Weapon|ID Broni]] W przypadku zestawu broni argument amunicji może być używany.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''model''': Jeśli typ pickupa jest standardowy wtedy możemy nadać mu id czyli wygląd modelu. Poniżej lista ID&lt;br /&gt;
&lt;br /&gt;
** '''1212:''' Pieniądze (Zwitek gotówki)&lt;br /&gt;
** '''1240:''' Życie (serce)&lt;br /&gt;
** '''1242:''' Pancerz (kamizelka)&lt;br /&gt;
** '''1239:''' Informacyjny (znak zapytania ?)&lt;br /&gt;
** '''1272:''' Dom (niebieski)&lt;br /&gt;
** '''1273:''' Dom (zielony)&lt;br /&gt;
** '''1274:''' Pieniądze (znaczek dolara $)&lt;br /&gt;
** '''1241:''' Adrenalina (kapsułka)&lt;br /&gt;
** '''1247:''' Przekupstwo&lt;br /&gt;
** '''1248:''' Znaczek GTA III&lt;br /&gt;
** '''1252:''' Bomba z GTA III&lt;br /&gt;
** '''1253:''' Zdjęcie&lt;br /&gt;
** '''1254:''' Czaszka&lt;br /&gt;
** '''1274:''' Ikona pieniążka&lt;br /&gt;
** '''1275:''' Niebieska koszulka&lt;br /&gt;
** '''1277:''' Dysk zapisu&lt;br /&gt;
** '''1313:''' 2 czaski&lt;br /&gt;
** '''1276:''' Posąg tiki&lt;br /&gt;
** '''1310:''' Spadochron&lt;br /&gt;
** '''1318:''' Strzałka w dół&lt;br /&gt;
** '''1279:''' Wiązka narkotyków&lt;br /&gt;
'''LUB'''&lt;br /&gt;
** '''Inne ID modeli'''&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{PL/OptionalArg}}&lt;br /&gt;
* '''respawnTime''': Ilość czasu w milisekundach po której ma się zrespawnować pickup od momentu wejścia w niego (UWAGA argument jest ignorowany na stronie klienta)&lt;br /&gt;
* '''ammo''': Liczba całkowita reprezentująca ilość amunicji, argument ważny jest tylko gdy typem pickup'a jest broń.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[pickup]] [[element]] jeśli pickup został stworzony pomyślnie, w przeciwnym wypadku zwraca 'false'.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Przykład tworzy pickup z ikonką jego broni gdy gracz zginie.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    currentweapon = getPlayerWeapon ( source ) --pobieramy ostatnią posiadaną broń przed śmiercią&lt;br /&gt;
    createPickup ( x, y, z, 2, currentweapon, 10000, totalammo )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
Przykład ten tworzy pickup'a (pieniążka) w miejscu gdzie gracz zginął i ustawia mu wartość.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    local money=createPickup ( x, y, z, 3, 1212, 10000)&lt;br /&gt;
    local playermoney = getPlayerMoney(source) --pobieramy ilość posiadanej gotówki osoby, która zginęła&lt;br /&gt;
    setElementData(money,&amp;quot;Amount&amp;quot;,playermoney) --nadajemy wartość dla pickup'a&lt;br /&gt;
    takePlayerMoney(source,playermoney) --zabieramy wszystkie pieniądze gracza który zginął&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
&lt;br /&gt;
{{Pickup functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50301</id>
		<title>PL/createPickup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50301"/>
		<updated>2017-01-10T14:49:59Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń. &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;
pickup createPickup ( float x, float y, float z, int theType, int amount/weapon/model, [ int respawnTime = 30000, int ammo = 50 ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
* '''x''': Liczba zmiennoprzecinkowa określająca współrzędną X znacznika na mapie.&lt;br /&gt;
* '''y''': Liczba zmiennoprzecinkowa określająca współrzędną Y znacznika na mapie.&lt;br /&gt;
* '''z''': Liczba zmiennoprzecinkowa określająca współrzędną Z znacznika na mapie.&lt;br /&gt;
* '''theType''': Liczba całkowita reprezentująca następujące typy: &lt;br /&gt;
** '''0''': Życie&lt;br /&gt;
** '''1''': Pancerz&lt;br /&gt;
** '''2''': Broń&lt;br /&gt;
** '''3''': Zwyczajny&lt;br /&gt;
&lt;br /&gt;
* '''amount''': Liczba całkowita reprezentująca ilość życia, pancerza jaką ma przypisaną pickup.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''weapon''': Jeśli typem pickup'a jest broń to reprezentuje [[PL/Weapon|ID Broni]] W przypadku zestawu broni argument amunicji może być używany.&lt;br /&gt;
'''LUB'''&lt;br /&gt;
* '''model''': Jeśli typ pickupa jest standardowy wtedy możemy nadać mu id czyli wygląd modelu. Poniżej lista ID&lt;br /&gt;
&lt;br /&gt;
** '''1212:''' Pieniądze (Zwitek gotówki)&lt;br /&gt;
** '''1240:''' Życie (serce)&lt;br /&gt;
** '''1242:''' Pancerz (kamizelka)&lt;br /&gt;
** '''1239:''' Informacyjny (znak zapytania ?)&lt;br /&gt;
** '''1272:''' Dom (niebieski)&lt;br /&gt;
** '''1273:''' Dom (zielony)&lt;br /&gt;
** '''1274:''' Pieniądze (znaczek dolara $)&lt;br /&gt;
** '''1241:''' Adrenalina (kapsułka)&lt;br /&gt;
** '''1247:''' Przekupstwo&lt;br /&gt;
** '''1248:''' Znaczek GTA III&lt;br /&gt;
** '''1252:''' Bomba z GTA III&lt;br /&gt;
** '''1253:''' Zdjęcie&lt;br /&gt;
** '''1254:''' Czaszka&lt;br /&gt;
** '''1274:''' Ikona pieniążka&lt;br /&gt;
** '''1275:''' Niebieska koszulka&lt;br /&gt;
** '''1277:''' Dysk zapisu&lt;br /&gt;
** '''1313:''' 2 czaski&lt;br /&gt;
** '''1276:''' Posąg tiki&lt;br /&gt;
** '''1310:''' Spadochron&lt;br /&gt;
** '''1318:''' Strzałka w dół&lt;br /&gt;
** '''1279:''' Wiązka narkotyków&lt;br /&gt;
'''LUB'''&lt;br /&gt;
** '''Inne ID modeli'''&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
* '''respawnTime''': Ilość czasu w milisekundach po której ma się zrespawnować pickup od momentu wejścia w niego (UWAGA argument jest ignorowany na stronie klienta)&lt;br /&gt;
* '''ammo''': Liczba całkowita reprezentująca ilość amunicji, argument ważny jest tylko gdy typem pickup'a jest broń.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[pickup]] [[element]] jeśli pickup został stworzony pomyślnie, w przeciwnym wypadku zwraca 'false'.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Przykład tworzy pickup z ikonką jego broni gdy gracz zginie.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    currentweapon = getPlayerWeapon ( source ) --pobieramy ostatnią posiadaną broń przed śmiercią&lt;br /&gt;
    createPickup ( x, y, z, 2, currentweapon, 10000, totalammo )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
Przykład ten tworzy pickup'a (pieniążka) w miejscu gdzie gracz zginął i ustawia mu wartość.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    local money=createPickup ( x, y, z, 3, 1212, 10000)&lt;br /&gt;
    local playermoney = getPlayerMoney(source) --pobieramy ilość posiadanej gotówki osoby, która zginęła&lt;br /&gt;
    setElementData(money,&amp;quot;Amount&amp;quot;,playermoney) --nadajemy wartość dla pickup'a&lt;br /&gt;
    takePlayerMoney(source,playermoney) --zabieramy wszystkie pieniądze gracza który zginął&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
&lt;br /&gt;
{{Pickup functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50300</id>
		<title>PL/createPickup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50300"/>
		<updated>2017-01-10T14:49:20Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń. &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;
pickup createPickup ( float x, float y, float z, int theType, int amount/weapon/model, [ int respawnTime = 30000, int ammo = 50 ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
* '''x''': Liczba zmiennoprzecinkowa określająca współrzędną X znacznika na mapie.&lt;br /&gt;
* '''y''': Liczba zmiennoprzecinkowa określająca współrzędną Y znacznika na mapie.&lt;br /&gt;
* '''z''': Liczba zmiennoprzecinkowa określająca współrzędną Z znacznika na mapie.&lt;br /&gt;
* '''theType''': Liczba całkowita reprezentująca następujące typy: &lt;br /&gt;
** '''0''': Życie&lt;br /&gt;
** '''1''': Pancerz&lt;br /&gt;
** '''2''': Broń&lt;br /&gt;
** '''3''': Zwyczajny&lt;br /&gt;
&lt;br /&gt;
* '''amount''': Liczba całkowita reprezentująca ilość życia, pancerza jaką ma przypisaną pickup.&lt;br /&gt;
'''OR'''&lt;br /&gt;
* '''weapon''': Jeśli typem pickup'a jest broń to reprezentuje [[PL/Weapon|ID Broni]] W przypadku zestawu broni argument amunicji może być używany.&lt;br /&gt;
'''OR'''&lt;br /&gt;
* '''model''': Jeśli typ pickupa jest standardowy wtedy możemy nadać mu id czyli wygląd modelu. Poniżej lista ID&lt;br /&gt;
&lt;br /&gt;
** '''1212:''' Pieniądze (Zwitek gotówki)&lt;br /&gt;
** '''1240:''' Życie (serce)&lt;br /&gt;
** '''1242:''' Pancerz (kamizelka)&lt;br /&gt;
** '''1239:''' Informacyjny (znak zapytania ?)&lt;br /&gt;
** '''1272:''' Dom (niebieski)&lt;br /&gt;
** '''1273:''' Dom (zielony)&lt;br /&gt;
** '''1274:''' Pieniądze (znaczek dolara $)&lt;br /&gt;
** '''1241:''' Adrenalina (kapsułka)&lt;br /&gt;
** '''1247:''' Przekupstwo&lt;br /&gt;
** '''1248:''' Znaczek GTA III&lt;br /&gt;
** '''1252:''' Bomba z GTA III&lt;br /&gt;
** '''1253:''' Zdjęcie&lt;br /&gt;
** '''1254:''' Czaszka&lt;br /&gt;
** '''1274:''' Ikona pieniążka&lt;br /&gt;
** '''1275:''' Niebieska koszulka&lt;br /&gt;
** '''1277:''' Dysk zapisu&lt;br /&gt;
** '''1313:''' 2 czaski&lt;br /&gt;
** '''1276:''' Posąg tiki&lt;br /&gt;
** '''1310:''' Spadochron&lt;br /&gt;
** '''1318:''' Strzałka w dół&lt;br /&gt;
** '''1279:''' Wiązka narkotyków&lt;br /&gt;
&lt;br /&gt;
'''OR'''&lt;br /&gt;
&lt;br /&gt;
** '''Inne ID modeli'''&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
* '''respawnTime''': Ilość czasu w milisekundach po której ma się zrespawnować pickup od momentu wejścia w niego (UWAGA argument jest ignorowany na stronie klienta)&lt;br /&gt;
* '''ammo''': Liczba całkowita reprezentująca ilość amunicji, argument ważny jest tylko gdy typem pickup'a jest broń.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[pickup]] [[element]] jeśli pickup został stworzony pomyślnie, w przeciwnym wypadku zwraca 'false'.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Przykład tworzy pickup z ikonką jego broni gdy gracz zginie.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    currentweapon = getPlayerWeapon ( source ) --pobieramy ostatnią posiadaną broń przed śmiercią&lt;br /&gt;
    createPickup ( x, y, z, 2, currentweapon, 10000, totalammo )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
Przykład ten tworzy pickup'a (pieniążka) w miejscu gdzie gracz zginął i ustawia mu wartość.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --kiedy gracz ginie&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --pobieramy pozycję osoby, która zginęła i definiujemy jako x,y,z&lt;br /&gt;
    local money=createPickup ( x, y, z, 3, 1212, 10000)&lt;br /&gt;
    local playermoney = getPlayerMoney(source) --pobieramy ilość posiadanej gotówki osoby, która zginęła&lt;br /&gt;
    setElementData(money,&amp;quot;Amount&amp;quot;,playermoney) --nadajemy wartość dla pickup'a&lt;br /&gt;
    takePlayerMoney(source,playermoney) --zabieramy wszystkie pieniądze gracza który zginął&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
&lt;br /&gt;
{{Pickup functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50299</id>
		<title>PL/createPickup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/createPickup&amp;diff=50299"/>
		<updated>2017-01-10T14:43:38Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;__NOTOC__  {{PL/Shared function}} Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń.   ==Składnia==  &amp;lt;syntaxhighlight lan...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{PL/Shared function}}&lt;br /&gt;
Funkcja ta tworzy element 'pickup' w świecie GTA w którym, możemy pobrać życie, pancerz lub broń. &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;
pickup createPickup ( float x, float y, float z, int theType, int amount/weapon/model, [ int respawnTime = 30000, int ammo = 50 ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Wymagane Argumenty=== &lt;br /&gt;
* '''x''': Liczba zmiennoprzecinkowa określająca współrzędną X znacznika na mapie.&lt;br /&gt;
* '''y''': Liczba zmiennoprzecinkowa określająca współrzędną Y znacznika na mapie.&lt;br /&gt;
* '''z''': Liczba zmiennoprzecinkowa określająca współrzędną Z znacznika na mapie.&lt;br /&gt;
* '''theType''': Liczba całkowita reprezentująca następujące typy: &lt;br /&gt;
** '''0''': Życie&lt;br /&gt;
** '''1''': Pancerz&lt;br /&gt;
** '''2''': Broń&lt;br /&gt;
** '''3''': Zwyczajny&lt;br /&gt;
&lt;br /&gt;
* '''amount''': Liczba całkowita reprezentująca ilość życia, pancerza jaką ma przypisaną pickup.&lt;br /&gt;
'''OR'''&lt;br /&gt;
* '''weapon''': Jeśli typem pickup'a jest broń to reprezentuje [[PL/Weapon|ID Broni]] W przypadku zestawu broni argument amunicji może być używany.&lt;br /&gt;
'''OR'''&lt;br /&gt;
* '''model''': Jeśli typ pickupa jest standardowy wtedy możemy nadać mu id czyli wygląd modelu. Poniżej lista ID&lt;br /&gt;
&lt;br /&gt;
** '''1212:''' Pieniądze (Zwitek gotówki)&lt;br /&gt;
** '''1240:''' Życie (serce)&lt;br /&gt;
** '''1242:''' Pancerz (kamizelka)&lt;br /&gt;
** '''1239:''' Informacyjny (znak zapytania ?)&lt;br /&gt;
** '''1272:''' Dom (niebieski)&lt;br /&gt;
** '''1273:''' Dom (zielony)&lt;br /&gt;
** '''1274:''' Pieniądze (znaczek dolara $)&lt;br /&gt;
** '''1241:''' Adrenalina (kapsułka)&lt;br /&gt;
** '''1247:''' Przekupstwo&lt;br /&gt;
** '''1248:''' Znaczek GTA III&lt;br /&gt;
** '''1252:''' Bomba z GTA III&lt;br /&gt;
** '''1253:''' Zdjęcie&lt;br /&gt;
** '''1254:''' Czaszka&lt;br /&gt;
** '''1274:''' Ikona pieniążka&lt;br /&gt;
** '''1275:''' Niebieska koszulka&lt;br /&gt;
** '''1277:''' Dysk zapisu&lt;br /&gt;
** '''1313:''' 2 czaski&lt;br /&gt;
** '''1276:''' Posąg tiki&lt;br /&gt;
** '''1310:''' Spadochron&lt;br /&gt;
** '''1318:''' Strzałka w dół&lt;br /&gt;
** '''1279:''' Wiązka narkotyków&lt;br /&gt;
'''OR'''&lt;br /&gt;
Inne ID modeli&lt;br /&gt;
&lt;br /&gt;
===Opcjonalne Argumenty=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
* '''respawnTime''': Ilość czasu w milisekundach po której ma się zrespawnować pickup od momentu wejścia w niego (UWAGA argument jest ignorowany na stronie klienta)&lt;br /&gt;
* '''ammo''': Liczba całkowita reprezentująca ilość amunicji, argument ważny jest tylko gdy typem pickup'a jest broń.&lt;br /&gt;
&lt;br /&gt;
===Wynik===&lt;br /&gt;
Zwraca [[pickup]] [[element]] jeśli pickup został stworzony pomyślnie, w przeciwnym wypadku zwraca 'false'.&lt;br /&gt;
&lt;br /&gt;
==Przykład== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a pickup after a player dies so that he drops his weapon.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --when a player dies&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --get the position of the person who died and define it as x, y and z&lt;br /&gt;
    currentweapon = getPlayerWeapon ( source ) --get the current weapon of the dead person&lt;br /&gt;
    createPickup ( x, y, z, 2, currentweapon, 10000, totalammo )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a custom pickup(money) after a player dies and sets it's value.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) --when a player dies&lt;br /&gt;
    x, y, z = getElementPosition ( source ) --get the position of the person who died and define it as x, y and z&lt;br /&gt;
    local money=createPickup ( x, y, z, 3, 1212, 10000)&lt;br /&gt;
    local playermoney = getPlayerMoney(source) --get the amount of money the dead person has&lt;br /&gt;
    setElementData(money,&amp;quot;Amount&amp;quot;,playermoney) --now let's set the value of the pickup&lt;br /&gt;
    takePlayerMoney(source,playermoney) --Let's take away all their money&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), createDeathPickup ) --add an event handler for onPlayerWasted&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Zobacz Też==&lt;br /&gt;
&lt;br /&gt;
{{Pickup functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49133</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49133"/>
		<updated>2016-09-14T18:00:43Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Undo revision 49063 by ThePiotrek (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Marker events}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=49132</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=49132"/>
		<updated>2016-09-14T18:00:06Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*[[PL/onMarkerHit]]&amp;lt;br/&amp;gt;&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}}&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=49131</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=49131"/>
		<updated>2016-09-14T17:59:44Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}}&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:See_also/Server_event&amp;diff=49059</id>
		<title>Template:See also/Server event</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:See_also/Server_event&amp;diff=49059"/>
		<updated>2016-09-07T15:11:32Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Zobacz również==&lt;br /&gt;
==={{{1}}}===&lt;br /&gt;
{{{{{1}}}}}&lt;br /&gt;
===Event functions===&lt;br /&gt;
{{Event functions}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49058</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49058"/>
		<updated>2016-09-07T15:11:10Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Marker events}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49057</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49057"/>
		<updated>2016-09-07T15:10:56Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
{{Zobacz również/Server event|Marker events}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49056</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49056"/>
		<updated>2016-09-07T15:10:34Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;br /&gt;
&lt;br /&gt;
{{Zobacz również/Server event|Zdarzenia znaczników}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49055</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49055"/>
		<updated>2016-09-07T15:09:19Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{See Also/Server event|Zdarzenia znaczników}}&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49054</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49054"/>
		<updated>2016-09-07T15:08:55Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Zobacz również&lt;br /&gt;
&lt;br /&gt;
{{Server event|Zdarzenia znaczników}}&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49053</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49053"/>
		<updated>2016-09-07T15:08:23Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Zobacz również/Server event|Marker Events}}&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49052</id>
		<title>PL/onMarkerHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/onMarkerHit&amp;diff=49052"/>
		<updated>2016-09-07T15:07:46Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;__NOTOC__ {{PL/Server event}} To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą tej funkcji.  ==Parametry== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[lu...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PL/Server event}}&lt;br /&gt;
To zdarzenie wywołuje się gdy element znajdzie się w znaczniku stworzonym za pomocą [[PL/createMarker|tej funkcji.]]&lt;br /&gt;
&lt;br /&gt;
==Parametry==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element hitElement, bool matchingDimension&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''hitElement''': Element który znajduje się w markerze&lt;br /&gt;
*'''matchingDimension''': Wartość true jeśli element jest w tym samym wymiarze(dimension) co marker&lt;br /&gt;
&lt;br /&gt;
==Źródło==&lt;br /&gt;
W [[event system#Event source|źródłe]] tego zdarzenia jest [[marker|znacznik]] w którym znajduje się element&lt;br /&gt;
&lt;br /&gt;
==Przykład==&lt;br /&gt;
&amp;lt;!-- Explain what the example is in a single sentance --&amp;gt;&lt;br /&gt;
Ten przykład wyświetli wiadomość na czacie jakiego rodzaju element znajduje się w znaczniku&lt;br /&gt;
&amp;lt;!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- tworzy znacznik&lt;br /&gt;
&lt;br /&gt;
function MarkerHit( hitElement, matchingDimension ) -- tworzy funkcję z argumentami&lt;br /&gt;
    local elementType = getElementType( hitElement ) -- pobiera rodzaj elementu&lt;br /&gt;
    outputChatBox( elementType..&amp;quot;wewnątrz markera&amp;quot;, getRootElement(), 255, 255, 0 ) -- pokazuje tekst&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onMarkerHit&amp;quot;, myMarker, MarkerHit ) -- dołącza zdarzenie onMarkerHit do funkcji MarkerHit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problemy==&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|6098|Jeśli znacznik został dołączony do innego elementu wtedy zdarzenie onMarkerHit nie wywoła się}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Zobacz również/Server event|Zdarzenia znaczników}}&lt;br /&gt;
&lt;br /&gt;
Autor: Tararysz12&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Strona_g%C5%82%C3%B3wna&amp;diff=48996</id>
		<title>Strona główna</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Strona_g%C5%82%C3%B3wna&amp;diff=48996"/>
		<updated>2016-09-01T12:20:58Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;/*border: 1px solid #D8D8D8;*/ padding-left: 15px; padding-right: 15px; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Mtalogo.png|left|100px|link=http://wiki.multitheftauto.com/]]'''Witaj na polskim wiki [[PL/Multi Theft Auto|Multi Theft Auto]].''' Znajdziesz tutaj wiele informacji na temat korzystania Multi Theft Auto.&lt;br /&gt;
 &lt;br /&gt;
Jest wiele [[PL/How you can help|rzeczy które możesz zrobić]], aby pomóc nam w rozwijaniu MTA - stworzyć mapę, tryb gry, pomóc w dokumentowaniu funkcji, napisać przykładowy kod, napisać poradnik lub po prostu grać w MTA i zgłaszać błędy, które znajdziesz.&lt;br /&gt;
&lt;br /&gt;
Jeśli masz jakieś pytania bądź problemy związane z pisaniem skryptów, zapytaj nas na [[PL/IRC Channel|kanale IRC]].&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[ Stop playing with yourself ]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background: #FFFCF2;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Input-gaming.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Graj&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA; border: 1px solid #FFCD19;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Go-down.png|link=http://mtasa.com/]] ''' [http://mtasa.com/ Pobierz Multi Theft Auto: San Andreas {{Current Version|full}}]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[PL/Where to buy GTASA|Gdzie kupić GTASA]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Polish_MTA_version|Polska wersja MTA:SA]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Client Manual|Obsługa klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
&amp;lt;!-- * [[PL/Changes_in_{{padleft:|3|{{Current Version|full}}}}| Zmiany w {{padleft:|3|{{Current Version|full}}}}]] --&amp;gt;&lt;br /&gt;
* [[PL/Changes_in_{{padleft:|5|{{Current Version|full}}}}| Zmiany w {{padleft:|5|{{Current Version|full}}}}]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Known_Issues_-_FAQ|Znane problemy]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[PL/Migracja_z_MTA:Race_do_MTA:SA_1.0.x|Migracja z MTA:Race do MTA:SA {{padleft:|3|{{Current Version|full}}}}]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Server Manual|Obsługa serwera]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[Map manager|Menadżer map]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Edytor map&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[PL/Resource:Editor|Instrukcja]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Resource:Editor/EDF|Edytor Właściwości Mapy]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
*[[Resource:Editor/Plugins|Pluginy]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
*[[PL/Resource:Editor#FAQ|Najczęściej zadawane pytania]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Package-x-generic.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Bazy danych&amp;lt;/h3&amp;gt;&lt;br /&gt;
Ta sekcja opisuje wszystkie możliwości Lua umożliwiane przez MTA lub zasoby.&lt;br /&gt;
* [[PL/Category:Resource|Katalog zasobów]] - Musisz je poznać, aby tworzyć właściwe skrypty&lt;br /&gt;
* [[PL/Client side scripts|Skrypty po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[Modules|Moduły]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-development.png‎‎‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Rozwijanie Multi Theft Auto&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Go-down.png|link=http://nightly.mtasa.com/]] [http://nightly.mtasa.com/ Nightly builds]&lt;br /&gt;
* [[Compiling_MTASA|Kompilacja MTASA na Windows]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Building_MTASA_Server_on_GNU_Linux|Kompilacja MTASA na GNU/Linux]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Coding guidelines|Wytyczne dot. pisania kodu]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [https://github.com/multitheftauto/mtasa-blue Repozytorium Github]&lt;br /&gt;
* [[Roadmap]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [http://bugs.mtasa.com/ Bugtracker]&lt;br /&gt;
* [[Branches|Branże]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-office.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Polskie Wiki - jak możesz pomóc?&amp;lt;/h3&amp;gt;&lt;br /&gt;
* Pomóż tłumaczyć hasła, przy których jest angielska flaga&lt;br /&gt;
* Twórz hasła, które istnieją w angielskiej wiki, a których u nas brakuje&lt;br /&gt;
** Staraj się, aby nowe artykuły miały takie same nazwy (angielskie), a jedynie poprzedzane były przedrostkiem PL/ - przykład: [[PL/Character_Skins]]&lt;br /&gt;
* Zwołaj znajomych, informuj na forach, niech inni dowiedzą się o takiej możliwości!&lt;br /&gt;
* Jeśli nie masz pomysłu na edycję, wykonaj coś z [[PL/Todo|tej listy]]. Możesz ją także rozbudować.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Internet-group-chat.png‎|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Społeczność&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [http://forum.multitheftauto.com/ Forum]&lt;br /&gt;
* IRC: [irc://irc.multitheftauto.com/mta irc.multitheftauto.com #mta]&lt;br /&gt;
* [http://community.mtasa.com/ MTA Community]  - dodaj lub pobierz skrypty&lt;br /&gt;
* [http://twitter.com/#!/MTAQA/ Twitter] - [http://www.youtube.com/user/MTAQA Youtube] - [http://plus.google.com/102014133442331779727/ Google+] - [http://www.moddb.com/mods/multi-theft-auto-san-andreas ModDB]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Accessories-text-editor.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Skryptowanie&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[Wstęp do pisania skryptów|Wstęp do pisania skryptów]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Introduction to Scripting the GUI|Wstęp do pisania skryptów GUI]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Debugging|Poradnik debugowania]] [[Image:usen.gif|Artykuł w języku angielskim]] - Jak znaleźć błędy w swoich skryptach&lt;br /&gt;
* [[Resources|Wstęp do zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
** [[Resource Web Access|Dostęp WWW do zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]] - Jak pisać strony WWW z wykorzystaniem zasobów&lt;br /&gt;
** [[:Category:Resource|Katalog zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
** [[PL/Meta.xml|Meta.xml]] [[Image:Plflag.png|Artykuł w języku polskim]] - każdy zasób jest definiowany przez plik meta&lt;br /&gt;
** [[ACL]] [[Image:usen.gif|Artykuł w języku angielskim]] - Access Control List, który jest niezbędny, aby skrypty działały&lt;br /&gt;
* [[Writing_Gamemodes|Pisanie gamemodów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Useful_Functions|Przydatne funkcje]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
Linki na fora&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=91 Forum na temat skryptowania]&lt;br /&gt;
* [http://forum.mtasa.com/viewforum.php?f=148 Forum z poradnikami do skryptowania]&lt;br /&gt;
* [http://forum.mtasa.com/viewtopic.php?f=13&amp;amp;t=29363 Kopie Wiki]&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:start-here.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Pomoc dotycząca LUA&amp;lt;/h3&amp;gt;&lt;br /&gt;
Strony zaprojektowane, by pomóc Ci zrozumieć język LUA.&lt;br /&gt;
*[http://www.lua.org/pil/index.html &amp;quot;Programming in Lua&amp;quot; Manual]&lt;br /&gt;
**[http://www.lua.org/manual/5.1/#index Internal Lua functions reference]&lt;br /&gt;
*[http://lua-users.org/wiki/TutorialDirectory Lua Wiki]&lt;br /&gt;
*[http://nixstaller.sourceforge.net/manual/0.5.1/nixstaller_10.html A general guide to Lua from Nixstaller]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background:#F2F2FF;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Preferences-system.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Odwołania&amp;lt;/h3&amp;gt;&lt;br /&gt;
* [[PL/Funkcje po stronie klienta|Funkcje po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[PL/Client Scripting Events|Zdarzenia po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
* [[Server Scripting Functions|Funkcje po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
* [[Server Scripting Events|Zdarzenia po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --&amp;gt;&lt;br /&gt;
* [[PL/MTA Classes|Klasy MTA]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]] -- Szczegółowe opisy wszystkich typów MTA&lt;br /&gt;
** [[Element|Elementy MTA]] [[Image:usen.gif|Artykuł w języku angielskim]] / [[Element tree|Drzewo elementów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:System-file-manager.png|link=]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;[[PL/Id|Listy ID]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
*[[PL/Animations|Animacje]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Character Skins|Skiny postaci]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/CJ_Clothes|Ubrania]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Garage|Garaże]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Interior IDs|Interiory]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Material IDs|Materiały]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Projectiles|Pociski]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Radar Blips|Znaczniki]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Sounds|Dźwięki]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle IDs|Pojazdy]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle Colors|Kolory pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Vehicle Upgrades|Modyfikacje pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[Vehicle variants|Warianty pojazdów]] [[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
*[[PL/Vehicle component manipulation|Manipulowanie komponentami pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Weapons|Bronie]] [[Image:Plflag.png|Artykuł w języku polskim]]&lt;br /&gt;
*[[PL/Weather|Pogoda]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Osi symbol.png|75px|link=http://opensource.org/|left]]&lt;br /&gt;
'''Multi Theft Auto''' jest '''Otwartym Oprogramowaniem'''. &lt;br /&gt;
&amp;lt;br/&amp;gt;To znaczy, że każdy może pomóc w byciu Multi Theft Auto lepszym!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 15px; padding-right: 15px;&amp;quot; class=&amp;quot;plainlinks&amp;quot;&amp;gt;&lt;br /&gt;
[[File:MTALogo_8ball.png|left|85px|link=Archive]]&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''O [[PL/Multi Theft Auto|Multi Theft Auto]]'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[PL/Archive|Archiwum]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[Press Coverage|MTA w mediach]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[http://code.google.com/p/mtasa-blue/people/list Developerzy]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''Multi Theft Auto 0.5'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[PL/Archive#Multi_Theft_Auto_0.5|Pobierz]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[MTA 0.5r2 Known Issues|Zauważone problemy]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 200px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;'''Statystyki Wiki'''&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFARTICLES}} artykuły&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFPAGES}} strony&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFFILES}} pliki&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style: none; width: 240px; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFEDITS}} edycji&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFADMINS}} administratorów&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFUSERS}} zarejestrowanych użytkowników&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;{{NUMBEROFACTIVEUSERS}} aktywnych użytkowników&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{{Languages list|pl}}&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/MTA_Classes&amp;diff=48995</id>
		<title>PL/MTA Classes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/MTA_Classes&amp;diff=48995"/>
		<updated>2016-09-01T12:18:30Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: Created page with &amp;quot;W celu wykonania operacji na MTA/Obiektach, poprzez skrypty. Wskazówki do klas wewnętrznych (funkcji,zdarzeń itp) są eksportowane do skryptów jako Lua UserData. Każda z ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;W celu wykonania operacji na MTA/Obiektach, poprzez skrypty. Wskazówki do klas wewnętrznych (funkcji,zdarzeń itp) są eksportowane do skryptów jako Lua UserData. Każda z tych klas ma szereg eksportowanych funkcji związanych z nimi.&lt;br /&gt;
&lt;br /&gt;
Elementy które mają być reprezentowane w grze są również znane jako [[entity|Podmioty]].&lt;br /&gt;
&lt;br /&gt;
Pełną listę klas można znaleźć w skryptach następująco:&lt;br /&gt;
&lt;br /&gt;
* [[account|Account]]&lt;br /&gt;
* [[acl|ACL]]&lt;br /&gt;
* [[aclgroup|ACL group]]&lt;br /&gt;
* [[Ban]]&lt;br /&gt;
* [[element|Element]]&lt;br /&gt;
&amp;lt;ul&amp;gt;{{Elements}}&amp;lt;/ul&amp;gt;&lt;br /&gt;
* [[resource|Resource]]&lt;br /&gt;
* [[textdisplay|Text display]]&lt;br /&gt;
* [[textitem|Text item]]&lt;br /&gt;
* [[timer|Timer]]&lt;br /&gt;
* [[xmlnode|XML node]]&lt;br /&gt;
* [[connection|Connection]]&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
[[es:Clases MTA]]&lt;br /&gt;
[[en:Classes MTA]]&lt;br /&gt;
[[it:Classi di MTA]]&lt;br /&gt;
[[ru:Классы MTA]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:GabWas&amp;diff=48994</id>
		<title>User:GabWas</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:GabWas&amp;diff=48994"/>
		<updated>2016-09-01T12:09:38Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Polish_flag.gif]]&lt;br /&gt;
&lt;br /&gt;
==Moje tłumaczenia / My translations==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Functions===&lt;br /&gt;
*[[PL/createBlip]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createPed]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/getPlayerPing]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/getRandomPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/getServerName]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/givePlayerMoney]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/outputChatBox]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/playSound]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/playSound3D]]&amp;lt;br/&amp;gt;&lt;br /&gt;
===Zdarzenia / Events===&lt;br /&gt;
*brak (jeszcze) / none (yet)&lt;br /&gt;
===Pozostałe / Others===&lt;br /&gt;
*brak (jeszcze) / none (yet)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=48993</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=48993"/>
		<updated>2016-09-01T12:08:13Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: /* Inne/Other */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*brak (tymczasowo) / none (temporarily)&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}}&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=48992</id>
		<title>User:FileEX</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:FileEX&amp;diff=48992"/>
		<updated>2016-09-01T12:07:32Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: /* Funkcje / Function */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:skiturystyka.pl_2620.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Moje prace/ My Job==&lt;br /&gt;
&amp;lt;!-- *[[PL/]]&amp;lt;br/&amp;gt; --&amp;gt;&lt;br /&gt;
===Funkcje / Function===&lt;br /&gt;
*[[PL/createMarker]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/kickPlayer]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/setElementFrozen]]&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[PL/createBlipAttachedTo]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Zdarzenia/Event===&lt;br /&gt;
*brak (tymczasowo) / none (temporarily)&lt;br /&gt;
===Inne/Other===&lt;br /&gt;
*Spolszczone typy markerów.&lt;br /&gt;
*{{PL/Marker_types}} &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pozdrawiam, :)&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Resource:Editor/EDF&amp;diff=48990</id>
		<title>PL/Resource:Editor/EDF</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Resource:Editor/EDF&amp;diff=48990"/>
		<updated>2016-09-01T11:17:30Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
EDF oznacza 'Edytor Definiowania Pliku' EDF są pliki XML z rozszerzeniem .edf opisujące elementy niestandardowe używane przez zasoby, typy elementów które nie mają znaczenia dla samego MTA. Przykładami są: &amp;amp; lt; &amp;amp; gt;, spawnpoint &amp;amp; lt; &amp;amp; gt;, flag &amp;amp; lt; checkpoint &amp;amp; gt; itd. One także są wykorzystywane do definiowania ustawień, które są używane przez gamemody, które są umieszczane pod  &amp;amp; lt; Settings &amp;amp; gt; tag  w obrębie zasobu 'meta.xml'&lt;br /&gt;
&lt;br /&gt;
==Wprowadzenie==&lt;br /&gt;
Niektóre zasoby używają niestandardowych elementów mapy. Przechwytywane flagi, gamemody na przykład będzie trzeba prawdopodobnie użyć  &amp;amp; lt; &amp;amp; gt flags; Elementy które zawierają pozycje flag i zespołów. Gdy mapa jest załadowana gamemode szuka &amp;amp; lt; &amp;amp; gt flags; elementy i instaluje flagi odpowiednio - na przykład poprzez utworzenie obiektu z flagą i kształt kolizji.&lt;br /&gt;
&lt;br /&gt;
The problem with these custom elements is that, unlike built-in MTA elements, the map editor has no idea of their meaning. How should a &amp;amp;lt;flag&amp;amp;gt; element be visually represented? What properties does it have? Without telling the editor this information, you could not use it to create these custom elements and would instead have to resort to manually editing the .map file with a text editor. Fortunately this isn't necessary: any resource can contain an editor definition file that describes the custom map elements used by that resource.&lt;br /&gt;
&lt;br /&gt;
==Using definition files in the editor==&lt;br /&gt;
As described in the [[Resource:Editor|main editor manual]], to be able to create the custom elements of a resource in your map you need to add it in the ''Definitions'' window. Click the ''Definitions'' button in the main menu and double click the resource in the left list. Then close the window and roll the mousewheel in the element panel until the resource comes up. At that point you can create and manipulate custom elements of that resource like any other element.&lt;br /&gt;
&lt;br /&gt;
==Writing EDF files==&lt;br /&gt;
EDF files are simply XML files with an .edf extension. We'll start with an example: the EDF of the Capture the Orb gamemode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;def name=&amp;quot;Capture the Orb&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;orb&amp;quot; friendlyname=&amp;quot;Orb spawnpoint&amp;quot; instructions=&amp;quot;Place your orb in a position that can be collected.&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;marker size=&amp;quot;0.5&amp;quot; type=&amp;quot;corona&amp;quot; color=&amp;quot;#ffff00ff&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;objective&amp;quot; friendlyname=&amp;quot;Objective point&amp;quot; instructions=&amp;quot;Place your objective point in a position that can be reached.&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;marker size=&amp;quot;3&amp;quot; type=&amp;quot;cylinder&amp;quot; color=&amp;quot;#9370dbaa&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;spawnpoint&amp;quot; friendlyname=&amp;quot;Spawnpoint&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;object editorOnly=&amp;quot;true&amp;quot; model=&amp;quot;3092&amp;quot; posZ=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;rotation&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;skin&amp;quot; type=&amp;quot;skinID&amp;quot; default=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
&amp;lt;/def&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the syntax is fairly straightforward. The root element, &amp;amp;lt;def&amp;amp;gt;, contains a number of &amp;amp;lt;element&amp;amp;gt;s. Each of these &amp;amp;lt;element&amp;amp;gt;s describes a custom element and specifies its name, visual representation and available properties.&lt;br /&gt;
&lt;br /&gt;
===Visual representation===&lt;br /&gt;
&lt;br /&gt;
Any child node of an &amp;amp;lt;element&amp;amp;gt; that is not a &amp;amp;lt;data&amp;amp;gt; node is part of the visual representation. There can be one or more objects, markers, pickups etc. For each representation element you can optionally specify a position (posX, posY, posZ) and rotation (rotX, rotY, rotZ): these are ''relative'' to the position and rotation of the represented custom element. Using the above Capture the Orb example, if you were to create a spawnpoint at (30, 14, 3), the editor would display an object of model 3092 at (30, 14, 4) to represent it, because the object's posZ of 1 is added to the spawnpoint's z position of 3.&lt;br /&gt;
&lt;br /&gt;
===Properties===&lt;br /&gt;
&lt;br /&gt;
Properties of a custom element are described by &amp;amp;lt;data&amp;amp;gt; nodes. Some property names have a special meaning, like ''position'' and ''rotation'': these can be changed by moving and rotating the element in the editor. The other properties can be changed in the Properties window.&lt;br /&gt;
&lt;br /&gt;
===Property-dependent visual representation===&lt;br /&gt;
&lt;br /&gt;
It is possible to make the representation of a custom element depend on one or more of the element's properties. Take as example a &amp;amp;lt;checkpoint&amp;amp;gt; element of a race gamemode that contains a &amp;amp;lt;marker&amp;amp;gt; for representation: the checkpoint has several attributes like color and size that should be reflected in the marker. To accomplish this, specify something of the form ''!propertyname!'' in one or more of the representing element's attributes. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;def name=&amp;quot;Race&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;element name=&amp;quot;checkpoint&amp;quot; friendlyname=&amp;quot;Race checkpoint&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;data name=&amp;quot;type&amp;quot; type=&amp;quot;selection:checkpoint,ring&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;checkpoint&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;size&amp;quot; type=&amp;quot;number&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;2.25&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;color&amp;quot; type=&amp;quot;color&amp;quot; required=&amp;quot;false&amp;quot; default=&amp;quot;#ff0000ff&amp;quot; /&amp;gt;&lt;br /&gt;
		...&lt;br /&gt;
		&lt;br /&gt;
		&amp;lt;marker type=&amp;quot;!type!&amp;quot; size=&amp;quot;!size!&amp;quot; color=&amp;quot;!color!&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/element&amp;gt;&lt;br /&gt;
&amp;lt;/def&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now whenever the &amp;quot;type&amp;quot;, &amp;quot;size&amp;quot; or &amp;quot;color&amp;quot; property of a checkpoint is changed, the new value will be copied to its marker, and the marker's visual appearance changes accordingly.&lt;br /&gt;
&lt;br /&gt;
===Integrating in a resource===&lt;br /&gt;
&lt;br /&gt;
Once you've written your EDF, save it as an .edf file in your resource's folder and add an &amp;quot;edf:definition&amp;quot; attribute to your meta.xml's &amp;amp;lt;info&amp;amp;gt; tag, like so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;meta&amp;gt;&lt;br /&gt;
    &amp;lt;info author=&amp;quot;erorr404&amp;quot; type=&amp;quot;gamemode&amp;quot; ... edf:definition=&amp;quot;cto.edf&amp;quot; /&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EDF reference==&lt;br /&gt;
&lt;br /&gt;
===Built-in elements===&lt;br /&gt;
These are the elements you can use for representing your custom elements, along with their properties.&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;blip&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|icon&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|blipID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|size&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;marker&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|markerType&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|size&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;object&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|objectID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;ped&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|skinID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotZ&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;pickup&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|pickupType&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|amount&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|respawn&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;vehicle&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehicleID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehiclecolors&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|upgrades&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehicleupgrades&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;radararea&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posX&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posY&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|sizeX&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|sizeY&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Built-in property names===&lt;br /&gt;
Properties with these names have a special meaning to the editor and can be modified by other means than the Properties window.&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Property types===&lt;br /&gt;
These are the types you can choose from for the properties (&amp;amp;lt;data&amp;amp;gt;) of your custom elements.&lt;br /&gt;
&lt;br /&gt;
====Primitives====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|boolean&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Simple boolean value.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|natural&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Natural number (whole and non-negative).&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Whole number.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Rational number.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|string&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Simple string of text.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color, with or without alpha.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|#RRGGBB or #RRGGBBAA&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Coordinates====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|camera&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Position and lookat coordinates for the camera.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posX,posY,posZ,lookatX,lookatY,lookatZ&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|3-component vector, typically used for positions and rotations.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|x,y,z&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Vehicles====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Number plate text for a vehicle.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehiclecolors&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|colors of a vehicle&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|colorID1,colorID2,colorID3,colorID4&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehicleupgrades&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Upgrades of a vehicle&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|upgradeID1,upgradeID2,...&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Model ID's====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|blipID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Picture ID for blips&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|objectID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Model ID for objects&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|pickupType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Armor, health or weapon&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;quot;armor&amp;quot;, &amp;quot;health&amp;quot; or numeric weapon ID&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|skinID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Skin ID for peds&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehicleID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Model ID for vehicles&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|weaponID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Weapon, e.g. M4&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Numeric weapon ID, e.g. 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Colshapes and markers====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|colshapeType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|collision circle, cube, rectangle, sphere or tube&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|One of: &amp;quot;colcircle&amp;quot;, &amp;quot;colcube&amp;quot;, &amp;quot;colrectangle&amp;quot;, &amp;quot;colsphere&amp;quot;, &amp;quot;coltube&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|markerType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Arrow, checkpoint, corona, cylinder or ring marker.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|One of: &amp;quot;arrow&amp;quot;, &amp;quot;checkpoint&amp;quot;, &amp;quot;corona&amp;quot;, &amp;quot;cylinder&amp;quot;, &amp;quot;ring&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Specials====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|element:type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Element of a certain type, for example: element:flag&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|The element's ID&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|selection:val1,val2,...&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Shows a dropdown box from which to pick one value.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|The selected value&lt;br /&gt;
|}&lt;br /&gt;
[[ru:Resource:Editor/EDF]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PL/Resource:Editor/EDF&amp;diff=48989</id>
		<title>PL/Resource:Editor/EDF</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PL/Resource:Editor/EDF&amp;diff=48989"/>
		<updated>2016-09-01T11:17:17Z</updated>

		<summary type="html">&lt;p&gt;Tararysz12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PL/Resource}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
EDF oznacza 'Edytor Definiowania Pliku' EDF są pliki XML z rozszerzeniem .edf opisujące elementy niestandardowe używane przez zasoby, typy elementów które nie mają znaczenia dla samego MTA. Przykładami są: &amp;amp; lt; &amp;amp; gt;, spawnpoint &amp;amp; lt; &amp;amp; gt;, flag &amp;amp; lt; checkpoint &amp;amp; gt; itd. One także są wykorzystywane do definiowania ustawień, które są używane przez gamemody, które są umieszczane pod  &amp;amp; lt; Settings &amp;amp; gt; tag  w obrębie zasobu 'meta.xml'&lt;br /&gt;
&lt;br /&gt;
==Wprowadzenie==&lt;br /&gt;
Niektóre zasoby używają niestandardowych elementów mapy. Przechwytywane flagi, gamemody na przykład będzie trzeba prawdopodobnie użyć  &amp;amp; lt; &amp;amp; gt flags; Elementy które zawierają pozycje flag i zespołów. Gdy mapa jest załadowana gamemode szuka &amp;amp; lt; &amp;amp; gt flags; elementy i instaluje flagi odpowiednio - na przykład poprzez utworzenie obiektu z flagą i kształt kolizji.&lt;br /&gt;
&lt;br /&gt;
The problem with these custom elements is that, unlike built-in MTA elements, the map editor has no idea of their meaning. How should a &amp;amp;lt;flag&amp;amp;gt; element be visually represented? What properties does it have? Without telling the editor this information, you could not use it to create these custom elements and would instead have to resort to manually editing the .map file with a text editor. Fortunately this isn't necessary: any resource can contain an editor definition file that describes the custom map elements used by that resource.&lt;br /&gt;
&lt;br /&gt;
==Using definition files in the editor==&lt;br /&gt;
As described in the [[Resource:Editor|main editor manual]], to be able to create the custom elements of a resource in your map you need to add it in the ''Definitions'' window. Click the ''Definitions'' button in the main menu and double click the resource in the left list. Then close the window and roll the mousewheel in the element panel until the resource comes up. At that point you can create and manipulate custom elements of that resource like any other element.&lt;br /&gt;
&lt;br /&gt;
==Writing EDF files==&lt;br /&gt;
EDF files are simply XML files with an .edf extension. We'll start with an example: the EDF of the Capture the Orb gamemode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;def name=&amp;quot;Capture the Orb&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;orb&amp;quot; friendlyname=&amp;quot;Orb spawnpoint&amp;quot; instructions=&amp;quot;Place your orb in a position that can be collected.&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;marker size=&amp;quot;0.5&amp;quot; type=&amp;quot;corona&amp;quot; color=&amp;quot;#ffff00ff&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;objective&amp;quot; friendlyname=&amp;quot;Objective point&amp;quot; instructions=&amp;quot;Place your objective point in a position that can be reached.&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;marker size=&amp;quot;3&amp;quot; type=&amp;quot;cylinder&amp;quot; color=&amp;quot;#9370dbaa&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
    &amp;lt;element name=&amp;quot;spawnpoint&amp;quot; friendlyname=&amp;quot;Spawnpoint&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;object editorOnly=&amp;quot;true&amp;quot; model=&amp;quot;3092&amp;quot; posZ=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;rotation&amp;quot; type=&amp;quot;coord3d&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;data name=&amp;quot;skin&amp;quot; type=&amp;quot;skinID&amp;quot; default=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/element&amp;gt;&lt;br /&gt;
&amp;lt;/def&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the syntax is fairly straightforward. The root element, &amp;amp;lt;def&amp;amp;gt;, contains a number of &amp;amp;lt;element&amp;amp;gt;s. Each of these &amp;amp;lt;element&amp;amp;gt;s describes a custom element and specifies its name, visual representation and available properties.&lt;br /&gt;
&lt;br /&gt;
===Visual representation===&lt;br /&gt;
&lt;br /&gt;
Any child node of an &amp;amp;lt;element&amp;amp;gt; that is not a &amp;amp;lt;data&amp;amp;gt; node is part of the visual representation. There can be one or more objects, markers, pickups etc. For each representation element you can optionally specify a position (posX, posY, posZ) and rotation (rotX, rotY, rotZ): these are ''relative'' to the position and rotation of the represented custom element. Using the above Capture the Orb example, if you were to create a spawnpoint at (30, 14, 3), the editor would display an object of model 3092 at (30, 14, 4) to represent it, because the object's posZ of 1 is added to the spawnpoint's z position of 3.&lt;br /&gt;
&lt;br /&gt;
===Properties===&lt;br /&gt;
&lt;br /&gt;
Properties of a custom element are described by &amp;amp;lt;data&amp;amp;gt; nodes. Some property names have a special meaning, like ''position'' and ''rotation'': these can be changed by moving and rotating the element in the editor. The other properties can be changed in the Properties window.&lt;br /&gt;
&lt;br /&gt;
===Property-dependent visual representation===&lt;br /&gt;
&lt;br /&gt;
It is possible to make the representation of a custom element depend on one or more of the element's properties. Take as example a &amp;amp;lt;checkpoint&amp;amp;gt; element of a race gamemode that contains a &amp;amp;lt;marker&amp;amp;gt; for representation: the checkpoint has several attributes like color and size that should be reflected in the marker. To accomplish this, specify something of the form ''!propertyname!'' in one or more of the representing element's attributes. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;def name=&amp;quot;Race&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;element name=&amp;quot;checkpoint&amp;quot; friendlyname=&amp;quot;Race checkpoint&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;position&amp;quot; type=&amp;quot;coord3d&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;0,0,0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;data name=&amp;quot;type&amp;quot; type=&amp;quot;selection:checkpoint,ring&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;checkpoint&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;size&amp;quot; type=&amp;quot;number&amp;quot; required=&amp;quot;true&amp;quot; default=&amp;quot;2.25&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;data name=&amp;quot;color&amp;quot; type=&amp;quot;color&amp;quot; required=&amp;quot;false&amp;quot; default=&amp;quot;#ff0000ff&amp;quot; /&amp;gt;&lt;br /&gt;
		...&lt;br /&gt;
		&lt;br /&gt;
		&amp;lt;marker type=&amp;quot;!type!&amp;quot; size=&amp;quot;!size!&amp;quot; color=&amp;quot;!color!&amp;quot; /&amp;gt;&lt;br /&gt;
	&amp;lt;/element&amp;gt;&lt;br /&gt;
&amp;lt;/def&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now whenever the &amp;quot;type&amp;quot;, &amp;quot;size&amp;quot; or &amp;quot;color&amp;quot; property of a checkpoint is changed, the new value will be copied to its marker, and the marker's visual appearance changes accordingly.&lt;br /&gt;
&lt;br /&gt;
===Integrating in a resource===&lt;br /&gt;
&lt;br /&gt;
Once you've written your EDF, save it as an .edf file in your resource's folder and add an &amp;quot;edf:definition&amp;quot; attribute to your meta.xml's &amp;amp;lt;info&amp;amp;gt; tag, like so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;meta&amp;gt;&lt;br /&gt;
    &amp;lt;info author=&amp;quot;erorr404&amp;quot; type=&amp;quot;gamemode&amp;quot; ... edf:definition=&amp;quot;cto.edf&amp;quot; /&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EDF reference==&lt;br /&gt;
&lt;br /&gt;
===Built-in elements===&lt;br /&gt;
These are the elements you can use for representing your custom elements, along with their properties.&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;blip&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|icon&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|blipID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|size&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;marker&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|markerType&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|size&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;object&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|objectID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;ped&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|skinID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotZ&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;pickup&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|pickupType&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|amount&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|respawn&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;vehicle&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|model&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehicleID&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehiclecolors&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|upgrades&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|vehicleupgrades&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|interior&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot; colspan=&amp;quot;2&amp;quot; | &amp;amp;lt;radararea&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Property&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posX&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posY&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|sizeX&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|sizeY&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|dimension&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Built-in property names===&lt;br /&gt;
Properties with these names have a special meaning to the editor and can be modified by other means than the Properties window.&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Type&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|position&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|rotation&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Property types===&lt;br /&gt;
These are the types you can choose from for the properties (&amp;amp;lt;data&amp;amp;gt;) of your custom elements.&lt;br /&gt;
&lt;br /&gt;
====Primitives====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|boolean&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Simple boolean value.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|natural&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Natural number (whole and non-negative).&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|integer&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Whole number.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|number&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Rational number.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|string&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Simple string of text.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|color&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|color, with or without alpha.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|#RRGGBB or #RRGGBBAA&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Coordinates====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|camera&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Position and lookat coordinates for the camera.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|posX,posY,posZ,lookatX,lookatY,lookatZ&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|coord3d&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|3-component vector, typically used for positions and rotations.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|x,y,z&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Vehicles====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|plate&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Number plate text for a vehicle.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehiclecolors&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|colors of a vehicle&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|colorID1,colorID2,colorID3,colorID4&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehicleupgrades&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Upgrades of a vehicle&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|upgradeID1,upgradeID2,...&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Model ID's====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|blipID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Picture ID for blips&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|objectID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Model ID for objects&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|pickupType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Armor, health or weapon&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;quot;armor&amp;quot;, &amp;quot;health&amp;quot; or numeric weapon ID&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|skinID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Skin ID for peds&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|vehicleID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Model ID for vehicles&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|weaponID&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Weapon, e.g. M4&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Numeric weapon ID, e.g. 31&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Colshapes and markers====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|colshapeType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|collision circle, cube, rectangle, sphere or tube&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|One of: &amp;quot;colcircle&amp;quot;, &amp;quot;colcube&amp;quot;, &amp;quot;colrectangle&amp;quot;, &amp;quot;colsphere&amp;quot;, &amp;quot;coltube&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|markerType&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Arrow, checkpoint, corona, cylinder or ring marker.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|One of: &amp;quot;arrow&amp;quot;, &amp;quot;checkpoint&amp;quot;, &amp;quot;corona&amp;quot;, &amp;quot;cylinder&amp;quot;, &amp;quot;ring&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Specials====&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Name&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Description&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|Value&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|element:type&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Element of a certain type, for example: element:flag&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|The element's ID&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: #EEE&amp;quot;|selection:val1,val2,...&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|Shows a dropdown box from which to pick one value.&lt;br /&gt;
| style=&amp;quot;background-color: #EEE&amp;quot;|The selected value&lt;br /&gt;
|}&lt;br /&gt;
[[ru:Resource:Editor/EDF]]&lt;/div&gt;</summary>
		<author><name>Tararysz12</name></author>
	</entry>
</feed>