https://wiki.multitheftauto.com/api.php?action=feedcontributions&user=GabWas&feedformat=atomMulti Theft Auto: Wiki - User contributions [en]2024-03-29T12:38:07ZUser contributionsMediaWiki 1.39.3https://wiki.multitheftauto.com/index.php?title=User_talk:JHXP&diff=50228User talk:JHXP2017-01-01T19:00:54Z<p>GabWas: Created page with "Thanks for banning those a$$holes. --~~~~"</p>
<hr />
<div>Thanks for banning those a$$holes. --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 18:58, 1 January 2017 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/playSound&diff=49611PL/playSound2016-10-22T19:40:35Z<p>GabWas: 3 mies. nikomu to nie przeszkadzało i przeszkadzać nie będzie. Nigdzie to nie jest zabraniane, więc jeżeli chcesz to możesz robić to samo.</p>
<hr />
<div>__NOTOC__ <br />
{{PL/Client function}}<br />
Funkcja ta tworzy [[element]] [[sound|dźwięku]] oraz odtwarza go dla lokalnego gracza, od razu po wywołaniu funkcji.<br />
Akutalnie wspierane formaty audio to MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M oraz PLS.<br />
{{PL/Note|Ze względu na wydajność, podczas korzystania z funkcji playSound do efektów (np. dźwięki strzelania), zalecana jest konwersja pliku audio z np. MP3 (stereo) do WAV (mono) z częstotliwością 22050 Hz lub niższą. Warto również dodać limit odtwarzania dźwięku np. raz na 50ms.}}<br />
==Składnia== <br />
<syntaxhighlight lang="lua">element playSound ( string soundPath, [ bool looped = false, bool throttled = true ] )</syntaxhighlight> <br />
{{OOP||[[Sound]]}}<br />
===Wymagane argumenty=== <br />
*'''soundPath:''' [[filepath|Ścieżka]] lub adres URL do pliku dźwiękowego, który chcesz odtworzyć.<br />
ⓘ Pliki odtwarzane ze ścieżki, muszą być wcześniej zapisane w pliku [[PL/meta.xml|meta.xml]] korzystając z tagu <file />.<br />
<br />
===Opcjonalne argumenty=== <br />
{{PL/OptionalArg}} <br />
*'''looped:''' [[Boolean]] decydujący o tym, czy dźwięk ma zostać zapętlony. Aby tak się stało, użyj ''true''. Domyślnie ''false''.<br />
ⓘ Zapętlanie nie jest możliwe w przypadku stream'ów (np. radio).<br />
{{New feature/item|3.0150|1.5||<br />
*'''throttled:''' [[Boolean]] decydujący o tym, czy dźwięk z adresu URL ma być odtwarzany z niską przepustowością łącza. Aby tak się stało, użyj ''true''. Domyślnie ''true''.<br />
ⓘ Odtwarzanie z niską przepustowością łącza dotyczy tylko plików odtwarzanych z adresów URL.<br />
}}<br />
<br />
==Wynik==<br />
Zwraca [[element]] [[sound|dźwięku]] jeżeli został on pomyślnie stworzony. W przeciwnym wypadku zwraca ''false''.<br />
<br />
==Przykłady==<br />
<section show="true" name="Przykład nr 1" class="client"><br />
Ten przykład odtwarza graczowi po wejściu na serwer radio RMF MAXXX przez 30 sekund.<br />
<syntaxhighlight lang="lua"><br />
function poWejsciuNaSerwer()<br />
local radio = playSound( "http://files.kusmierz.be/rmf/rmfmaxxx.pls" ) -- odtwarzamy stream radia z adresu URL...<br />
setSoundVolume( radio, 0.5 ) -- ...i ustawiamy mu głośność na 50%, żeby nikogo nie irytowało<br />
setTimer( function() destroyElement(radio) end, 30*1000, 1 ) -- tworzymy również timer, który po 30 sekundach wyłączy radio<br />
end<br />
addEventHandler ( "onClientPlayerJoin", getRootElement(), poWejsciuNaSerwer ) -- a na koniec podłączamy funkcję pod eventHandler<br />
</syntaxhighlight><br />
</section><br />
<br />
<br/><br />
''Autor: [[User:GabWas|GabWas]]; utworzono: 23:32, 20 Lip 2016 (CEST); ostatnio edytowano: 11:37, 21 Lip 2016 (CEST)''<br />
<br/>''Author: [[User:GabWas|GabWas]]; created: 21:32, 20 Jul 2016 (UTC); last edited: 09:37, 21 Jul 2016 (UTC)''<br />
<br />
==Zobacz również==<br />
{{Client_audio_functions}}<br />
[[en:playSound]]<br />
[[AR:playSound]]<br />
[[DE:playSound]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Talk:PL/Where_to_buy_GTASA&diff=49218Talk:PL/Where to buy GTASA2016-09-20T20:36:06Z<p>GabWas: </p>
<hr />
<div>Byłem nieco niekontaktujący gdy to tłumaczyłem i zapomniałem o tym tłumaczeniu xD Więcej nie tłumaczę po nieprzespanej nocy. --[[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 14:57, 25 August 2016 (UTC)<br />
<br/>Przed każdym tłumaczeniem skonsultuj się z lekarzem lub farmaceutą... xD --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 20:35, 20 September 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Talk:PL/Where_to_buy_GTASA&diff=49217Talk:PL/Where to buy GTASA2016-09-20T20:35:46Z<p>GabWas: </p>
<hr />
<div>Byłem nieco niekontaktujący gdy to tłumaczyłem i zapomniałem o tym tłumaczeniu xD Więcej nie tłumaczę po nieprzespanej nocy. --[[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 14:57, 25 August 2016 (UTC)<br />
Przed każdym tłumaczeniem skonsultuj się z lekarzem lub farmaceutą... xD --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 20:35, 20 September 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User:GabWas&diff=49216User:GabWas2016-09-20T20:34:27Z<p>GabWas: Nieładnie tak edytować czyjeś profile ;-;</p>
<hr />
<div>Stop copying my profile look xD<br/><br />
[[File:Polish_flag.gif]]<br />
<br />
==Moje tłumaczenia / My translations==<br />
<!-- *[[PL/]]<br/> --><br />
===Funkcje / Functions===<br />
*[[PL/createBlip]]<br/><br />
*[[PL/createPed]]<br/><br />
*[[PL/createPickup]]<br/><br />
*[[PL/getPlayerPing]]<br/><br />
*[[PL/getRandomPlayer]]<br/><br />
*[[PL/getServerName]]<br/><br />
*[[PL/givePlayerMoney]]<br/><br />
*[[PL/outputChatBox]]<br/><br />
*[[PL/playSound]]<br/><br />
*[[PL/playSound3D]]<br/><br />
===Zdarzenia / Events===<br />
*brak (jeszcze) / none (yet)<br />
===Pozostałe / Others===<br />
*brak (jeszcze) / none (yet)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Just_a_plus.png&diff=49215File:Just a plus.png2016-09-20T20:12:19Z<p>GabWas: god help us all</p>
<hr />
<div>god help us all</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Download_arrow.png&diff=49214File:Download arrow.png2016-09-20T20:11:04Z<p>GabWas: work plz</p>
<hr />
<div>work plz</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:This_is_so_stupid.png&diff=49213File:This is so stupid.png2016-09-20T20:09:34Z<p>GabWas: GabWas uploaded a new version of &quot;File:This is so stupid.png&quot;</p>
<hr />
<div>I swear to God if the dimensions are wrong again I don't know what I'm going to do, but something definitely.</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:This_is_so_stupid.png&diff=49212File:This is so stupid.png2016-09-20T19:39:37Z<p>GabWas: I swear to God if the dimensions are wrong again I don't know what I'm going to do, but something definitely.</p>
<hr />
<div>I swear to God if the dimensions are wrong again I don't know what I'm going to do, but something definitely.</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Plus-icon.png&diff=49211File:Plus-icon.png2016-09-20T19:34:33Z<p>GabWas: GabWas uploaded a new version of &quot;File:Plus-icon.png&quot;</p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Plus-icon.png&diff=49210File:Plus-icon.png2016-09-20T19:33:03Z<p>GabWas: GabWas uploaded a new version of &quot;File:Plus-icon.png&quot;</p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Plus-icon.png&diff=49209File:Plus-icon.png2016-09-20T19:27:03Z<p>GabWas: GabWas uploaded a new version of &quot;File:Plus-icon.png&quot;</p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Plus-icon.png&diff=49208File:Plus-icon.png2016-09-20T19:18:02Z<p>GabWas: </p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:Star.png&diff=49207File:Star.png2016-09-20T19:14:45Z<p>GabWas: </p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/Vehicle_IDs&diff=49195PL/Vehicle IDs2016-09-18T20:59:36Z<p>GabWas: </p>
<hr />
<div>''<tłumaczenie w trakcie tworzenia>'' --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 20:59, 18 September 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/Main_Page&diff=49191PL/Main Page2016-09-18T20:56:00Z<p>GabWas: Redirected page to Strona główna</p>
<hr />
<div>#REDIRECT [[Strona główna]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/copyAccountData&diff=49184PL/copyAccountData2016-09-18T19:42:06Z<p>GabWas: Zmiana szablonów na te spolszczone.</p>
<hr />
<div>__NOTOC__ <br />
{{PL/Server function}}<br />
Funkcja ta pozwala na skopiowanie wszystkich wartości konta z jednego [[account|konta]] na drugie.<br />
<br />
==Składnia== <br />
<syntaxhighlight lang="lua"><br />
bool copyAccountData ( account theAccount, account fromAccount )<br />
</syntaxhighlight><br />
{{PL/OOP||[[account]]:copyDataTo||}}<br />
<br />
===Wymagane parametry=== <br />
*'''theAccount:''' Konto na które chcesz skopiować wartość.<br />
*'''fromAccount:''' Konto z którego kopiujesz wartość.<br />
<br />
===Zwracana wartość===<br />
Funkcja ta zwraca ''prawdę'' jeżeli konta zostały podane prawidłowo, lub ''fałsz'' w przeciwnym wypadku.<br />
<br />
==Przykład==<br />
Po wpisaniu komendy /skopiuj kopiuje wartości z konta losowego gracza i przypisuje je na nasze konto<br />
<syntaxhighlight lang="lua"><br />
<br />
addCommandHandler("skopiuj", function(plr, cmd)<br />
local acc = getPlayerAccount(plr) -- pobieramy nasze konto<br />
local acc2 = getPlayerAccount(getRandomPlayer()) -- pobieramy konto losowego gracza<br />
copyAccountData(acc2, acc) -- kopiujemy z konta 'acc2' wszystkie wartości i przypisujemy je do konca 'acc'<br />
end)<br />
<br />
</syntaxhighlight><br />
<br />
==Zobacz również==<br />
{{Account_functions}}<br />
[[ru:copyAccountData]]<br />
[[ar:copyAccountData]]<br />
[[en:copyAccountData]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:Player_events&diff=49183Template:Player events2016-09-18T19:36:47Z<p>GabWas: </p>
<hr />
<div>*[[onPlayerBan]]<br />
*[[onPlayerChat]]<br />
*[[onPlayerPrivateMessage]]<br />
*[[onPlayerConnect]]<br />
*[[onPlayerChangeNick]]<br />
*[[onPlayerLogin]]<br />
*[[onPlayerLogout]]<br />
*[[onPlayerDamage]]<br />
*[[onPlayerJoin]]<br />
*[[onPlayerQuit]]<br />
*[[onPlayerSpawn]]<br />
*[[onPlayerWasted]]<br />
*[[onPlayerTarget]]<br />
*[[onPlayerVehicleEnter]]<br />
*[[onPlayerVehicleExit]]<br />
{{New items|3.0160|1.5.3-9921|<br />
*[[onPlayerWeaponFire]]<br />
}}<br />
*[[onPlayerWeaponSwitch]]<br />
*[[onPlayerMarkerHit]]<br />
*[[onPlayerMarkerLeave]]<br />
*[[onPlayerPickupHit]]<br />
*[[onPlayerPickupUse]]<br />
*[[onPlayerClick]]<br />
*[[onPlayerContact]]<br />
*[[onPlayerStealthKill]]<br />
*[[onPlayerMute]]<br />
*[[onPlayerUnmute]]<br />
*[[onPlayerCommand]]<br />
{{New items|3.0152|1.5.1-7633|<br />
*[[onPlayerACInfo]]<br />
}}<br />
*[[onPlayerModInfo]]<br />
*[[onPlayerVoiceStart]]<br />
*[[onPlayerVoiceStop]]<br />
*[[onPlayerScreenShot]]<br />
{{New items|3.0142|1.4.1-7295|<br />
*[[onPlayerNetworkStatus]]<br />
}}<br />
<noinclude>[[Category:Events templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&diff=49182Template:CEF functions2016-09-18T19:36:31Z<p>GabWas: </p>
<hr />
<div>{{New items|3.0150|1.5|<br />
*[[createBrowser]]<br />
*[[executeBrowserJavascript]]<br />
*[[focusBrowser]]<br />
{{New items|3.0160|1.5.3-9912|<br />
*[[resizeBrowser]]<br />
}}<br />
*[[isBrowserDomainBlocked]]<br />
*[[isBrowserFocused]]<br />
*[[isBrowserLoading]]<br />
*[[getBrowserProperty]]<br />
*[[getBrowserSettings]]<br />
*[[getBrowserTitle]]<br />
*[[getBrowserURL]]<br />
*[[injectBrowserMouseDown]]<br />
*[[injectBrowserMouseMove]]<br />
*[[injectBrowserMouseUp]]<br />
*[[injectBrowserMouseWheel]]<br />
{{New items|3.0153|1.5.3|<br />
*[[isBrowserSupported]]<br />
|}}<br />
*[[loadBrowserURL]]<br />
*[[setBrowserProperty]]<br />
*[[setBrowserRenderingPaused]]<br />
*[[setBrowserVolume]]<br />
*[[requestBrowserDomains]]<br />
|}}<br />
{{New items|3.0151|1.5.1|<br />
*[[setBrowserAjaxHandler]]<br />
*[[getBrowserSource]]<br />
*[[toggleBrowserDevTools]]<br />
|}}<br />
===GUI Functions=== <!-- Please see Template:GUI_functions when updating this section! --><br />
*[[guiCreateBrowser]]<br />
*[[guiGetBrowser]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:File_functions&diff=49181Template:File functions2016-09-18T19:36:07Z<p>GabWas: </p>
<hr />
<div>*[[fileClose]]<br />
*[[fileCopy]]<br />
*[[fileCreate]]<br />
*[[fileDelete]]<br />
*[[fileExists]]<br />
*[[fileFlush]]<br />
{{New items|3.0160|1.6-7446|<br />
*[[fileGetPath]]<br />
|}}<br />
*[[fileGetPos]]<br />
*[[fileGetSize]]<br />
*[[fileIsEOF]]<br />
*[[fileOpen]]<br />
*[[fileRead]]<br />
*[[fileRename]]<br />
*[[fileSetPos]]<br />
*[[fileWrite]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:File_functions&diff=49180Template:File functions2016-09-18T19:33:55Z<p>GabWas: Fixed fileGetPath information, from which version it works.</p>
<hr />
<div>*[[fileClose]]<br />
*[[fileCopy]]<br />
*[[fileCreate]]<br />
*[[fileDelete]]<br />
*[[fileExists]]<br />
*[[fileFlush]]<br />
{{New feature/item|3.0160|1.6|7446|<br />
*[[fileGetPath]]<br />
|}}<br />
*[[fileGetPos]]<br />
*[[fileGetSize]]<br />
*[[fileIsEOF]]<br />
*[[fileOpen]]<br />
*[[fileRead]]<br />
*[[fileRename]]<br />
*[[fileSetPos]]<br />
*[[fileWrite]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&diff=49179Template:CEF functions2016-09-18T19:31:15Z<p>GabWas: </p>
<hr />
<div>{{New items|3.0150|1.5|<br />
*[[createBrowser]]<br />
*[[executeBrowserJavascript]]<br />
*[[focusBrowser]]<br />
{{New feature/item|3.0160|1.5.3|9912|<br />
*[[resizeBrowser]]<br />
}}<br />
*[[isBrowserDomainBlocked]]<br />
*[[isBrowserFocused]]<br />
*[[isBrowserLoading]]<br />
*[[getBrowserProperty]]<br />
*[[getBrowserSettings]]<br />
*[[getBrowserTitle]]<br />
*[[getBrowserURL]]<br />
*[[injectBrowserMouseDown]]<br />
*[[injectBrowserMouseMove]]<br />
*[[injectBrowserMouseUp]]<br />
*[[injectBrowserMouseWheel]]<br />
{{New items|3.0153|1.5.3|<br />
*[[isBrowserSupported]]<br />
|}}<br />
*[[loadBrowserURL]]<br />
*[[setBrowserProperty]]<br />
*[[setBrowserRenderingPaused]]<br />
*[[setBrowserVolume]]<br />
*[[requestBrowserDomains]]<br />
|}}<br />
{{New items|3.0151|1.5.1|<br />
*[[setBrowserAjaxHandler]]<br />
*[[getBrowserSource]]<br />
*[[toggleBrowserDevTools]]<br />
|}}<br />
===GUI Functions=== <!-- Please see Template:GUI_functions when updating this section! --><br />
*[[guiCreateBrowser]]<br />
*[[guiGetBrowser]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&diff=49178Template:CEF functions2016-09-18T19:30:30Z<p>GabWas: Added resizeBrowser function.</p>
<hr />
<div>{{New items|3.0150|1.5|<br />
*[[createBrowser]]<br />
*[[executeBrowserJavascript]]<br />
*[[focusBrowser]]<br />
*[[isBrowserDomainBlocked]]<br />
*[[isBrowserFocused]]<br />
*[[isBrowserLoading]]<br />
*[[getBrowserProperty]]<br />
*[[getBrowserSettings]]<br />
*[[getBrowserTitle]]<br />
*[[getBrowserURL]]<br />
*[[injectBrowserMouseDown]]<br />
*[[injectBrowserMouseMove]]<br />
*[[injectBrowserMouseUp]]<br />
*[[injectBrowserMouseWheel]]<br />
{{New items|3.0153|1.5.3|<br />
*[[isBrowserSupported]]<br />
|}}<br />
*[[loadBrowserURL]]<br />
*[[setBrowserProperty]]<br />
*[[setBrowserRenderingPaused]]<br />
*[[setBrowserVolume]]<br />
*[[requestBrowserDomains]]<br />
{{New feature/item|3.0160|1.5.3|9912|<br />
*[[resizeBrowser]]<br />
}}<br />
|}}<br />
{{New items|3.0151|1.5.1|<br />
*[[setBrowserAjaxHandler]]<br />
*[[getBrowserSource]]<br />
*[[toggleBrowserDevTools]]<br />
|}}<br />
===GUI Functions=== <!-- Please see Template:GUI_functions when updating this section! --><br />
*[[guiCreateBrowser]]<br />
*[[guiGetBrowser]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:Player_events&diff=49177Template:Player events2016-09-18T19:27:57Z<p>GabWas: Added onPlayerWeaponFire event.</p>
<hr />
<div>*[[onPlayerBan]]<br />
*[[onPlayerChat]]<br />
*[[onPlayerPrivateMessage]]<br />
*[[onPlayerConnect]]<br />
*[[onPlayerChangeNick]]<br />
*[[onPlayerLogin]]<br />
*[[onPlayerLogout]]<br />
*[[onPlayerDamage]]<br />
*[[onPlayerJoin]]<br />
*[[onPlayerQuit]]<br />
*[[onPlayerSpawn]]<br />
*[[onPlayerWasted]]<br />
*[[onPlayerTarget]]<br />
*[[onPlayerVehicleEnter]]<br />
*[[onPlayerVehicleExit]]<br />
{{New feature/item|3.0160|1.5.3|9921|<br />
*[[onPlayerWeaponFire]]<br />
}}<br />
*[[onPlayerWeaponSwitch]]<br />
*[[onPlayerMarkerHit]]<br />
*[[onPlayerMarkerLeave]]<br />
*[[onPlayerPickupHit]]<br />
*[[onPlayerPickupUse]]<br />
*[[onPlayerClick]]<br />
*[[onPlayerContact]]<br />
*[[onPlayerStealthKill]]<br />
*[[onPlayerMute]]<br />
*[[onPlayerUnmute]]<br />
*[[onPlayerCommand]]<br />
{{New items|3.0152|1.5.1-7633|<br />
*[[onPlayerACInfo]]<br />
}}<br />
*[[onPlayerModInfo]]<br />
*[[onPlayerVoiceStart]]<br />
*[[onPlayerVoiceStop]]<br />
*[[onPlayerScreenShot]]<br />
{{New items|3.0142|1.4.1-7295|<br />
*[[onPlayerNetworkStatus]]<br />
}}<br />
<noinclude>[[Category:Events templates]]</noinclude></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&diff=49172Template:Useful Functions2016-09-18T15:36:44Z<p>GabWas: </p>
<hr />
<div>=== ACL functions ===<br />
*[[getPlayerAcls]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of all ACL groups on a player.</span><br />
*[[isPlayerInACL]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a player element is in an ACL group.</span><br />
*[[renameAclGroup]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function gives an existing ACL group a new name.</span><br />
<br />
=== Account functions ===<br />
*[[setAccountName]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function is used to change an existing account's name.</span><br />
<br />
=== Camera functions ===<br />
*[[smoothMoveCamera]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to create a cinematic camera flight.<br />
<br />
=== Cursor functions ===<br />
*[[getCursorMoveOn]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks in which way the cursor is currently moving.</span><br />
<br />
=== Drawing functions ===<br />
*[[dxDrawAnimWindow]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws an animated 2D window on the screen.</span><br />
*[[dxDrawCircle]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws a number of 2D lines in order to achieve a circle shape on the screen.</span><br />
*[[dxDrawTriangle]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This is a function that will create a triangle with dx lines.</span><br />
*[[dxDrawLinedRectangle]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This is a function that will create a rectangle outline with dx lines.</span><br />
*[[dxDrawGifImage]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function simulates the effect of a GIF image by using image sprites in 2D.</span><br />
*[[dxDrawImage3D]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws a 3D image in GTA world.</span><br />
*[[dxDrawImageOnElement]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws an image on any element.</span><br />
*[[dxDrawLoading]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws a loading bar on the screen.</span><br />
*[[dxDrawRectangle3D]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws a 3D rectangle in GTA world.</span><br />
*[[dxDrawTextOnElement]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function draws a text on any element.</span><br />
*[[dxGetFontSizeFromHeight]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function calculates the font size from given height.</span><br />
*[[dxGetRealFontHeight]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function calculates the height of a font.</span><br />
<br />
=== Effects functions ===<br />
*[[attachEffect]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you attach an effect to an element.</span><br />
<br />
=== Elements functions === <br />
*[[getElementSpeed]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the specified element's speed in m/s, km/h or mph.</span><br />
*[[getElementsInDimension]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of elements that are in the specified dimension.</span><br />
*[[getElementsWithinMarker]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of elements that are within a marker's collision shape.</span><br />
*[[isElementInPhotograph]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if an element is in the player's camera picture area.</span><br />
*[[isElementInRange]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to check if an element's range to a main point is within the maximum range.</span><br />
*[[isElementMoving]]<span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if an element is moving.</span><br />
*[[isElementWithinAColShape]]<span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if an element is within a collision shape element.</span><br />
*[[multi_check]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks one element to many, handy and clean.</span><br />
*[[setElementSpeed]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to set the speed of an element in kph or mph units.</span><br />
<br />
=== Events ===<br />
*[[onVehicleWeaponFire]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This code implements an event that is triggered when a player in a vehicle fires a vehicle's weapon.</span><br />
<br />
=== Input functions ===<br />
*[[bindControlKeys]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to bind each key bound to a control individually. Doing this bypasses a little MTA restriction.</span><br />
*[[getBoundControls]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of control names that are bound to the specified key.</span><br />
*[[unbindControlKeys]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to unbind each key bound to a control individually. Use this function with [[bindControlKeys]].</span><br />
<br />
=== Data functions === <br />
*[[capitalize]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function capitalizes a given string.</span><br />
*[[convertNumber]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts and formats large numbers.</span><br />
*[[convertServerTickToTimeStamp]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts server ticks to a unix timestamp.</span><br />
*[[convertTextToSpeech]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts the provided text to a speech in the provided language which players can hear.</span><br />
*[[findRotation]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function takes two points and returns the direction from point A to point B.</span><br />
*[[FormatDate]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function formats a date on the basis of a format string and returns it.</span><br />
*[[generateString]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function generates a random string with any characters.</span><br />
*[[generateRandomASCIIString]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a random string which uses ASCII characters. </span><br />
*[[getAge]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function calculates the age of a given birthday.</span><br />
*[[getDistanceBetweenPointAndSegment2D]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.</span><br />
*[[getEasterDate]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns easter date monthday and month for a given year.</span><br />
*[[getKeyFromValueInTable]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the key of the specified value in a table.</span><br />
*[[getOffsetFromXYZ]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.</span><br />
*[[getPointFromDistanceRotation]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function finds a point based on a starting point, direction and distance.</span><br />
*[[getRGColorFromPercentage]] <span style="color:gray; font-family:'Georgia', sans-serif; font-size:smaller;">»This function returns two integers representing red and green colors according to the specified percentage.</span><br />
*[[getScreenRotationFromWorldPosition]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a screen relative rotation to a world position.</span><br />
*[[getTimestamp]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the UNIX timestamp of a specified date and time.</span><br />
*[[isLeapYear]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a boolean representing if a given year is a leap year.</span><br />
*[[isValidMail]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether a provided e-mail string is valid.</span><br />
*[[removeHex]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function is used to remove hex color codes from strings.<br />
*[[RGBToHex]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a string representing the color in hexadecimal.</span><br />
*[[toHex]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts a decimal number to a hexadecimal number, as a fix to be used client-side.</span><br />
*[[secondsToTimeDesc]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts a plain seconds-integer into a user-friendly time description.</span><br />
*[[string.count]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function counts the amount of occurences of a string in a string.</span><br />
*[[string.explode]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function splits a string at a given separator pattern and returns a table with the pieces.</span><br />
*[[switch]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows the value of a variable or expression to control the flow of program execution via a multiway branch.</span><br />
*[[var dump]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function outputs information about one or more variables using outputConsole.</span><br />
*[[wavelengthToRGBA]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts a physical wavelength of light to a RGBA color.</span><br />
<br />
=== GUI functions === <br />
*[[centerWindow]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function centers a CEGUI window element responsively in any resolution.</span><br />
=====Comboboxes=====<br />
*[[guiComboBoxAdjustHeight]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function adjusts a CEGUI combobox element to have the correct height.</span><br />
=====Gridlists=====<br />
*[[getGridListRowIndexFromText]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the GridList row index from the specified text.</span><br />
*[[guiGridListGetSelectedText]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a string containing the inner text of a selected gridlist item.</span><br />
*[[guiGridListAddPlayers]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function add all online players to a grid list.</span><br />
*[[isTextInGridList]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if some text exist or not in the GridList.</span><br />
<br />
=== Math functions ===<br />
*[[mathNumber]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function is a workaround for the client-side floating-point precision of 24-bits.</span><br />
*[[math.hypot]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the Hypotenuse of the triangle given by sides x and y.</span><br />
*[[math.percent]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a percentage from two number values.</span><br />
*[[math.round]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» Rounds a number whereas the number of decimals to keep and the method may be set.</span><br />
<br />
=== Ped functions ===<br />
*[[getAlivePlayers (Client)|getAlivePlayers]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of the alive players client-side.</span><br />
*[[getAlivePlayersInTeam]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of the alive players in a team.</span><br />
*[[getOnlineAdmins]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of all logged-in administrators.</span><br />
*[[getPedMaxHealth]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a pedestrians's maximum health by converting it from their maximum health stat.</span><br />
*[[getPedMaxOxygenLevel]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a ped's maximum oxygen level by converting it from their maximum underwater stamina stat.</span><br />
*[[getPlayerFromNamePart]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a player from partial name.</span><br />
*[[getPlayerFromSerial]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a player from their serial.</span><br />
*[[getPlayersInGroup]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns all Players In Group .</span><br />
*[[getGuestPlayers]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function gets a players not login or players Guest .</span><br />
*[[getPlayersByData]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of players that have the specified data name.</span><br />
*[[getPlayersInPhotograph]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of all players in photograph.</span><br />
*[[isPedAiming]]<span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a pedestrian is aiming their weapon.</span><br />
*[[isPedDrivingVehicle]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a specified pedestrian is driving a vehicle.</span><br />
*[[isPlayerInTeam]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a player is in a specified team.</span><br />
*[[isPedAimingNearPed]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This is similar to isPedAiming but uses a colshape to be more precise.</span><br />
*[[getPedEyesPosition]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to get peds eyes position.</span><br />
<br />
=== Resource functions ===<br />
*[[getResourceSettings]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of the resource settings.</span><br />
*[[getResourceScripts]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of the resource scripts.</span><br />
*[[refreshResource]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function refreshes your resource if you changed any of the files<br />
<br />
=== Sound functions ===<br />
*[[isSoundFinished]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a sound element has finished.</span><br />
<br />
=== Table functions ===<br />
*[[rangeToTable]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function converts a string range to a table containing number values.</span><br />
*[[setTableProtected]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function protects a table and makes it read-only.</span><br />
*[[table.copy]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function copies a whole table and all the tables in that table.</span><br />
*[[table.compare]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether two given tables are equal.</span><br />
*[[table.empty]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether a table is empty.</span><br />
*[[table.map]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.</span><br />
*[[table.merge]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function merges two or more tables together.</span><br />
*[[table.random]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function retrieves a random value from a table.</span><br />
*[[table.size]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the absolute size of a table.</span><br />
*[[table.removeValue]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function removes a specified value from a table.</span><br />
<br />
=== Team functions ===<br />
*[[getTeamFromColor]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a team element by the specified color.</span><br />
*[[getTeamWithFewestPlayers]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a team element with least players of all the specified teams.</span><br />
<br />
=== Vehicle funcions === <br />
*[[getRandomVehicle]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function gets a random vehicle.</span><br />
*[[getValidVehicleModels]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of all valid vehicle models.</span><br />
*[[getVehicleRespawnPosition]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to get the respawn position of a vehicle.</span><br />
*[[getVehiclesCountByType]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the amount of vehicles by the given type as an integer value.</span><br />
*[[isVehicleEmpty]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether a vehicle is empty.</span><br />
*[[isVehicleOccupied]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if a specified vehicle is occupied.</span><br />
*[[isVehicleOnRoof]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether vehicle is on roof.</span><br />
*[[setVehicleGravityPoint]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.</span><br />
<br />
=== Weapon functions === <br />
*[[getJetpackWeaponsEnabled]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns a table of enabled weapons usable on a jetpack.</span><br />
<br />
=== XML functions ===<br />
*[[getXMLNodes]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns all children of a XML node.</span><br />
<br />
=== Utility ===<br />
*[[Check]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks if its arguments are of the right type and calls the error-function if one is not.</span><br />
*[[coroutine.resume]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function applies a fix for hidden coroutine error messages.</span><br />
*[[callClientFunction]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to call any client-side function from the server's side.</span><br />
*[[callServerFunction]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to call any server-side function from the client's side.</span><br />
*[[getBanFromName]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This functions returns the ban of the given playername.</span><br />
*[[getCurrentFPS]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns the frames per second at which GTA: SA is running.</span><br />
*[[IfElse]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns one of two values based on a boolean expression.</span><br />
*[[isCursorOnElement]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function checks whether the cursor is in a particular area.</span><br />
*[[isMouseInPosition]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function allows you to check whether the mouse cursor/pointer is within a rectangular position.</span><br />
*[[iterElements]] <span style="color:gray; font-family:'Georgia',sans-serif; font-size:smaller;">» This function returns ''a time-saving'' iterator for your for-loops.</span><br />
<br />
[[Category:Useful Functions]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User:GabWas&diff=49003User:GabWas2016-09-03T16:43:48Z<p>GabWas: </p>
<hr />
<div>Stop copying my profile look xD<br/><br />
[[File:Polish_flag.gif]]<br />
<br />
==Moje tłumaczenia / My translations==<br />
<!-- *[[PL/]]<br/> --><br />
===Funkcje / Functions===<br />
*[[PL/createBlip]]<br/><br />
*[[PL/createPed]]<br/><br />
*[[PL/getPlayerPing]]<br/><br />
*[[PL/getRandomPlayer]]<br/><br />
*[[PL/getServerName]]<br/><br />
*[[PL/givePlayerMoney]]<br/><br />
*[[PL/outputChatBox]]<br/><br />
*[[PL/playSound]]<br/><br />
*[[PL/playSound3D]]<br/><br />
===Zdarzenia / Events===<br />
*brak (jeszcze) / none (yet)<br />
===Pozostałe / Others===<br />
*brak (jeszcze) / none (yet)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User:GabWas&diff=49002User:GabWas2016-09-03T16:43:06Z<p>GabWas: </p>
<hr />
<div>Stop copying my profile look xD<br />
[[File:Polish_flag.gif]]<br />
<br />
==Moje tłumaczenia / My translations==<br />
<!-- *[[PL/]]<br/> --><br />
===Funkcje / Functions===<br />
*[[PL/createBlip]]<br/><br />
*[[PL/createPed]]<br/><br />
*[[PL/getPlayerPing]]<br/><br />
*[[PL/getRandomPlayer]]<br/><br />
*[[PL/getServerName]]<br/><br />
*[[PL/givePlayerMoney]]<br/><br />
*[[PL/outputChatBox]]<br/><br />
*[[PL/playSound]]<br/><br />
*[[PL/playSound3D]]<br/><br />
===Zdarzenia / Events===<br />
*brak (jeszcze) / none (yet)<br />
===Pozostałe / Others===<br />
*brak (jeszcze) / none (yet)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48894User talk:GabWas2016-08-21T17:30:17Z<p>GabWas: Blanked the page</p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:SPLM&diff=48893User talk:SPLM2016-08-21T17:29:35Z<p>GabWas: </p>
<hr />
<div>I was just kidding, I have no problem with that. It's nice that somebody like it, don't be sorry :P --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:29, 21 August 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:SPLM&diff=48875User talk:SPLM2016-08-21T12:50:40Z<p>GabWas: Created page with "Oh you coping machine v: --~~~~"</p>
<hr />
<div>Oh you coping machine v: --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 12:50, 21 August 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Strona_g%C5%82%C3%B3wna&diff=48851Strona główna2016-08-15T10:38:25Z<p>GabWas: </p>
<hr />
<div>{| width="100%" cellspacing="0" cellpadding="0"<br />
| colspan="2" |<br />
<div style="/*border: 1px solid #D8D8D8;*/ padding-left: 15px; padding-right: 15px; height: 100%;"><br />
[[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.<br />
<br />
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.<br />
<br />
Jeśli masz jakieś pytania bądź problemy związane z pisaniem skryptów, zapytaj nas na [[PL/IRC Channel|kanale IRC]].<br />
<br/><br/>[ Stop playing with yourself ]<br />
</div><br />
|}<br />
{| width="100%" cellspacing="0" cellpadding="0"<br />
| colspan="2" |<br />
|-<br />
|width="50%" style="vertical-align:top;" |<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background: #FFFCF2;"><br />
<div style="float:right; width: 32px;">[[File:Input-gaming.png|link=]]</div><br />
<h3>Graj</h3><br />
<div style="background: #FFEEAA; border: 1px solid #FFCD19;"><br />
[[File:Go-down.png|link=http://mtasa.com/]] ''' [http://mtasa.com/ Pobierz Multi Theft Auto: San Andreas {{Current Version|full}}]'''</div><br />
* [[PL/Where to buy GTASA|Gdzie kupić GTASA]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[PL/Polish_MTA_version|Polska wersja MTA:SA]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[PL/Client Manual|Obsługa klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
<!-- * [[PL/Changes_in_{{padleft:|3|{{Current Version|full}}}}| Zmiany w {{padleft:|3|{{Current Version|full}}}}]] --><br />
* [[PL/Changes_in_{{padleft:|5|{{Current Version|full}}}}| Zmiany w {{padleft:|5|{{Current Version|full}}}}]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[PL/Known_Issues_-_FAQ|Znane problemy]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[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]]<br />
* [[PL/Server Manual|Obsługa serwera]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[Map manager|Menadżer map]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
<br />
<h3>Edytor map</h3><br />
*[[PL/Resource:Editor|Instrukcja]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[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]]<br />
*[[Resource:Editor/Plugins|Pluginy]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
*[[PL/Resource:Editor#FAQ|Najczęściej zadawane pytania]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
</div><br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:Package-x-generic.png|link=]]</div><br />
<h3>Bazy danych</h3><br />
Ta sekcja opisuje wszystkie możliwości Lua umożliwiane przez MTA lub zasoby.<br />
* [[PL/Category:Resource|Katalog zasobów]] - Musisz je poznać, aby tworzyć właściwe skrypty<br />
* [[PL/Client side scripts|Skrypty po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[Modules|Moduły]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
</div><br />
<br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:Applications-development.png|link=]]</div><br />
<h3>Rozwijanie Multi Theft Auto</h3><br />
[[File:Go-down.png|link=http://nightly.mtasa.com/]] [http://nightly.mtasa.com/ Nightly builds]<br />
* [[Compiling_MTASA|Kompilacja MTASA na Windows]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[Building_MTASA_Server_on_GNU_Linux|Kompilacja MTASA na GNU/Linux]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[Coding guidelines|Wytyczne dot. pisania kodu]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [https://github.com/multitheftauto/mtasa-blue Repozytorium Github]<br />
* [[Roadmap]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [http://bugs.mtasa.com/ Bugtracker]<br />
* [[Branches|Branże]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
</div><br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:Applications-office.png|link=]]</div><br />
<h3>Polskie Wiki - jak możesz pomóc?</h3><br />
* Pomóż tłumaczyć hasła, przy których jest angielska flaga<br />
* Twórz hasła, które istnieją w angielskiej wiki, a których u nas brakuje<br />
** Staraj się, aby nowe artykuły miały takie same nazwy (angielskie), a jedynie poprzedzane były przedrostkiem PL/ - przykład: [[PL/Character_Skins]]<br />
* Zwołaj znajomych, informuj na forach, niech inni dowiedzą się o takiej możliwości!<br />
* Jeśli nie masz pomysłu na edycję, wykonaj coś z [[PL/Todo|tej listy]]. Możesz ją także rozbudować.<br />
</div><br />
<br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:Internet-group-chat.png|link=]]</div><br />
<h3>Społeczność</h3><br />
* [http://forum.multitheftauto.com/ Forum]<br />
* IRC: [irc://irc.multitheftauto.com/mta irc.multitheftauto.com #mta]<br />
* [http://community.mtasa.com/ MTA Community] - dodaj lub pobierz skrypty<br />
* [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]<br />
</div><br />
<br />
| width="50%" style="vertical-align:top;" |<br />
<br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:Accessories-text-editor.png|link=]]</div><br />
<h3>Skryptowanie</h3><br />
* [[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]]<br />
* [[Introduction to Scripting the GUI|Wstęp do pisania skryptów GUI]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[Debugging|Poradnik debugowania]] [[Image:usen.gif|Artykuł w języku angielskim]] - Jak znaleźć błędy w swoich skryptach<br />
* [[Resources|Wstęp do zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
** [[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<br />
** [[:Category:Resource|Katalog zasobów]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
** [[PL/Meta.xml|Meta.xml]] [[Image:Plflag.png|Artykuł w języku polskim]] - każdy zasób jest definiowany przez plik meta<br />
** [[ACL]] [[Image:usen.gif|Artykuł w języku angielskim]] - Access Control List, który jest niezbędny, aby skrypty działały<br />
* [[Writing_Gamemodes|Pisanie gamemodów]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[Useful_Functions|Przydatne funkcje]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
Linki na fora<br />
* [http://forum.mtasa.com/viewforum.php?f=91 Forum na temat skryptowania]<br />
* [http://forum.mtasa.com/viewforum.php?f=148 Forum z poradnikami do skryptowania]<br />
* [http://forum.mtasa.com/viewtopic.php?f=13&t=29363 Kopie Wiki]<br />
<div style="float:right; width: 32px;">[[File:start-here.png|link=]]</div><br />
<h3>Pomoc dotycząca LUA</h3><br />
Strony zaprojektowane, by pomóc Ci zrozumieć język LUA.<br />
*[http://www.lua.org/pil/index.html "Programming in Lua" Manual]<br />
**[http://www.lua.org/manual/5.1/#index Internal Lua functions reference]<br />
*[http://lua-users.org/wiki/TutorialDirectory Lua Wiki]<br />
*[http://nixstaller.sourceforge.net/manual/0.5.1/nixstaller_10.html A general guide to Lua from Nixstaller]<br />
</div><br />
<br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background:#F2F2FF;"><br />
<div style="float:right; width: 32px;">[[File:Preferences-system.png|link=]]</div><br />
<h3>Odwołania</h3><br />
* [[PL/Funkcje po stronie klienta|Funkcje po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[PL/Client Scripting Events|Zdarzenia po stronie klienta]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
* [[Server Scripting Functions|Funkcje po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
* [[Server Scripting Events|Zdarzenia po stronie serwera]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
<!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --><br />
* [[MTA Classes|Klasy MTA]] [[Image:usen.gif|Artykuł w języku angielskim]] - Szczegółowe opisy wszystkich niestandardowych typów MTA<br />
** [[Element|Elementy MTA]] [[Image:usen.gif|Artykuł w języku angielskim]] / [[Element tree|Drzewo elementów]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
</div><br />
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;"><br />
<div style="float:right; width: 32px;">[[File:System-file-manager.png|link=]]</div><br />
<h3>[[PL/Id|Listy ID]]</h3><br />
*[[PL/Animations|Animacje]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Character Skins|Skiny postaci]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/CJ_Clothes|Ubrania]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Garage|Garaże]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Interior IDs|Interiory]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Material IDs|Materiały]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Projectiles|Pociski]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Radar Blips|Znaczniki]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Sounds|Dźwięki]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Vehicle IDs|Pojazdy]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Vehicle Colors|Kolory pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Vehicle Upgrades|Modyfikacje pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[Vehicle variants|Warianty pojazdów]] [[Image:usen.gif|Artykuł w języku angielskim]]<br />
*[[PL/Vehicle component manipulation|Manipulowanie komponentami pojazdów]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Weapons|Bronie]] [[Image:Plflag.png|Artykuł w języku polskim]]<br />
*[[PL/Weather|Pogoda]] [[Image:Plflag.png|Artykuł w języku polskim]]/[[Image:usen.gif|Artykuł w języku angielskim]]<br />
</div><br />
<div style="padding:4px 8px 8px 8px; margin:10px;"><br />
[[File:Osi symbol.png|75px|link=http://opensource.org/|left]]<br />
'''Multi Theft Auto''' jest '''Otwartym Oprogramowaniem'''. <br />
<br/>To znaczy, że każdy może pomóc w byciu Multi Theft Auto lepszym!<br />
</div><br />
|-<br />
| colspan="2" |<br />
|}<br />
{| width="100%" cellspacing="0" cellpadding="0"<br />
| colspan="2" |<br />
<div style="padding-left: 15px; padding-right: 15px;" class="plainlinks"><br />
[[File:MTALogo_8ball.png|left|85px|link=Archive]]<br />
<ul style="list-style: none; width: 200px; float: left;"><br />
<li>'''O [[PL/Multi Theft Auto|Multi Theft Auto]]'''</li><br />
<li>[[PL/Archive|Archiwum]]</li><br />
<li>[[Press Coverage|MTA w mediach]]</li><br />
<li>[http://code.google.com/p/mtasa-blue/people/list Developerzy]</li><br />
</ul><br />
<ul style="list-style: none; width: 200px; float: left;"><br />
<li>'''Multi Theft Auto 0.5'''</li><br />
<li>[[PL/Archive#Multi_Theft_Auto_0.5|Pobierz]]</li><br />
<li>[[MTA 0.5r2 Known Issues|Zauważone problemy]]</li><br />
</ul><br />
<ul style="list-style: none; width: 200px; float: left;"><br />
<li>'''Statystyki Wiki'''</li><br />
<li>{{NUMBEROFARTICLES}} artykuły</li><br />
<li>{{NUMBEROFPAGES}} strony</li><br />
<li>{{NUMBEROFFILES}} pliki</li><br />
</ul><br />
<ul style="list-style: none; width: 240px; float: left;"><br />
<li>{{NUMBEROFEDITS}} edycji</li><br />
<li>{{NUMBEROFADMINS}} administratorów</li><br />
<li>{{NUMBEROFUSERS}} zarejestrowanych użytkowników</li><br />
<li>{{NUMBEROFACTIVEUSERS}} aktywnych użytkowników</li><br />
</ul><br />
</div><br />
|}<br />
<br />
__NOTOC__<br />
__NOEDITSECTION__<br />
{{Languages list|pl}}</div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/Where_to_buy_GTASA&diff=48849PL/Where to buy GTASA2016-08-14T14:54:21Z<p>GabWas: Tłumaczenie brzmi jak napisane po paru kieliszkach (jak można wersję gry HOOLIGAN przetłumaczyć na "chuligańską"? xD). Przebudowuję ponownie (zmieniając przy tym platformy na te popularne w PL) + dodaję od siebie ocenę do każdej platformy.</p>
<hr />
<div>Ta strona przedstawia listę stron internetowych, przez które możesz kupić grę Grand Theft Auto: San Andreas, potrzebną do korzystania z MTA.<br />
Wersja gry na platformie Steam oraz wszystkie pudełkowe wersje GTA:SA (DVD) powinny działać bezproblemowo.<br />
<br />
{| class="wikitable" style="width: 1000px; text-align: center;"<br />
|-<br />
|style="width:200px;background-color:#f2f2f2;"|'''Platforma/Sklep'''<br />
|style="width:100px;background-color:#f2f2f2;"|'''Ocena'''<br />
!Opis<br />
|style="width:180px;background-color:#f2f2f2;"|'''Współpracuje z MTA?'''<br />
|-<br />
|[http://store.steampowered.com/app/12120/?l=polish Steam]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|Gra w wersji 2.0 - instalator MTA automatycznie "obniży" ją do wersji 1.0<br />
|{{PL/Yes}}<br />
|-<br />
|rowspan="2"|[http://allegro.pl/listing/listing.php?order=m&string=Grand+Theft+Auto+San+Andreas+%28PC%29&bmatch=base-relevance-w2-uni-1-3-0812 Allegro]<br />
|rowspan="2"|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]]<br />
|Wersja pudełkowa (DVD)<br />
|rowspan="2" {{PL/Yes}}<br />
|-<br />
|Klucz do gry na platformie [http://store.steampowered.com/ Steam]<br />
|-<br />
|[http://sklep.gram.pl/pc/npg-grand-theft-auto-san-andreas.shtml gram.pl]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|rowspan=7|Wersja pudełkowa (DVD)<br />
|rowspan="7" {{PL/Yes}}<br />
|-<br />
|[http://www.empik.com/grand-theft-auto-san-andreas-pc-rockstar,p1045693411,multimedia-p Empik]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|-<br />
|[http://sklep.gry-online.pl/KartaProduktu.aspx?id=2039 GRY-OnLine.pl]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]]<br />
|-<br />
|[http://www.ultima.pl/ct/pc/gry/akcja/grand-theft-auto-san-andreas-pl-npg Ultima]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]]<br />
|-<br />
|[http://www.3kropki.pl/p/3/0/grand_theft_auto_san_andreas.php 3kropki.pl]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]][[File:*-*.png]]<br />
|-<br />
|[http://www.grymel.pl/cenega-grand-theft-auto-gta-san-andreas-o_l_528.html Grymel]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]][[File:*-*.png]]<br />
|-<br />
|[https://cdp.pl/grand-theft-auto-san-andreas.html cdp.pl]<br />
|[[File:*+*.png]][[File:*-*.png]][[File:*-*.png]][[File:*-*.png]][[File:*-*.png]]<br />
|-<br />
|[https://www.g2a.com/grand-theft-auto-san-andreas-steam-cd-key-eu.html?___store=polish G2A]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|rowspan=4|Klucz do gry na platformie [http://store.steampowered.com/ Steam]<br />
|rowspan="4" {{PL/Yes}}<br />
|-<br />
|[https://www.kinguin.net/pl/category/600/grand-theft-auto-san-andreas-steam-key/ Kinguin.net]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|-<br />
|[http://sklep.gram.pl/digi/grand-theft-auto-san-andreas-wersja-cyfrowa.shtml gram.pl]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]]<br />
|-<br />
|[https://muve.pl/sklep/digital/akcja/grand-theft-auto-san-andreas-pc-digital,61030 Muve.pl]<br />
|[[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*+*.png]][[File:*-*.png]]<br />
|-<br />
|[https://www.microsoft.com/pl-pl/store/p/grand-theft-auto-san-andreas/9wzdncrfj1zn Sklep Microsoft (Windows)]<br />
|[[File:*-*.png]][[File:*-*.png]][[File:*-*.png]][[File:*-*.png]][[File:*-*.png]]<br />
|Mobilna wersja gry przeniesiona na komputery z systemem Windows 8.1/10<br />
|{{PL/No}}<br />
|-<br />
<br />
[[en:Where to buy GTASA]]<br />
[[es:Dónde comprar GTA: SA]]<br />
[[tr:GTA:SA Nerden Alınır]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:*-*.png&diff=48848File:*-*.png2016-08-13T22:02:33Z<p>GabWas: </p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=File:*%2B*.png&diff=48847File:*+*.png2016-08-13T22:01:49Z<p>GabWas: </p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Vehicle_Colors&diff=48661Vehicle Colors2016-08-04T15:42:45Z<p>GabWas: Fixed link to polish translation.</p>
<hr />
<div>These are the vehicle colors you can use with [[setVehicleColor]] and [[getVehicleColor]].<br />
{{Vehicle colors}}<br />
<br />
==Vehicle Functions==<br />
{{Vehicle functions}}<br />
<br />
==See also==<br />
[[id|ID Lists]]<br />
<br />
[[Category:ID Lists]]<br />
[[ru:Vehicle colors]]<br />
[[de:Fahrzeugfarben]]<br />
[[pl:Vehicle Colors]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User:GabWas&diff=48485User:GabWas2016-07-22T10:29:43Z<p>GabWas: </p>
<hr />
<div>[[File:Polish_flag.gif]]<br />
<br />
==Moje tłumaczenia / My translations==<br />
<!-- *[[PL/]]<br/> --><br />
===Funkcje / Functions===<br />
*[[PL/createBlip]]<br/><br />
*[[PL/createPed]]<br/><br />
*[[PL/createPickup]]<br/><br />
*[[PL/getPlayerPing]]<br/><br />
*[[PL/getRandomPlayer]]<br/><br />
*[[PL/getServerName]]<br/><br />
*[[PL/givePlayerMoney]]<br/><br />
*[[PL/outputChatBox]]<br/><br />
*[[PL/playSound]]<br/><br />
*[[PL/playSound3D]]<br/><br />
===Zdarzenia / Events===<br />
*brak (jeszcze) / none (yet)<br />
===Pozostałe / Others===<br />
*brak (jeszcze) / none (yet)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48451User talk:GabWas2016-07-21T21:07:54Z<p>GabWas: "Ja tu tylko sprzątam..."</p>
<hr />
<div></div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/createBlip&diff=48450PL/createBlip2016-07-21T21:03:21Z<p>GabWas: Created page with "__NOTOC__ {{PL/Shared function}} Funkcja ta umożliwia stworzenie blipu, który będzie wyświetlał się na radarze gracza. ==Składnia== <section name="Serwer" cl..."</p>
<hr />
<div>__NOTOC__ <br />
{{PL/Shared function}}<br />
Funkcja ta umożliwia stworzenie [[blip|blipu]], który będzie wyświetlał się na radarze gracza.<br />
<br />
==Składnia==<br />
<section name="Serwer" class="server" show="true"><br />
<syntaxhighlight lang="lua"><br />
blip createBlip ( float x, float y, float z [, 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( ) ] )<br />
</syntaxhighlight><br />
</section><br />
<section name="Klient" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
blip createBlip ( float x, float y, float z [, 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 ] )<br />
</syntaxhighlight> <br />
</section><br />
{{PL/OOP||[[Blip]]}}<br />
===Wymagane argumenty=== <br />
*'''x:''' Liczba zmiennoprzecinkowa określająca współrzędną X blipu na mapie.<br />
*'''y:''' Liczba zmiennoprzecinkowa określająca współrzędną Y blipu na mapie.<br />
*'''z:''' Liczba zmiennoprzecinkowa określająca współrzędną Z blipu na mapie.<br />
<br />
===Opcjonalne argumenty=== <br />
{{PL/OptionalArg}} <br />
*'''icon:''' Liczba całkowita określająca ikonę blipu, którą możesz wybrać [[Blip Icons|tutaj]]. Domyślnie ''0''.<br />
*'''size:''' Liczba całkowita określająca rozmiar blipu. Dotyczy tylko ikony o ID 0. Domyślnie ''2''.<br />
*'''g:''' Wartość koloru zielonego w blipie (0 - 255). Dotyczy tylko ikony o ID 0. Domyślnie ''0''.<br />
*'''b:''' Wartość koloru niebieskiego w blipie (0 - 255). Dotyczy tylko ikony o ID 0. Domyślnie ''0''.<br />
*'''a:''' Wartość przezroczystości blipu (0 - 255). Dotyczy tylko ikony o ID 0. Domyślnie ''255''.<br />
{{New feature/item|3|1.0||<br />
*'''ordering:''' Liczba całkowita określająca wysokość położenia blipu (-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''.<br />
*'''visibleDistance:''' Liczba zmiennoprzecinkowa określająca odległość, z jakiej widoczny jest blip. Domyślnie ''99999.0''.<br />
}}<br />
<section name="Serwer" class="server" show="true"><br />
*'''visibleTo:''' Dzięki temu argumentowi możesz sprecyzować, dla kogo blip będzie widoczny. Po więcej informacji zajrzyj [[visibility|tutaj]]. Domyślnie, blip jest widoczny dla wszystkich graczy (''getRootElement()''). <br />
</section><br />
<br />
===Wynik===<br />
Zwraca [[element]] [[blip|blipu]], jeśli został on pomyślnie utworzony. W każdym innym przypadku zwraca ''false''.<br />
<br />
==Przykłady== <br />
<section name="Serwer" class="server" show="true"><br />
'''Przykład nr 1:''' Ten przykład tworzy blip, który będzie podążał za losowym graczem.<br />
<syntaxhighlight lang="lua"><br />
local randomPlayer = getRandomPlayer( ) -- zaczynamy od wylosowania gracza<br />
local x, y, z = getElementPosition( player ) -- następnie pobieramy jego pozycję...<br />
local playerBlip = createBlip( x, y, z, 58, 0, 0, 0, 255 ) -- ...i tworzymy w tym miejscu blip...<br />
setElementParent( playerBlip, randomPlayer ) -- ...któremu następnie każemy podążać za graczem<br />
</syntaxhighlight><br />
</section><br />
<br />
<br/><br />
''Autor: [[User:GabWas|GabWas]]; utworzono: 23:03, 21 Lip 2016 (CEST)''<br />
<br/>''Author: [[User:GabWas|GabWas]]; created: 21:03, 21 Jul 2016 (UTC)''<br />
<br />
==Zobacz również==<br />
{{Blip_functions}}<br />
[[EN:createBlip]]<br />
[[AR:createBlip]]<br />
[[DE:createBlip]]<br />
[[ES:CreateBlip]]<br />
[[IT:createBlip]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:PL/Client_event&diff=48432Template:PL/Client event2016-07-21T19:06:26Z<p>GabWas: </p>
<hr />
<div><pageclass class="client" subcaption="Zdarzenie po stronie klienta"></pageclass><br />
<includeonly>[[Category:Client events]]</includeonly></div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:PL/Server_event&diff=48430Template:PL/Server event2016-07-21T19:06:14Z<p>GabWas: </p>
<hr />
<div><pageclass class="server" subcaption="Zdarzenie po stronie serwera"></pageclass><br />
<includeonly>[[Category:Server Events]]</includeonly></div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/onClientBrowserDocumentReady&diff=48429PL/onClientBrowserDocumentReady2016-07-21T19:05:56Z<p>GabWas: To nie funkcja, tylko zdarzenie - poprawka template'u.</p>
<hr />
<div>__NOTOC__<br />
{{PL/Client event}}<br />
{{PL/New feature/item|3.0150|1.5||<br />
To zdarzenie jest wywoływane kiedy strona internetowa zostanie poprawnie załadowana.<br />
}}<br />
<br />
==Parametry== <br />
<syntaxhighlight lang="lua"><br />
string url<br />
</syntaxhighlight><br />
*'''url:''' url strony która została załadowana<br />
<br />
==Źródło==<br />
Element [[PL/Element/Browser|przeglądarki]] <br />
<br />
==Przykład== <br />
<syntaxhighlight lang="lua"><br />
addEventHandler ( "onClientBrowserDocumentReady" , root , <br />
function ( url ) <br />
outputChatBox ( "Strona '" .. url .. "' została poprawnie załadowana.") <br />
end <br />
)<br />
</syntaxhighlight><br />
<br />
[[en:onClientBrowserDocumentReady]]<br />
<br />
==Zobacz także==<br />
{{CEF_events}}</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48419User talk:GabWas2016-07-21T18:33:50Z<p>GabWas: </p>
<hr />
<div>Jeśli tłumaczysz przykłady, to nie zmieniaj nazw funkcji na polskie, bo to nie jest zgodne z [[Coding guidelines|praktykami dobrego kodowania]] i potem uczący się pisać w MTA to zapamiętają i nabiorą złych praktyk. [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 16:41, 21 July 2016 (UTC)<br />
<br/>Według mnie to bez różnicy, czy funkcja będzie napisana po polsku czy po angielsku. Zależy komu jak wygodniej. Poza tym niektórzy ledwo ogarniają angielski, więc to i tak dobrze jak zapamiętają chociaż pare funkcji. --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:26, 21 July 2016 (UTC)<br />
<br>Według mnie też, po prostu chodzi mi o to że jeśli piszemy przykłady na wiki na której są wytyczone zasady pisania to trzymajmy się ich [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 17:46, 21 July 2016 (UTC)<br />
<br/>Mi się w ogóle wydaje, że ten link do strony który podałeś, to nie dotyczy przykładów z funkcjami, tylko edycji kodu samego MTA i ingerencji w silnik. Można to już w sumie wywnioskować po punkcie nr 1, ale także 2.6 --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 18:32, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48416User talk:GabWas2016-07-21T18:32:57Z<p>GabWas: </p>
<hr />
<div>Jeśli tłumaczysz przykłady, to nie zmieniaj nazw funkcji na polskie, bo to nie jest zgodne z [[Coding guidelines|praktykami dobrego kodowania]] i potem uczący się pisać w MTA to zapamiętają i nabiorą złych praktyk. [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 16:41, 21 July 2016 (UTC)<br />
<br/>Według mnie to bez różnicy, czy funkcja będzie napisana po polsku czy po angielsku. Zależy komu jak wygodniej. Poza tym niektórzy ledwo ogarniają angielski, więc to i tak dobrze jak zapamiętają chociaż pare funkcji. --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:26, 21 July 2016 (UTC)<br />
<br>Według mnie też, po prostu chodzi mi o to że jeśli piszemy przykłady na wiki na której są wytyczone zasady pisania to trzymajmy się ich [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 17:46, 21 July 2016 (UTC)<br />
<br/>Mi się w ogóle wydaje, że ten link do strony który podałeś, to nie dotyczy przykładów z funkcjami, tylko edycji kodu samego MTA i ingerencji w silnik. --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 18:32, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48393User talk:GabWas2016-07-21T17:28:56Z<p>GabWas: </p>
<hr />
<div>Jeśli tłumaczysz przykłady, to nie zmieniaj nazw funkcji na polskie, bo to nie jest zgodne z [[Coding guidelines|praktykami dobrego kodowania]] i potem uczący się pisać w MTA to zapamiętają i nabiorą złych praktyk. [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 16:41, 21 July 2016 (UTC)<br />
<br/>Według mnie to bez różnicy, czy funkcja będzie napisana po polsku czy po angielsku. Zależy komu jak wygodniej. Poza tym niektórzy ledwo ogarniają angielski, więc to i tak dobrze jak zapamiętają chociaż pare funkcji. --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:26, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48392User talk:GabWas2016-07-21T17:26:19Z<p>GabWas: </p>
<hr />
<div>Jeśli tłumaczysz przykłady, to nie zmieniaj nazw funkcji na polskie, bo to nie jest zgodne z [[Coding guidelines|praktykami dobrego kodowania]] i potem uczący się pisać w MTA to zapamiętają i nabiorą złych praktyk. [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 16:41, 21 July 2016 (UTC)<br />
<br/>Według mnie to bez różnicy, czy funkcja będzie napisana po polsku czy po angielsku. Zależy komu jak wygodniej --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:26, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:GabWas&diff=48391User talk:GabWas2016-07-21T17:26:08Z<p>GabWas: </p>
<hr />
<div>Jeśli tłumaczysz przykłady, to nie zmieniaj nazw funkcji na polskie, bo to nie jest zgodne z [[Coding guidelines|praktykami dobrego kodowania]] i potem uczący się pisać w MTA to zapamiętają i nabiorą złych praktyk. [[User:ThePiotrek|ThePiotrek]] ([[User talk:ThePiotrek|talk]]) 16:41, 21 July 2016 (UTC)<br />
Według mnie to bez różnicy, czy funkcja będzie napisana po polsku czy po angielsku. Zależy komu jak wygodniej --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 17:26, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=Template:PL/Useful_Function&diff=48340Template:PL/Useful Function2016-07-21T15:48:08Z<p>GabWas: </p>
<hr />
<div><pageclass class="#228B22" subcaption="Użyteczna funkcja"></pageclass><br />
<includeonly><br />
[[Category:Useful Functions]]<br />
</includeonly></div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/detonateSatchels&diff=48338PL/detonateSatchels2016-07-21T15:45:46Z<p>GabWas: Poprawa tłumaczenia + zmiana szablonów na spolszczone.</p>
<hr />
<div>{{PL/Shared function}}<br />
__NOTOC__<br />
Dzięki tej funkcji, możesz zdalnie zdetonować ładunki wybuchowe danego gracza.<br />
<br />
==Składnia==<br />
<section name="Klient" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
bool detonateSatchels ( )<br />
</syntaxhighlight><br />
</section><br />
<br />
<section name="Serwer" class="server" show="true"><br />
<syntaxhighlight lang="lua"><br />
bool detonateSatchels ( player Player )<br />
</syntaxhighlight><br />
</section><br />
<br />
===Wynik===<br />
Zwraca ''true'' w przypadku pomyślnego zdetonowania ładunków. W każdym innym wypadku zwraca ''false''.<br />
<br />
==Przykład==<br />
Ten przykład dodaje komendę o nazwie 'wysadzladunki', która detonuje ładunki wybuchowe gracza, który ją wpisał.<br />
<section name="Klient" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
function zdetonujLadunki()<br />
detonateSatchels()<br />
outputChatBox( "Twoje ładunki wybuchowe zostały wysadzone!" )<br />
end<br />
addCommandHandler( "wysadzladunki", zdetonujLadunki )<br />
</syntaxhighlight><br />
</section><br />
<br />
==Zobacz także==<br />
{{Client projectile functions}}<br />
[[en:detonateSatchels]]<br />
[[it:detonateSatchels]]</div>GabWashttps://wiki.multitheftauto.com/index.php?title=User_talk:ThePiotrek&diff=48336User talk:ThePiotrek2016-07-21T15:43:05Z<p>GabWas: Created page with "''Piotrek, jeżeli tworzysz jakieś tłumaczenia, to funkcje zaczynaj z małej i korzystaj ze spolszczonych szablonów'' --~~~~"</p>
<hr />
<div>''Piotrek, jeżeli tworzysz jakieś tłumaczenia, to funkcje zaczynaj z małej i korzystaj ze spolszczonych szablonów'' --[[User:GabWas|GabWas]] ([[User talk:GabWas|talk]]) 15:43, 21 July 2016 (UTC)</div>GabWashttps://wiki.multitheftauto.com/index.php?title=PL/GetValidPedModels&diff=48329PL/GetValidPedModels2016-07-21T14:14:59Z<p>GabWas: GabWas moved page PL/GetValidPedModels to PL/getValidPedModels</p>
<hr />
<div>#REDIRECT [[PL/getValidPedModels]]</div>GabWas