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).
- 03:41, 20 February 2022 LODS talk contribs created page PT-BR/svgGetSize (Created page with "{{BR/Funcao cliente}} {{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}} ==Sintaxe== <syntaxhighlight lang="lua">int, int svgGetSize( svg svgElement )</syntaxhighlight> ===Argumentos Necessários=== *'''svgElement:''' O elemento svg que você deseja obter o tamanho. ===Retornos=== * Retorna dois ints, representando '''largura''' e '''altura''' ==Exemplo== Veja o exemplo em svgSetSize. ==Requisitos== {{Requireme...")
- 03:36, 20 February 2022 LODS talk contribs created page PT-BR/SvgSetDocumentXML (Created page with "__NOTOC__ {{BR/Funcao cliente}} {{Added feature/item|1.5.9|1.5.8|20979|Define o documento XML subjacente de um elemento SVG.}} ==Sintaxe== <syntaxhighlight lang="lua">bool svgSetDocumentXML ( svg svgElement, xmlnode xmlDocument [, function callback ( bool didLoad ) ] )</syntaxhighlight> ===Argumentos Necessários=== *'''svgElement:''' Um elemento svg que você deseja definir o documento XML. *'''xmlDocument:''' Um xmlnode contendo os dados para serem definidos...")
- 03:15, 20 February 2022 LODS talk contribs created page PT-BR/svgGetDocumentXML (Created page with "{{Client function}} {{Added feature/item|1.5.9|1.5.8|20979|Obtém o documento XML subjacente de um elemento SVG.}} ==Sintaxe== <syntaxhighlight lang="lua">xmlnode svgGetDocumentXML ( svg svgElement )</syntaxhighlight> ===Argumentos Necessários=== *'''svgElement:''' O elemento svg que você deseja obter o documento XML. ===Retornos=== * Retorna um xmlnode se for bem sucedido, '''false''' caso dê errado. ==Exemplo== Veja o exemplo em svgSetDocumentXML ==...")
- 02:55, 20 February 2022 LODS talk contribs created page PT-BR/svgCreate (Created page with "__NOTOC__ {{BR/Função cliente}} {{BR/Nota Importante|'''NÃO''' use svgCreate dentro do evento onClientRender pode ocasionar crash em seu servidor.}} {{Added feature/item|1.5.9|1.5.8|20979|}} Cria um svg com um tamanho (documento em branco), por um caminho de arquivo ou dados brutos. ==Sintaxe== <syntaxhighlight lang="lua">svg svgCreate ( int width, int height [, string pathOrRawData, function callback ( bool didLoad ) ] )</syntaxhighlight> ===Argumentos...")
- 01:56, 20 February 2022 LODS talk contribs created page PT-BR/GetPedWeapon (Created page with "__NOTOC__ {{BR/Função compartilhada}} Essa função informa qual o tipo de arma que está em um certo '''weapon slot''' de um ped. ==Sintaxe== <syntaxhighlight lang="lua"> int getPedWeapon ( ped thePed, [ int weaponSlot = current ] ) </syntaxhighlight> {{OOP||ped:getWeapon}} ===Argumentos Necessários=== *'''thePed''': O ped que você deseja obter o tipo de arma. ===Argumentos Opcionais=== *'''weaponSlot''': um inteiro representando o weapon|wea...")
- 17:04, 19 February 2022 User account ZeRoReV talk contribs was created
- 20:37, 18 February 2022 Tracer talk contribs created page Template:PL/Client audio functions (Created a new template for polish version of audio functions)
- 17:20, 17 February 2022 User account Vainah talk contribs was created
- 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...")