New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | older 100) (20 | 50 | 100 | 250 | 500)
  • 12:02, 3 October 2023IsLastExecuteInTimer (hist | edit) ‎[1,299 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function check if the execute in timer is the last execute ==Syntax== <syntaxhighlight lang="lua">bool isLastExecuteInTimer( timer theTimer )</syntaxhighlight> ===Required Arguments=== * '''theTimer''': The timer to check. ===Returns=== Returns ''true'' if the execute is the last execute in the timer, ''false'' if the execute is not the last execute in the timer <section name="Shared function" class...")
  • 08:02, 2 October 2023RO/getSoundProperties (hist | edit) ‎[1,754 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0130|1.3.0|4097| Această funcție obține proprietățile unui anumit sound. }} ==Sintaxă== <syntaxhighlight lang="lua">float, float, float, bool getSoundProperties( element sound )</syntaxhighlight> {{OOP||sound:getProperties||setSoundProperties}} ===Argumente necesare=== *'''sound:'''' un sound element care este creat folosind playSound sau playSound3D. ===Returneaza=== Această funcție...")
  • 07:55, 2 October 2023RO/getSoundPan (hist | edit) ‎[925 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Această funcție este utilizată pentru a obține nivelul de panoramare al elementului sound specificat. ==Sintaxă== <syntaxhighlight lang="lua">float getSoundPan ( element theSound )</syntaxhighlight> {{OOP||sound:getPan|pan|setSoundPan}} ===Argumente necesare=== *''''theSound:'''' elementul sound pe care doriți să îl obțineți. ===Returnează=== Returnează valoarea ''float'' cu intervalul de la ''-1,0 (stânga)'' l...")
  • 07:47, 2 October 2023RO/getSoundFFTData (hist | edit) ‎[2,683 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Această funcție obține datele transformării rapide Fourier pentru un flux audio, care este un tabel de valori float reprezentând cadrul audio curent. Acest lucru permite vizualizări, de exemplu. O transformare Fourier rapidă generează un tabel cu toate frecvențele din cadrul audio curent, care începe de la capătul de jos al spectrului, trecând de la frecvențe medii la cele înalte, în această ordine. În cazul în care întâ...")
  • 07:12, 1 October 2023Table.flip (hist | edit) ‎[1,436 bytes]IManGaaX (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="lua">string table.flip( table )</syntaxhighlight> ===Required Arguments=== * '''tbl''': The table to convert. ===Returns=== Returns table with flip values <section name="Shared function" class="both" show="true"> <syntaxhighlight lang="lua"> function table.flip(theTable) if (type(theTable) == "table") then local newTable = {} local tableNumber = -1 for i = 1, #theTable do tableNumber = tableNumber + 1 table.insert(newTabl...")
  • 17:32, 23 September 2023ProcessLineAgainstMesh (hist | edit) ‎[2,113 bytes]Pirulax (talk | contribs) (Create the page. Needs an example!)
  • 08:11, 21 September 2023SetCursorCenteredOnRectangle (hist | edit) ‎[1,286 bytes]Hydra (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function will center the cursor inside of an rectangle. ==Syntax== <syntaxhighlight lang="lua">bool setCursorCenteredOnRectangle ( float x, float y, float width, float height)</syntaxhighlight> ===Required Arguments=== * '''x:''' The x position of the rectangle. * '''y:''' The y position of the rectangle. * '''width:''' The width of the rectangle. * '''height:''' The width of the rectangle. ===Returns=== Returns a ''true'' if the op...")
  • 15:00, 6 September 2023EngineResetModelTXDID (hist | edit) ‎[545 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function restores the original TXD ID of the given model ID. Reverses the effect of EngineSetModelTXDID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineResetModelTXDID( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to restore the model of ===Returns=== Returns ''true'' if this function succeeds, throw a...")
  • 18:26, 3 September 2023EngineFreeTXD (hist | edit) ‎[674 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function is used to un-assign the specified TXD ID from the engineRequestTXD assignment.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineFreeTXD ( int txdID ) </syntaxhighlight> ===Required Arguments=== *'''txdID''': the TXD ID you want to have un-assigned. ===Returns=== Returns ''true'' if the TXD was successfully freed, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> -- T...")
  • 17:04, 3 September 2023EngineRequestTXD (hist | edit) ‎[1,266 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|22190|This function is used to register the next available TXD ID.}} ==Syntax== <syntaxhighlight lang="lua"> int engineRequestTXD ( string name ) </syntaxhighlight> ===Required Arguments=== *'''name''': TXD name string up to 24 characters. ===Returns=== {{New feature/item|3.0160|1.6.0|22190| Returns an ''integer'' of the TXD ID that was available to be assigned to game models, ''false'' if no free TXD ID avai...")
  • 03:00, 3 September 2023DgsCircleGetColor (hist | edit) ‎[892 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> int dgsCircleGetColor( element circle ) </syntaxhighlight> ===Required Arguments=== *'''rndRect:''' A dgs circle element. ===Returns=== Returns an ''int'' value of the color if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs function fromcolor(int) --from color local...")
  • 02:59, 3 September 2023DgsCircleSetColor (hist | edit) ‎[709 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetColor( element circle, int color ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin that you want to change. *'''color:''' An int of the color of the dgs circle. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get expor...")
  • 02:56, 3 September 2023DgsCircleGetTextureRotation (hist | edit) ‎[798 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the texture rotation from the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgsCircleGetTextureRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle''': A dgs-dxcircle plugin. ===Returns=== Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' if successful, ''false'' otherwise. ==Example== <syntaxhighlight la...")
  • 02:52, 3 September 2023DgsCircleGetDirection (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the direction from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleGetDirection( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''bool'' indicates if dgs circle is anti-clockwise or clockwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5,0....")
  • 02:51, 3 September 2023DgsCircleSetDirection (hist | edit) ‎[964 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the direction of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetDirection( element circle, bool direction ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''direction : ''' A bool indicates if dgs circle is anti-clockwise or clockwise. **''true:'' anti-clockwise **''false:'' clockwise ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Exa...")
  • 02:31, 3 September 2023DgsCircleSetAngle (hist | edit) ‎[644 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the angle of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetAngle( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''angle: ''' A float of the angle in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs loc...")
  • 02:29, 3 September 2023DgsCircleGetRotation (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:28, 3 September 2023DgsCircleGetAngle (hist | edit) ‎[655 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:27, 3 September 2023DgsCircleSetRotation (hist | edit) ‎[687 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the rotation of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetRotation( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''rotation : ''' A float of the rotation in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions...")
  • 02:42, 30 August 2023GetColorFilter (hist | edit) ‎[3,498 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Added feature/item|3.0161|1.6.0|22188|This function is used to get the values of color filtering.}} {{Tip|Normally the game is adding these colors to a screen to simulate weather effects. Sometimes it can be important to disable these effects. You can get rid of the effects by calling setColorFilter with zero values.}} ==Syntax== <syntaxhighlight lang="lua"> int, int, int, int, int, int, int, int getColorFilter ( bool isOriginal )...")
  • 23:32, 25 August 2023EngineStreamingGetBufferSize (hist | edit) ‎[1,166 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size ['''not''' maximum memory size]}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetBufferSize() </syntaxhighlight> {{OOP||EngineStreaming:setBufferSize|bufferSize|engineStreamingGetBufferSize}} ===Returns=== The streaming buffer size. It is always a positive non-zero number. ==Example== This example adds a command that can be used to change the streamin...")
  • 23:30, 25 August 2023EngineStreamingSetBufferSize (hist | edit) ‎[1,663 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size. The larger it is, the more models can be loaded in one go BUT increases the RAM ['''not''' streaming memory!] usage. Can help with custom IMG loading speed by reducing pop-in.}} {{Important Note|'''This function is meant for advanced users only, as it can lead to stability issues'''. Using a very high value might result in more crashes, while using a value too low might le...")
  • 23:19, 25 August 2023EngineStreamingRestoreMemorySize (hist | edit) ‎[1,032 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Restores the maximum amount of RAM [in bytes] that can be used for streaming to the default value}} {{Tip|The function to manipulate the memory size is engineStreamingSetMemorySize}} ==Syntax== <syntaxhighlight lang="lua"> nil engineStreamingSetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:restoreMemorySize||}} ==Example== This example adds a command that can be used to change the stre...")
  • 23:08, 25 August 2023EngineStreamingGetMemorySize (hist | edit) ‎[1,293 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Gets the maximum amount of RAM [in bytes] that can be used for streaming}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:getMemorySize|memorySize|engineStreamingSetMemorySize}} ==Returns== The maximum amount of RAM [in bytes] that can be used for streaming. It is always a non-zero positive number. ==Example== This example add...")
  • 23:02, 25 August 2023EngineStreamingSetMemorySize (hist | edit) ‎[1,684 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Sets the maximum amount of [in bytes] that can be used for streaming}} {{Tip|To restore to the default value use engineStreamingRestoreMemorySize}} {{Important Note|**This function is meant for advanced users only, as it can lead to stability issues**. Using a very high value might result in more crashes, while using a value too low might lead to frequent pop-in [and due to the way MTA works micro-st...")
  • 22:50, 25 August 2023EngineStreaming (hist | edit) ‎[98 bytes]Pirulax (talk | contribs) (Created page with "Static class used for manipulating the GTA:SA streaming engine.")
  • 00:30, 19 August 2023PT-BR/Introdução OOP (hist | edit) ‎[9,679 bytes]Sousateew (talk | contribs) (Created page with "{{Nota|Se você contribuiu editando e ajustando esta página do fórum, se você se beneficiou deste tutorial ou se você tem algo a dizer; por favor, me dê um feedback no link do fórum fornecido abaixo.}} Este é um tutorial de script que explica o que é programação orientada a objetos e ensina como usar os recursos de OOP (Programação Orientada a Objetos) do MTA. Isso foi originalmente criado por qaisjp (discussão)...")
  • 00:05, 18 August 2023DxDrawDiamond (hist | edit) ‎[1,316 bytes]Sousateew (talk | contribs) (Create (eS/dxDrawRombo by ClawSuit))
  • 11:40, 15 August 2023DgsComboBoxSetItemBackGroundColor (hist | edit) ‎[1,122 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemBackGroundColor( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''colorDefault:''' An integer of the colo...")
  • 11:37, 15 August 2023DgsComboBoxGetItemBackGroundColor (hist | edit) ‎[940 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function gets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 integers if exist are '''colorDefault''', '''colorHoving''', '''colorSelecte...")
  • 11:34, 15 August 2023DgsComboBoxGetItemBackGroundImage (hist | edit) ‎[1,071 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function gets the background texture of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> texture/nil, texture/nil, texture/nil dgsComboBoxGetItemBackGroundImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 textures if exist are '''imageDefault''', '''imag...")
  • 11:31, 15 August 2023DgsComboBoxSetItemBackGroundImage (hist | edit) ‎[1,164 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the row background texture of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetRowBackGroundImage( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''imageDefault:''' An integer of the image of the item...")
  • 17:05, 12 August 2023DxGetLibrary (hist | edit) ‎[669 bytes]ClawSuit (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion extrae los diferentes exports de la libreria en forma de variables para hacer el uso de la libreria mas facil para ello debe de complementarse con '''<span style="color:#00ff00; text-shadow:black 0em 0.1em 0.1em;">loadstring</span>'''. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="l...")
  • 07:40, 12 August 2023DgsCreateMenu (hist | edit) ‎[2,731 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} frame|Example DGS Menu. This function is for creating a DGS menu. DGS menu is '''invisible''' by default. To show menu, use dgsMenuShow. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateMenu( float x, float y, float width, float height, bool relative [, element parent = nil ] ) </syntaxhighlight> ===Required Arguments=== *'''x:''' A float of the 2D x position of the DGS menu on a player's screen. This i...")
  • 07:35, 12 August 2023OnDgsMenuHover (hist | edit) ‎[1,765 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when cursor enters an item of a DGS menu. ==Parameters== <syntaxhighlight lang="lua"> dgs-dxmenu subMenu, integer itemUniqueIndex </syntaxhighlight> * '''subMenu''': The sub dgs-dxmenu that the item in. * '''itemUniqueIndex''': The item id. ==Source== The source of this event is the root dgs menu element. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local menu = DGS:dgsCreat...")
  • 07:34, 12 August 2023OnDgsMenuSelect (hist | edit) ‎[1,764 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the item of a DGS menu is clicked. ==Parameters== <syntaxhighlight lang="lua"> dgs-dxmenu subMenu, integer itemUniqueIndex </syntaxhighlight> * '''subMenu''': The sub dgs-dxmenu that the item in. * '''previous''': The item id that last selected. ==Source== The source of this event is the root dgs menu element. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local menu = DG...")
  • 16:33, 10 August 2023Surface format (hist | edit) ‎[2,364 bytes]CrosRoad95 (talk | contribs) (Add surface format page)
  • 00:37, 10 August 2023DxListRemoveItem (hist | edit) ‎[949 bytes]ClawSuit (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion elimina un texto o item de una dxList. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxListRemoveItem(element, index int)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': Elemento dxList creado previamente. * '''index''': Un entero que representa la...")
  • 00:20, 10 August 2023DxListAddItem (hist | edit) ‎[853 bytes]ClawSuit (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion agrega un texto al final de la una dxList. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxListAddItem(element, item)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxList creada. * '''item''': Un texto(string) que se agregara a la lista. ==Eje...")
  • 19:16, 7 August 2023FileGetContents (hist | edit) ‎[1,661 bytes]Botder (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} Reads the entire contents of the file '''starting from the current file position''', optionally verifies the read contents by computing and comparing the checksum with the expected one, and returns the content as string. Please note that even if you enable SD #22 and #23 on your server, you are not protected from user attacks, which can happen after verification of the file, but before you read the contents of such verified file. Th...")
  • 14:14, 7 August 2023Zdarzenia po stronie Klienta (hist | edit) ‎[1,089 bytes]Tracer (talk | contribs) (Created page with "<pageclass class="client"></pageclass> Ta strona zawiera wszystkie zdarzenia po '''stronie klienta''' i są dostępne w Deathmatch mod. Jeśli chciałbyś zaproponować nowe zdarzenie, napisz w Requested Functions and Events. '''Zdarzenia po stronie serwera można znaleźć tutaj: Server Scripting Events ==Zdarzenia kolizji figur== {{Client_colshape_events}} ==Zdarzenie elementów== {{Client_element_events}} ==Zdarzenia GUI== {{GUI_events}} ==Zdar...")
  • 10:39, 5 August 2023DgsComboBoxRemoveItemImage (hist | edit) ‎[1,063 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function remove the image from the combo box item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxRemoveItemImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item. ===Returns=== Returns '''true''' if set successfully, ''false'' if one of the arguments was invalid. ==Example==...")
  • 10:37, 5 August 2023DgsComboBoxGetItemImage (hist | edit) ‎[1,107 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function gets the image from a combo box item. ==Syntax== <syntaxhighlight lang="lua"> texture, int, float, float, float, float dgsComboBoxGetItemImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item. ===Returns=== Returns texture, Color, PosX, PosY, Width, Height if success , ''false'...")
  • 10:35, 5 August 2023DgsComboBoxSetItemImage (hist | edit) ‎[1,693 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the image on a combo box item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemImage( element comboBox, int itemIndex, element texture [, int color = 0xFFFFFFFF, float offsetX = 0, float offsetY = 0, float width, float height, bool relative ] ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item...")
  • 13:05, 30 July 2023OnExplosion (hist | edit) ‎[1,873 bytes]Srslyyyy (talk | contribs) (Add onExplosion event (https://github.com/multitheftauto/mtasa-blue/pull/3130))
  • 07:13, 27 July 2023DgsGridListGetItemFont (hist | edit) ‎[1,364 bytes]A7M8D (talk | contribs) (Created page with "{{Client function}} With this function you can retrieve the font of an item in a dgs grid list.<br/> ==Syntax== <syntaxhighlight lang="lua"> var dgsGridListGetItemFont ( element gridList, int rowIndex, int columnIndex ) </syntaxhighlight> ===Required Arguments=== *'''gridList:''' the grid list containing the item you're interested in *'''rowIndex:''' the row index of the item *'''columnIndex:''' the column index of the item ===Returns=== Returns the font of the s...")
  • 15:48, 25 July 2023SetGrainMultiplier (hist | edit) ‎[1,304 bytes]TEDERIs (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|21894|This function is used to adjust an intensity of the grain effect in different situations. It separately modulates an intensity of effect for infrared goggles, night vision goggles, rain and screen overlay.}} ==Syntax== <syntaxhighlight lang="lua"> bool setGrainMultiplier ( string modifierName, float multiplier ) </syntaxhighlight> ===Required Arguments=== *'''modifierName :''' The modifier name to u...")
  • 15:22, 25 July 2023SetGrainLevel (hist | edit) ‎[1,032 bytes]TEDERIs (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|21894|This function sets the level of the overlay grain effect. The game will draw it on top of another grain effects. It can be used to imitate an effect of radiation or electromagnetic disturbances, for example.}} ==Syntax== <syntaxhighlight lang="lua"> bool setGrainLevel ( int level ) </syntaxhighlight> ===Required Arguments=== *'''level:''' The amount of grain (0-255). ===Returns=== Returns ''true''...")
  • 09:27, 25 July 2023ResetPedVoice (hist | edit) ‎[881 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Resets the voice of a ped to a default one. {{Note|A ped voice is one of the GTA built in voice character types. Not to be confused with a player voice.}} ==Syntax== <syntaxhighlight lang="lua"> bool resetPedVoice ( ped thePed ) </syntaxhighlight> {{OOP||ped:resetVoice}} ===Required Arguments=== *'''thePed:''' the ped whose voice to reset. ===Returns=== Returns ''true'' when the voice was successfully reset, ''false...")
  • 02:38, 10 July 2023SetVehicleWheelModel (hist | edit) ‎[1,799 bytes]AirNewSCR (talk | contribs) (→‎Code)
  • 11:51, 25 June 2023Changes in 1.6.2 (hist | edit) ‎[3,844 bytes]Myonlake (talk | contribs) (Created page with "<pageclass class="#4286f4" subcaption="Future release"></pageclass> {{Changelogs}} __NOTOC__ '''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.''' * GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.6.1...master * GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/11 * Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.6.1...m...")
  • 14:25, 11 June 2023SetCameraDrunkLevel (hist | edit) ‎[1,465 bytes]Myonlake (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|21795|This function sets the camera drunk level (as seen on the ''Are you going to San Fierro?'' singleplayer mission). This function was renamed from setCameraShakeLevel.}} Drunk effect is a wavy motion of the camera depicting the player being drunk. This function used to be called setCameraShakeLevel which has since been deprecated. ==Syntax== <syntaxhighlight lang="lua"> bool setCameraDrunkLevel...")
  • 14:19, 11 June 2023GetCameraDrunkLevel (hist | edit) ‎[1,474 bytes]Myonlake (talk | contribs) (Created page with "{{Client function}} __NOTOC__ ==Syntax== <syntaxhighlight lang="lua"> int getCameraDrunkLevel ( ) </syntaxhighlight> ===Returns=== Returns an integer representing the camera drunk level, from 0 (no drunk effect) to 255 (maximum drunk effect). By default, the camera has no drunk effect. Drunk effect is a wavy motion of the camera depicting the player being drunk. This function used to be called getCameraShakeLevel which has since been deprecated. ==Example== This...")
  • 11:39, 11 June 2023IT/Resource:Mapmanager (hist | edit) ‎[13,845 bytes]Myonlake (talk | contribs) (Created page with "{{IT/MainP}} Category:100% {{IT/Risorsa}} Il '''map manager''' è una risorsa inclusa nel pacchetto server di MTA:SA DM e comprende comandi, funzioni ed eventi per le gamemodes per gestire dinamicamente le loro mappe. Ad esempio, quando un server ha bisogno di caricare diverse mappe per una race mode, invece di essere messe tutte nella risorsa della gamemode, possono essere inserite in una risorsa separata ed essere successivamente richiamate con la funzione "changeG...")
  • 08:49, 11 June 2023Page unavailable (hist | edit) ‎[297 bytes]Myonlake (talk | contribs) (Created page with "<!-- DO NOT DELETE THIS PAGE. This page is used by Wiki mirrors as a fallback page for pages that are not mirrored. --> This page is not currently available, please try again later. If you're coming from a Wiki mirror, this page has been excluded from the mirror to reduce the amount of pages.")
  • 16:01, 29 April 2023PL/Timeline (hist | edit) ‎[12,927 bytes]FileEX (talk | contribs) (Translated)
  • 09:04, 17 April 2023SetScreenFlash (hist | edit) ‎[834 bytes]Hydra (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function allows you to attach an effect to an element. ==Syntax== <syntaxhighlight lang="lua">bool setScreenFlash()</syntaxhighlight> ==Code== <syntaxhighlight lang="lua"> function setScreenFlash() fadeCamera(false, 0.2, 255, 255, 255) setTimer(function() fadeCamera(true) end, 100, 1) end) </syntaxhighlight> ==Example== <section name="Client" class="client" show="true"> Quick Example, your scree...")
  • 02:14, 17 April 2023Model flags (hist | edit) ‎[2,033 bytes]Nurupo (talk | contribs) (Created page with "{| class="wikitable" !Flag Name !Description !Examples |- |is_road |Identifies objects to draw "wet reflections" on them. |Roads |- |draw_last |Model is transparent. Render this object after all opaque objects, allowing transparencies of other objects to be visible through this object. |Fences, trees |- |addictive |Render with additive blending. Previous flag will be enabled automatically. |Night windows |- |ignore_lighting |Don't use static lighting, we want dynamic if...")
  • 20:36, 16 April 2023EngineSetModelFlag (hist | edit) ‎[522 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function changes specific model flag.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetModelFlag( int modelID, string flagName, bool state ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to set flag. * '''flagName''': flag name. * '''state''': flag state. ===Returns=== Returns ''boolean'' with flag state, throws an erro...")
  • 19:18, 16 April 2023EngineGetModelFlag (hist | edit) ‎[475 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function returns specific model flag.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineGetModelFlags( int modelID, string flagName ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. * '''flagName''': flag name. ===Returns=== Returns ''true'' if flag enabled, ''false'' otherwise. ==See Also== {{Engine_functions}}")
  • 19:12, 16 April 2023EngineGetModelFlags (hist | edit) ‎[452 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function returns model flags.}} ==Syntax== <syntaxhighlight lang="lua"> int engineGetModelFlags( int modelID ) </syntaxhighlight> {{OOP||Engine.getModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Returns=== Returns ''int'' with model flags in GTA format, throws an error otherwise. ==See Also== {{Engine_functions}}")
  • 19:05, 16 April 2023EngineSetModelFlags (hist | edit) ‎[589 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function changes model flags.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetModelFlags( int modelID, int flags [, bool ideFlags] ) </syntaxhighlight> {{OOP||Engine.setModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to change. * '''flags''': flags. ===Optional Arguments=== {{OptionalArg}} * '''ideFlags''': use IDE flag format. ===Returns=== Returns ''true'...")
  • 18:48, 16 April 2023EngineResetModelFlags (hist | edit) ‎[463 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores model flags to default state.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineResetModelFlags( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to reset. ===Returns=== Returns ''true'' if model flags was successfully restored, ''false'' otherwise. ==See Also== {{Engine_functions}}")
  • 18:08, 10 April 2023EngineGetModelTXDID (hist | edit) ‎[422 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function gets TXD ID from a model.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineGetModelTXDID ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to get TXD ID from. ===Returns=== Returns ID if successful, false otherwise. ==See Also== {{Engine_functions}}")
  • 18:03, 10 April 2023EngineImageGetFile (hist | edit) ‎[815 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function adds an IMG file container to GTA.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageGetFile ( img img_file, string file_name ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to get file from. * '''file_name'': Name of the file you want to get. ===Returns==...")
  • 18:02, 10 April 2023EngineImageGetFiles (hist | edit) ‎[824 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function gets the files from an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageGetFiles ( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to get files from. ===Returns=== Returns files in the IMG element if successfull, false othe...")
  • 17:54, 10 April 2023EngineRestoreTXDImage (hist | edit) ‎[621 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores changes to TXD file from IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRestoreTXDImage ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to restore. ===Returns=== Returns ''true'' if IMG file was successfully restored,...")
  • 17:53, 10 April 2023EngineRestoreDFFImage (hist | edit) ‎[621 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores changed from IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRestoreDFFImage ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to restore. ===Returns=== Returns ''true'' if IMG file was successfully restored, ''false'' ot...")
  • 17:51, 10 April 2023EngineImageLinkTXD (hist | edit) ‎[1,156 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function links TXD file with an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageLinkTXD ( img img_file, string file_path, int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to link. * '''file_path''': Path to the TXD file you want to li...")
  • 17:50, 10 April 2023EngineImageLinkDFF (hist | edit) ‎[1,076 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function links DFF with an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageLinkDFF ( img img_file, string file_path, int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to link. * '''file_path''': Path to the DFF file you want to link. *...")
  • 17:42, 10 April 2023EngineAddImage (hist | edit) ‎[582 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function adds an IMG filecontainer from GTA.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineAddImage( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to add. ===Returns=== Returns an IMG element if the IMG file was successfully added, ''false'' o...")
  • 17:40, 10 April 2023EngineRemoveImage (hist | edit) ‎[766 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function removes an IMG container from GTA.}} {{Note|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRemoveImage ( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to remove. ===Returns=== Returns ''true'' if IMG file was successfully removed, ''false'' otherwise....")
  • 15:27, 10 April 2023EngineImageGetFilesCount (hist | edit) ‎[673 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function returns the number of files an IMG file has. ==Syntax== <syntaxhighlight lang="lua"> int engineImageGetFilesCount ( img imgArchive ) </syntaxhighlight> {{OOP||img:getFilesCount||}} ===Required Arguments=== *'''imgArchive:''' the IMG archive handler ===Returns=== Returns an ''int'' with the number of files. ==Example== You could use the following code: <syntaxhighlight lang="lua"> local img = engineLoadIMG( "file.im...")
  • 23:54, 8 April 2023EngineLoadIMG (hist | edit) ‎[1,016 bytes]Insigne (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function loads an IMG container into GTA.}} ==Syntax== <syntaxhighlight lang="lua">img engineLoadIMG( string img_file )</syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The filepath to the IMG file you want to load. ===Returns=== Returns an IMG element if the IMG file loaded, ''false'' otherwise. ==See Also== {{Engine_functions}}")
  • 20:12, 8 April 2023Changes in 1.6.1 (hist | edit) ‎[23,243 bytes]Myonlake (talk | contribs) (Created page with "<pageclass class="#4286f4" subcaption="Next release"></pageclass> {{Changelogs}} __NOTOC__ '''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.")
  • 09:59, 8 April 2023PL/getSoundEffects (hist | edit) ‎[977 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffects) Tag: New redirect
  • 09:56, 8 April 2023PL/getSoundEffectParameters (hist | edit) ‎[1,176 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffectParameters) Tag: New redirect
  • 17:46, 7 April 2023PL/float (hist | edit) ‎[166 bytes]Tracer (talk | contribs) (Redirected page to Float) Tag: New redirect
  • 17:43, 7 April 2023PL/getSoundBufferLength (hist | edit) ‎[3,355 bytes]Tracer (talk | contribs) (TODO: Change the example)
  • 01:09, 4 April 2023GetElementRelatedAngle (hist | edit) ‎[3,926 bytes]LordHenry (talk | contribs) (Created page with "__NOTOC__ {{Useful Function}} This function returns the related angle between one element to another. This is useful to check if a player is on the left side of a vehicle, for example. ==Syntax== <syntaxhighlight lang="lua">float, float getElementRelatedAngle (element thisElement, element targetElement)</syntaxhighlight> ===Required Arguments=== * '''thisElement''': The element whose '''XY position''' will be checked to obtain the angle relative to the other...")
  • 08:37, 17 March 2023RO/getPedClothes (hist | edit) ‎[1,698 bytes]Hydra (talk | contribs) (Created page with "{{Server client function}} __NOTOC__ Această funcție este folosită pentru a vedea hainele, texturile si modelul unui ped ped. ==Sintaxă== <syntaxhighlight lang="lua"> string, string getPedClothes ( ped thePed, int clothesType ) </syntaxhighlight> {{OOP||ped:getClothes||addPedClothes}} ===Argumente Necesare=== *'''thePed:''' ped ale cărui haine vreți să le obțineți. *'''clothesType:''' Tipul/slot de îmbrăcăminte pe care doriți să-l obțineți....")
  • 17:13, 15 March 2023RO/Cum Poti Ajuta (hist | edit) ‎[4,311 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ Multi Theft Auto are o mulțime de domenii în care ne puteți ajuta. La rândul nostru, vom fi mai mult decât bucuroși să vă ajutăm să începeți cu orice idei pe care le aveți, să le ajutăm să le testăm și, dacă sunt suficient de bune, să le lansăm întregii comunități. Această pagină prezintă domeniile cheie în care ați putea face ceva, desigur, există multe lucruri la care nu ne-am gândit, așa că gândiți-vă în afara cutiei! ==...")
  • 16:40, 15 March 2023RO/Main Page (hist | edit) ‎[9,634 bytes]Hydra (talk | contribs) (Created page with "<div style="display: flex; align-items: center; padding-left: 15px; padding-right: 15px;"> |100px|link=https://wiki.multitheftauto.com/ <div style="margin-left: .5em"> '''Bine ai venit pe wiki-ul Multi Theft Auto''' Pe acest wiki veți găsi o mulțime de informații despre utilizarea Multi Theft Auto. Există multe things you can do to help us îmbunătățiți MTA - creați o hartă, un mod de joc, ajutați la documentare...")
  • 16:27, 15 March 2023RO/getPedArmor (hist | edit) ‎[875 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} Această funcție returnează armura curentă unui ped specificat. ped ==Syntax== <syntaxhighlight lang="lua">float getPedArmor ( ped thePed )</syntaxhighlight> {{OOP||ped:getArmor|armor|setPedArmor}} ===Argumente Necesare=== *'''thePed:''' ped armura cui vrei sa ii verifici ===Returnează=== Un ''float'' cu armură, ''fals'' dacă a fost dat un ped invalid. ==Exemplu== <section name="Client" class="client" show="true"...")
  • 16:20, 15 March 2023RO/getPedAmmoInClip (hist | edit) ‎[1,585 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} Această funcție returnează un număr care conține muniția dintr-o armă specificată a lui ped. Vedeți Informații despre arme ==Syntax== <syntaxhighlight lang="lua"> int getPedAmmoInClip ( ped thePed [, int weaponSlot = current ] ) </syntaxhighlight> {{OOP||ped:getAmmoInClip|ammoInClip}} ===Argumente Necesare=== *'''thePed:''' ped a cărui muniție doriți să verificați. ===Argumente Opționale=== *...")
  • 16:14, 15 March 2023RO/createPed (hist | edit) ‎[3,194 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} Creează un ped în lumea GTA. ==Sintaxă== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">ped createPed ( int id model, float x, float y, float z [, float rotație = 0.0, bool sincronizat = true ] )</syntaxhighlight> ===Argumente Necesare=== *'''id model:''' Un număr care specifică modelul pielii GTASA skin ID. *'''x:''' Un număr care reprezintă coordonatele X de pe hartă...")
  • 05:22, 3 March 2023CreateGarageColShape (hist | edit) ‎[2,998 bytes]LordHenry (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function creates a collision shape from the specified garage. Most garage collision shapes are rectangles, but if the garage is diagonal, its collision shape is a polygon. {{VisualizeColshape}} ==Syntax== <syntaxhighlight lang="lua">colshape createGarageColShape (int garageID)</syntaxhighlight> ===Required Arguments=== *'''garageID:''' The garage ID that represents the garage interior that's being gotten....")
  • 09:33, 16 February 2023IsCommandHandlerAdded (hist | edit) ‎[1,280 bytes]Hydra (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ Checks if a command is added in the respective resource. ==Syntax== <syntaxhighlight lang="lua"> isCommandHandlerAdded(string command) </syntaxhighlight> ===Required Arguments=== *'''command:''' The name of the command you want to check. ===Returns=== Return true if the command exists and false if not. ==Code== <section name="Serverside script" class="server" show="true"> <syntaxhighlight lang="lua"> fu...")
  • 11:51, 11 February 2023OnDgsElementLeave (hist | edit) ‎[1,492 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse away from a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY'...")
  • 11:49, 11 February 2023OnDgsElementEnter (hist | edit) ‎[1,485 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse over a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY, element leftGUI </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '...")
  • 15:59, 5 February 2023DgsRadioButtonGetButtonAlign (hist | edit) ‎[899 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function gets the alignment of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> string dgsRadioButtonGetButtonAlign ( dgsRadioButton ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button. ===Returns=== Returns a ''string'' indicates the alignment of the button of a dgs radio button if successful, ''false'' otherwise. Valid type strings are: **"left": The dgs radio button wi...")
  • 15:54, 5 February 2023DgsRadioButtonGetButtonSide (hist | edit) ‎[849 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function gets the side of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> string dgsRadioButtonGetButtonSide ( dgsRadioButton [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button. ===Returns=== Returns a ''string'' indicates side of the button if successful, ''false'' otherwise. Valid type strings are: *"left": The dgs radio button will be placed i...")
  • 15:49, 5 February 2023DgsCheckBoxGetButtonSide (hist | edit) ‎[822 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function gets the side of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> string dgsCheckBoxGetButtonSide ( dgsCheckBox [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box. ===Returns=== Returns a ''string'' indicates side of the button if successful, ''false'' otherwise. Valid type strings are: **"left": The dgs check box will be placed in the left side o...")
  • 15:47, 5 February 2023DgsRadioButtonSetButtonSide (hist | edit) ‎[840 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function sets the side of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> bool dgsRadioButtonSetButtonSide ( dgsRadioButton [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs radio button. *'''side:''' The side of the button of the dgs radio button is placed. Valid type strings are: **"left": The dgs radio button will be placed in the left side of the text. **"ri...")
  • 15:41, 5 February 2023DgsCheckBoxSetButtonSide (hist | edit) ‎[810 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function sets the side of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCheckBoxSetButtonSide ( dgsCheckBox [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box. *'''side:''' The side of the button of the dgs check box is aligned to. Valid type strings are: **"left": The dgs check box will be placed at the left side of the text. **"right": The dgs...")
  • 15:35, 5 February 2023DgsRadioButtonSetButtonAlign (hist | edit) ‎[948 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function sets the alignment of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> bool dgsRadioButtonSetButtonAlign ( dgsRadioButton [, string side = "left"] ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button to set the vertical alignment. *'''side:''' The side the dgs radio button's button is aligned to. Valid type strings are: **"left": The dgs radio button will be aligne...")
  • 13:33, 5 February 2023DgsCheckBoxGetButtonAlign (hist | edit) ‎[869 bytes]Kezoto (talk | contribs) (Created blank page)
  • 13:33, 5 February 2023DgsCheckBoxSetButtonAlignment (hist | edit) ‎[0 bytes]Kezoto (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function sets the alignment of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCheckBoxSetButtonAlignment(dgsCheckBox, string relative[, string side = "left"]) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box to set the vertical alignment. *'''relative:''' The object the dgs check box's button is relative to. Valid type strings are: **"text": The dgs check box will be rel...")
  • 13:24, 5 February 2023DgsCheckBoxSetButtonAlign (hist | edit) ‎[916 bytes]Kezoto (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function sets the alignment of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCheckBoxSetButtonAlign(dgsCheckBox, string alignment [, string side = "left"]) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box to set the vertical alignment. *'''relative:''' The object the dgs check box's button is relative to. Valid type strings are: **"text": The dgs check box will be relat...")
  • 07:19, 3 February 2023ThunderMta (hist | edit) ‎[50 bytes]AmirMmd (talk | contribs) (Created page with "Thunder Mta [Coming Soon")
(newest | oldest) View ( | older 100) (20 | 50 | 100 | 250 | 500)