All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 19:47, 16 February 2022 Tracer talk contribs created page 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...")
- 22:06, 15 February 2022 Myonlake talk contribs deleted page IsResourceRunning (Sorry, but this doesn't quite reach the level of usefulness we're looking for)
- 10:21, 14 February 2022 User account BLRScout talk contribs was created
- 16:15, 13 February 2022 Alex7202 talk contribs created page IsResourceRunning (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function return resource state running or not. ==Syntax== <syntaxhighlight lang="lua">boolean isResourceRunning( resource theResource )</syntaxhighlight> ===Required Arguments=== * '''theResource''': The resource where you want to get state. ==Code== <syntaxhighlight lang="lua"> function isResourceRunning(resName) local res = getResourceFromName(resName) return (res) and (getResourceState(res) == "...")
- 21:39, 10 February 2022 User account AzKe talk contribs was created
- 21:26, 10 February 2022 User account Dev White talk contribs was created
- 12:17, 10 February 2022 User account POCHINKOV talk contribs was created
- 09:07, 10 February 2022 User account LIFERZ talk contribs was created
- 12:49, 7 February 2022 Thisdp talk contribs created page DgsLineSetItemColor (Created page with "__NOTOC__ {{Client function}} This function sets the color of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> bool dgsLineSetItemColor( element line, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''index''': The item index. *'''color:''' An integer of color (0-4294967295), use tocolor for converting RGBA to color number. ===Returns=== Returns ''true'' if successful, ''false'' otherwis...")
- 12:44, 7 February 2022 Thisdp talk contribs created page DgsLineGetItemPosition (Created page with "__NOTOC__ {{Client function}} This function gets the position of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> float/nil, float/nil, float, float, bool dgsLineGetItemPosition (element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''index''': The item index. ===Returns=== Returns 4 ''float''s and a ''bool'' Or 2 ''nil''s, 2 ''float''s and a ''bool'' indicates the startX, startY, endX, endY and rel...")
- 12:34, 7 February 2022 Thisdp talk contribs created page DgsLineSetItemPosition (Created page with "__NOTOC__ {{Client function}} This function sets the position of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> bool dgsLineSetItemPosition (element line, int index, float startX = previousEndX, float startY = previousEndY, float endX, float endY [, float relative = false ] ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''startX:''' A float of the 2D x position of start position of the line on a player's screen, set...")
- 10:53, 7 February 2022 Thisdp talk contribs created page DgsScrollBarSetArrowSize (Created page with "{{client function}} This function changes the size of arrow. ==Syntax== <syntaxhighlight lang="lua"> bool dgsScrollBarSetArrowSize( element scrollBar, float size [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to set arrow size to. *'''size:''' A number of the size of scroll bar's arrow. ===Optional Arguments=== *'''relative:''' This is whether size...")
- 10:51, 7 February 2022 Thisdp talk contribs created page DgsScrollBarGetArrowSize (Created page with "{{client function}} This function gets the size of arrow. ==Syntax== <syntaxhighlight lang="lua"> float dgsScrollBarGetArrowSize( element scrollBar [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to get arrow size from. ===Optional Arguments=== *'''relative:''' This is whether sizes and positioning are relative. If this is true, then width must be b...")
- 10:47, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetDimension to Dgs3DGetDimension
- 10:44, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetDimension to Dgs3DSetDimension
- 10:43, 7 February 2022 Thisdp talk contribs created page Template:DGS 3D Element Functions (Created page with "*dgs3DInterfaceGetPosition *dgs3DInterfaceSetPosition *dgs3DInterfaceGetInterior *dgs3DInterfaceSetInterior *dgs3DInterfaceSetDimension *dgs3DInterfaceGetDimension")
- 10:42, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetInterior to Dgs3DSetInterior
- 10:41, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetInterior to Dgs3DGetInterior
- 09:54, 7 February 2022 Thisdp talk contribs moved page Dgs3DGetRotation to Dgs3DInterfaceGetRoll
- 09:53, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetRotation to Dgs3DGetRotation
- 09:52, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetRotation to Dgs3DInterfaceSetRoll
- 09:51, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetPosition to Dgs3DSetPosition
- 09:50, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetPosition to Dgs3DGetPosition
- 06:05, 7 February 2022 Thisdp talk contribs created page DgsScrollBarGetTroughWidth (Created page with "{{client function}} This function gets the width of trough. ==Syntax== <syntaxhighlight lang="lua"> float dgsScrollBarGetTroughWidth( element scrollBar [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to get trough width from. ===Optional Arguments=== *'''relative:''' This is whether sizes and positioning are relative. If this is true, then width mus...")
- 05:36, 7 February 2022 Thisdp talk contribs created page DgsScrollBarSetTroughWidth (Created page with "{{client function}} This function changes the width of trough. ==Syntax== <syntaxhighlight lang="lua"> bool dgsScrollBarSetTroughWidth( element scrollBar, float width [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to set cursor width to. *'''width:''' A number of the width of scroll bar's trough. ===Optional Arguments=== *'''relative:''' This is wh...")
- 22:34, 6 February 2022 Lettify talk contribs created page DgsCreateChart (Created page with "__NOTOC__ {{Client function}} {{Needs Example|dgsCreateChart}} This function creates a data chart. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateChart ( float x, float y, float width, float height, string chartType, bool relative [, element parent = nil ] ) </syntaxhighlight> ===Required Arguments=== 400px|thumb|Chart Example. *'''x:''' A float of the 2D x position of the chart on a player's screen. This is affected by the ''rel...")
- 22:27, 6 February 2022 Lettify talk contribs created page File:Chart example.png
- 22:27, 6 February 2022 Lettify talk contribs uploaded File:Chart example.png
- 20:20, 6 February 2022 User account ParsaWarrioR talk contribs was created
- 12:49, 6 February 2022 Thisdp talk contribs created page Template:DGS Plugin/SVG (Created page with " *dgsCreateSVG *dgsSVGGetContent *dgsSVGCreateNode *dgsSVGDestroyNode *dgsSVGNodeSetAttribute *dgsSVGNodeGetAttribute *dgsSVGNodeSetAttributes *dgsSVGNodeGetAttributes")
- 12:48, 6 February 2022 Thisdp talk contribs created page Template:DGS Plugin/Chart (Created page with "*dgsCreateChart *dgsChartAddDataset *dgsChartRemoveDataset *dgsChartSetLabels *dgsChartDatasetSetStyle *dgsChartDatasetSetLabel *dgsChartDatasetSetData *dgsChartDatasetAddData *dgsChartDatasetRemoveData *dgsChartDatasetClearData")
- 18:34, 5 February 2022 User account ABDALLUH talk contribs was created
- 17:08, 5 February 2022 Tracer talk contribs created page 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",...")
- 15:49, 5 February 2022 User account Deadly.blu talk contribs was created
- 16:04, 4 February 2022 Tracer talk contribs created page Template:Not Supported (Created page with "{{MessageBox| bordercolorhex = 333333 | bgcolorhex = FFBFBF | image = File:Emblem-important.png | message = This {{#ifeq: {{padleft:|2|{{lc:{{PAGENAME}}}}}}|on|event|function}} is not supported anymore. | subtext = {{ #if: {{{1|}}} | Please use [[{{{1}}}]] instead. {{{2|}}} }} | }}")
- 23:53, 3 February 2022 User account EnesYasin talk contribs was created
- 19:22, 3 February 2022 User account Seu Ze talk contribs was created
- 17:51, 3 February 2022 Tracer talk contribs created page 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'''...")
- 17:50, 3 February 2022 Tracer talk contribs created page 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...")
- 17:49, 3 February 2022 Tracer talk contribs created page 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...")
- 17:48, 3 February 2022 Tracer talk contribs created page 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:46, 3 February 2022 Tracer talk contribs created page 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...")
- 17:42, 3 February 2022 Tracer talk contribs created page 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:39, 3 February 2022 Tracer talk contribs created page Template:Modules/Pathfinding/Functions (Created page with "* loadPathGraph * unloadPathGraph * findShortestPathBetween * isGraphLoaded * findNodeAt * getNodeNeighbors")
- 17:37, 3 February 2022 Tracer talk contribs created page 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....")
- 14:52, 1 February 2022 Synthetic talk contribs created page Math.average (Created page with "__NOTOC__ {{Useful Function}} This function returns the simple arithmetic mean of multiple numbers.<br> ==Syntax== <syntaxhighlight lang="lua">float math.average(...)</syntaxhighlight> ===Required Arguments=== * '''...''': Whole numbers. ==Code== <section name="Function source" class="both" show="true"> <syntaxhighlight lang="lua"> function math.average(...) if {...} then local aver = 0 for k,v in ipairs({...}) do aver = (aver + v)...")
- 18:31, 31 January 2022 Vampire talk contribs created page PT-BR/getElementData (Translation of the page 'getElementData' to Portuguese BR)
- 17:48, 31 January 2022 Vampire talk contribs created page PT-BR/Elemento (Portuguese BR translation for 'Element' page)
- 17:26, 31 January 2022 Vampire talk contribs created page PT-BR/Árvore de elementos (Translation of the page 'Element tree' to Portuguese BR)
- 16:43, 31 January 2022 LordHenry talk contribs uploaded a new version of File:Youtube.png