User contributions for Tracer
Jump to navigation
Jump to search
1 March 2023
- 16:2016:20, 1 March 2023 diff hist +90 m AclSetRight Added an important note regarding ACL rights
28 February 2023
- 17:4317:43, 28 February 2023 diff hist +4 m Math Fixed a typo. It should be randomseed and not random itself. current
20 February 2023
- 17:1117:11, 20 February 2023 diff hist +29 N Sockets Redirected page to Modules/Sockets current Tag: New redirect
12 February 2023
- 16:2116:21, 12 February 2023 diff hist −157 m GetGroundPosition Changed syntax a little bit
26 January 2023
- 20:5820:58, 26 January 2023 diff hist +2 m Lua compilation API Changed formatting
- 20:5720:57, 26 January 2023 diff hist +178 m Lua compilation API Changed "compilation" to be a customizable option
- 20:5420:54, 26 January 2023 diff hist +2,253 m Lua compilation API Added Python example
24 December 2022
- 13:1813:18, 24 December 2022 diff hist 0 m Modules Introduction Fixed a typo
23 November 2022
- 15:0415:04, 23 November 2022 diff hist −37 m TriggerEvent Updated to the newest standards
19 August 2022
- 09:4409:44, 19 August 2022 diff hist +41 m Template:Shared utility functions Changed template
- 09:4309:43, 19 August 2022 diff hist +41 m Template:Utility functions Changed template
- 09:4009:40, 19 August 2022 diff hist −5 m Template:Shared server functions Changed language from Russian to English
- 09:4009:40, 19 August 2022 diff hist 0 m Template:Utility functions Changed template a little bit
- 09:3609:36, 19 August 2022 diff hist +56 m Template:Shared utility functions Added "generateKeyPair" function
- 09:3509:35, 19 August 2022 diff hist 0 m Template:Shared utility functions Sorted list
- 09:3009:30, 19 August 2022 diff hist +56 Template:Utility functions Added "generateKeyPair"
- 09:2609:26, 19 August 2022 diff hist +994 N GenerateKeyPair Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.0|1.5.9|21055|This function creates a new public key and private key for encrypting data}} {{Needs Example}} Category:Incomplete ==Syntax== <syntaxhighlight lang="lua"> string, string GenerateKeyPair ( string algorithm, table options [, function callback ] ) </syntaxhighlight> ===Required Arguments=== *'''algorithm:''' The algorithm to use: ** ''RSA'': use the RSA public-key algorithm *'''options:''' table..."
10 July 2022
- 17:5917:59, 10 July 2022 diff hist −99 m Table.fromString Changed description current
6 July 2022
- 12:0712:07, 6 July 2022 diff hist +84 m Template:Handling Properties Changed website links current
- 12:0612:06, 6 July 2022 diff hist +29 m Template:Handling Properties Removed website link
30 June 2022
- 18:0918:09, 30 June 2022 diff hist −265 m IfElse Removed redundant codeblock current
- 13:3513:35, 30 June 2022 diff hist +409 m IfElse Added comment. This operation already exist in lua. See: Lua ternary operation - http://lua-users.org/wiki/TernaryOperator
25 June 2022
- 17:5017:50, 25 June 2022 diff hist −128 m Template:Useful Functions removed "table.toStringArray"
- 17:4417:44, 25 June 2022 diff hist +58 m PL/Client side scripts Updated syntax current
- 17:4117:41, 25 June 2022 diff hist −24 m Modules Removed "Incomplete" flag current
17 June 2022
- 16:2016:20, 17 June 2022 diff hist +722 m Wstęp do pisania modułów 2 Added a little summary to the modules current
7 June 2022
- 07:2707:27, 7 June 2022 diff hist +29 m Modules Introduction Added polish reference
- 07:2607:26, 7 June 2022 diff hist +41 N PL/Modules Introduction Redirected page to Wstęp do pisania modułów current Tag: New redirect
- 07:2507:25, 7 June 2022 diff hist +30 m Wstęp do pisania modułów Added english reference current
- 07:2407:24, 7 June 2022 diff hist +11 m Modules Introduction Changed formatting
- 07:2307:23, 7 June 2022 diff hist −169 m Modules Introduction Changed formatting
- 07:2207:22, 7 June 2022 diff hist −161 m Wstęp do pisania modułów Changed formatting
- 07:2107:21, 7 June 2022 diff hist −28 m IsElementInAir Removed from the "Needs checking" list
- 07:1907:19, 7 June 2022 diff hist −27 m IsElementInAir Fixed formatting
- 07:1907:19, 7 June 2022 diff hist +10 m IsElementInAir Changed syntax a little
- 07:1807:18, 7 June 2022 diff hist +99 m IsElementInAir Changed syntax a little
- 07:1507:15, 7 June 2022 diff hist −547 m IsElementInAir Fixed the function
- 06:1706:17, 7 June 2022 diff hist +112 m Modules Added tutorial for modules
- 06:1406:14, 7 June 2022 diff hist +5,156 N Modules Introduction Created page with "Modules are extensions for Multi Theft Auto's Lua core, allowing the integration and use of custom Lua functions that have been written in C++, and compiled as a DLL or SO file. Modules are commonly used to create functions for such purposes that Multi Theft Auto lacks, such as sockets. ==Getting sterted== To start writing new modules, you need to have at least basic knowledge of programming in C/C++.<br/> This tutorial '''does not teach''' you how t..."
6 June 2022
- 20:1420:14, 6 June 2022 diff hist −668 Moduły Added polish tutorials current
- 20:0620:06, 6 June 2022 diff hist +170 m Wstęp do pisania modułów Added part 2
- 20:0320:03, 6 June 2022 diff hist +6,261 N Wstęp do pisania modułów 2 Created page with "W poprzedniej części wyjaśniliśmy sobie czym są moduły, jak pobrać szablon modułu oraz co on zawiera.<br/> W tej części omówimy sobie poszczególne części naszego modułu (co dana rzecz robi). Nasz moduł w tym poradniku będzie się nazywał '''PrzykladowyModul''' ===./src/ml_przykladowymodul.cpp=== <syntaxhighlight lang="c++"> #include <include/ml_przykladowymodul.hpp> #include <include/CFunctions.h> ILuaModuleManager10* pModuleManager = NULL; bool ms_b..."
- 17:4917:49, 6 June 2022 diff hist +16 Wstęp do pisania modułów No edit summary
- 17:4917:49, 6 June 2022 diff hist −7 m Wstęp do pisania modułów No edit summary
- 15:1115:11, 6 June 2022 diff hist +224 Wstęp do pisania modułów No edit summary
- 15:0915:09, 6 June 2022 diff hist +4,627 Wstęp do pisania modułów No edit summary
29 May 2022
- 12:2212:22, 29 May 2022 diff hist +358 N Wstęp do pisania modułów Created page with "Moduły są rozszerzeniami rdzenia MTA Lua, które umożliwiają integrację i używanie niestandardowych funkcji Lua, które zostały napisane w C++ i skompilowane jako plik DLL lub SO. Moduły są powszechnie używane do tworzenia funkcji do takich celów, których brakuje w Multi Theft Auto, takich jak gniazda. ==Wprowadzenie== TODO"
- 10:5710:57, 29 May 2022 diff hist +622 m Wstęp do pisania skryptów Added language references and changed article a little bit current
- 10:1110:11, 29 May 2022 diff hist +32 m Scripting Introduction Added polish reference
28 May 2022
- 15:5115:51, 28 May 2022 diff hist −11 m Strona główna Changed to polish reference
24 May 2022
- 09:0609:06, 24 May 2022 diff hist +41 N PL/Scripting Introduction Redirected page to Wstęp do pisania skryptów current Tag: New redirect
- 08:5908:59, 24 May 2022 diff hist +60 m Moduły Changed template
- 08:5608:56, 24 May 2022 diff hist +545 N Template:PL/ModulesList Created page with "* cURL * FileSystem * hashing [<span style='color:red'><b>PRZESTARZAŁE</b></span>] * MTA-MySQL [<span style='color:red'><b>PRZESTARZAŁE</b></span>] * MySQL [<span style='color:red'><b>PRZESTARZAŁE</b></span>] * Pathfinding [<span style='color:red'><b>PRZESTARZAŁE</b></span>] * SHA [<span style='color:red'><b>PRZESTARZAŁE</b></sp..." current
- 08:5508:55, 24 May 2022 diff hist +56 m Modules Added description
- 08:5508:55, 24 May 2022 diff hist +25 m Modules Added modules list to this page, instead of redirecting to the other one.
- 08:5308:53, 24 May 2022 diff hist +522 N Template:ModulesList Created page with "* cURL * FileSystem * hashing [<span style='color:red'><b>OUTDATED</b></span>] * MTA-MySQL [<span style='color:red'><b>DEPRECATED</b></span>] * MySQL [<span style='color:red'><b>OUTDATED</b></span>] * Pathfinding [<span style='color:red'><b>OUTDATED</b></span>] * SHA [<span style='color:red'><b>OUTDATED</b></span>] * Modules/Socket..."
15 April 2022
- 22:0022:00, 15 April 2022 diff hist +35 m SetPedFollow Changed src code a little current
11 April 2022
- 15:3315:33, 11 April 2022 diff hist +1,486 N PL/Modules/Sockets/sockClose Created page with "<pageclass class="#AA7592" subcaption="Moduł Gniazd"></pageclass> __NOTOC__ {{PL/ModuleFunction|Sockets|Gniazd}} Ta funkcja zamyka podane gniazdo. ==Składnia== <syntaxhighlight lang="lua"> bool sockClose ( socket gniazdo ) </syntaxhighlight> ===Wymagane argumenty=== * '''gniazdo:''' Gniazdo, które ma być zamknięte. ===Zwraca=== Zwraca wartość <span style='color:green'>true</span>, jeśli udało się poprawnie zamknąć gniazdo, w przeciwnym razie zwraca <span sty..." current
24 February 2022
- 20:4220:42, 24 February 2022 diff hist +25 m Category:PL/Resource Added english reference current
- 20:3620:36, 24 February 2022 diff hist +3,317 N PL/GetSoundBufferLength Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0157|1.5.6|16216|Ta funkcja pobiera długość bufora odtwarzania określonego dźwięku. Działa tylko ze strumieniami.}} ==Składnia== <syntaxhighlight lang="c++"> float getSoundBufferLength ( element dzwiek ) </syntaxhighlight> {{OOP||sound:getBufferLength|bufferLength}} ===Wymagane argumenty=== *'''dzwiek:''' element dźwięku, którego długość bufora chcesz uzyskać. ===Zwraca=== *..." current
- 20:2920:29, 24 February 2022 diff hist +19 m Template:PL/Elements Changed to polish references current
- 20:2920:29, 24 February 2022 diff hist +10 m Template:New items Changed formatting
- 20:2620:26, 24 February 2022 diff hist +3 m PL/Element Added polish reference current
- 20:2620:26, 24 February 2022 diff hist +1,153 N Template:PL/Elements Created page with "* Player * Ped * Vehicle * Object * Pickup * Marker * Collision shape * Blip * Radar area * Projectile * Team * Server console * GUI widgets: <ul>{{GUI_widgets}}</ul> * TXD * DFF * Element/COL|C..."
- 20:2420:24, 24 February 2022 diff hist +12 m PL/Element Added polish reference
- 20:2320:23, 24 February 2022 diff hist +575 N PL/Element/Player Created page with "__NOTOC__ Klasa gracza reprezentuje "pedów" kontrolowanych przez klientów. Obiekt gracza jest tworzony, gdy klient łączy się z serwerem i niszczony, gdy wychodzi. Gracze nie mogą być stworzeni ani zniszczeni w inny sposób. Typ elementu tej klasy to '''"gracz"''' (player). ==Powiązane funkcje== ===Klientowe=== {{Client player functions}} ===Serwerowe=== {{Player functions}} Category:Element Types en:Element/Player ru:Element/Player hu:Element/..." current
- 20:1920:19, 24 February 2022 diff hist +227 N PL/Entity Created page with "Podmiot jest to element, który ma pozycję oraz ma fizyczną reprezentację w świecie gry. Następujące elementy są podmiotami: {{PL/Entities}} Category:Scripting Concepts en:Entity hu:Entity pt-br:Entidade" current
- 20:1820:18, 24 February 2022 diff hist +231 N Template:PL/Entities Created page with "* Gracz * Pojazd * Objekt * Pickup * Marker * Znacznik * Obszar na radarze"
- 20:1120:11, 24 February 2022 diff hist +18 m Visibility Added polish reference current
- 20:1120:11, 24 February 2022 diff hist +1,665 N Widoczność Created page with "System widoczności markerów i znaczników działa według następującej zasady: jeśli coś jest widoczne dla określonego elementu, to jest również widoczne dla wszystkich elementów potomnych tego elementu. Ponadto domyślnie wszystko jest widoczne dla elementu głównego. Oznacza to, że jeśli chcesz zrobić m.in. znacznik widoczny tylko dla kilku konkretnych graczy, musisz zrobić dwie rzeczy: * Ustaw znacznik niewidoczny dla elementu głównego (roota), używ..." current
- 19:2619:26, 24 February 2022 diff hist +26 N PL/Visibility Redirected page to Widoczność current Tag: New redirect
18 February 2022
- 20:3920:39, 18 February 2022 diff hist +54 m Template:PL/Client audio functions Replaced pages with polish equivalents
- 20:3720:37, 18 February 2022 diff hist +3 m Funkcje po stronie klienta Changed template used on this page
- 20:3720:37, 18 February 2022 diff hist +1,125 N Template:PL/Client audio functions Created a new template for polish version of audio functions
- 15:2315:23, 18 February 2022 diff hist −198 m Template:Useful Functions "getClipboard" deleted from the registry.
16 February 2022
- 19:4919:49, 16 February 2022 diff hist +177 m Template:Useful Classes Added "MatrixPOP" current
- 19:4719:47, 16 February 2022 diff hist +2,870 N MatrixPOP Created page with "{{Useful Class}} __NOTOC__ This class allows you to handle matrixes without using MTA's OOP functions<br/> This class is called POP because it doesn't use any OOP functions while keeping Lua's class structure. ==Syntax== <syntaxhighlight lang="lua"> MatrixPOP MatrixPOP( element eheElement ) </syntaxhighlight> ===Required Arguments=== *'''theElement:''' The element which you wish to retrieve the matrix for. ===Returns=== Returns a matrix class<br/> Returns ''f..."
- 17:0917:09, 16 February 2022 diff hist +1,031 m Matrix Added examples for other methods current
- 10:4210:42, 16 February 2022 diff hist −398 Math.round math.ceil and math.floor already exist in Lua math library. Both math.ceil and math.floor methods takes only 1 number as a parameter.
15 February 2022
- 13:3413:34, 15 February 2022 diff hist 0 m Math.round Fixed syntaxhighlight (lua doesn't support "int"/"float" keywords)
5 February 2022
- 17:1017:10, 5 February 2022 diff hist +100 m Animations Changed "Lua table" to be expandible current
- 17:0917:09, 5 February 2022 diff hist +52 Animations Added lua table of animations
- 17:0817:08, 5 February 2022 diff hist +36,226 N Template:AnimationList Created page with "<syntaxhighlight lang="lua"> local animations = { airport = {"thrw_barl_thrw"}, attractors = { "stepsit_in", "stepsit_loop", "stepsit_out" }, bar = { "barcustom_get", "barcustom_loop", "barcustom_order", "barman_idle", "barserve_bottle", "barserve_give", "barserve_glass", "barserve_in", "barserve_loop", "barserve_order", "dnk_stndf_loop", "dnk_stndm_loop" }, baseball = { "bat_1", "bat_2",..." current
4 February 2022
- 16:0816:08, 4 February 2022 diff hist +15 m Modules/Pathfinding Not supported anymore current
3 February 2022
- 18:2118:21, 3 February 2022 diff hist +206 m Modules/Pathfinding/findShortestPathBetween Added "issues" category current
- 17:5617:56, 3 February 2022 diff hist −1 m Modules/Pathfinding Added to "Modules" category
- 17:5617:56, 3 February 2022 diff hist +22 m Modules/Pathfinding No edit summary
- 17:5417:54, 3 February 2022 diff hist +7 m Modules/Pathfinding Fixed description
- 17:5117:51, 3 February 2022 diff hist +664 N Modules/Pathfinding/getNodeNeighbors Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function gets "neighbours" of a certain node. ==Syntax== <syntaxhighlight lang="c++"> table getNodeNeighbors(int graphId, int nodeId, int depth) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph * '''nodeId:''' The id of the start node * '''depth:''' The depth of the node neighbors ===Returns=== Returns '''4 integers'''..." current
- 17:5017:50, 3 February 2022 diff hist +687 N Modules/Pathfinding/findNodeAt Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function searches for certain node. ==Syntax== <syntaxhighlight lang="c++"> int, float, float, float findNodeAt(int graphId, float positionX, float positionY, float positionZ) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph * '''positionX, positionY, positionZ:''' The postion where to search for a node ===Returns=== Re..." current
- 17:4917:49, 3 February 2022 diff hist +519 N Modules/Pathfinding/isGraphLoaded Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function checks if the graph is already loaded. ==Syntax== <syntaxhighlight lang="c++"> bool isGraphLoaded(int graphId) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph ===Returns=== Returns '''true''' if the graph is already loaded, '''false''' otherwise. ==Example== <!-- TODO: Write an example --> ==See Also== ===Fu..." current
- 17:4817:48, 3 February 2022 diff hist +828 N Modules/Pathfinding/findShortestPathBetween Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function finds the shortest path between 2 points in the world. ==Syntax== <syntaxhighlight lang="c++"> bool findShortestPathBetween(int graphId, float startX, float startY, float startZ, float endX, float endY, float endZ, function callback) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph * '''startX, startY, startZ'''..."
- 17:4617:46, 3 February 2022 diff hist +505 N Modules/Pathfinding/unloadPathGraph Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function unloads a graph path. ==Syntax== <syntaxhighlight lang="c++"> bool unloadPathGraph(int graphId) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph ===Returns=== Returns '''true ''' if the graph has been unloaded, '''false''' otherwise. ==Example== <!-- TODO: Write an example --> ==See Also== ===Functions=== {{M..." current
- 17:4417:44, 3 February 2022 diff hist −120 m Modules/Pathfinding Removed "resources" section
- 17:4417:44, 3 February 2022 diff hist +4 m Modules/Pathfinding/loadPathGraph Changed formatting current
- 17:4417:44, 3 February 2022 diff hist 0 m Modules/Pathfinding/loadPathGraph Changed syntax highlighting
- 17:4217:42, 3 February 2022 diff hist +537 N Modules/Pathfinding/loadPathGraph Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function loads a path. ==Syntax== <syntaxhighlight lang="lua"> int loadPathGraph(string path) </syntaxhighlight> ===Required arguments=== * '''path:''' The path to the graph definition file (relative to the resource directory) ===Returns=== Returns ''graphId'' if everything went fine, ''false'' otherwise. ==Example== <!-- TODO: Write an example -->..."
- 17:4017:40, 3 February 2022 diff hist −45 m Modules/Pathfinding Removed "events" section
- 17:3917:39, 3 February 2022 diff hist +347 N Template:Modules/Pathfinding/Functions Created page with "* loadPathGraph * unloadPathGraph * findShortestPathBetween * isGraphLoaded * findNodeAt * getNodeNeighbors" current
- 17:3717:37, 3 February 2022 diff hist +1,782 N Modules/Pathfinding Created page with "<pageclass class="#AA7592" subcaption="Sockets Module"></pageclass> __NOTOC__ {{Module_Info| name = ml_sockets | version = 1.4 | author = StiviK, eXo-Reallife team| module_website = ''[https://github.com/eXo-OpenSource/ml_pathfind Here]'' | download_link = [https://github.com/eXo-OpenSource/ml_pathfind/releases/download/v1.0.3/ml_pathfind_win32.dll Windows 32 bit]<br/>[https://github.com/eXo-OpenSource/ml_pathfind/releases/download/v1...."