New pages

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