New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 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...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)