User contributions for Mohab

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

26 July 2025

25 July 2025

15 July 2025

10 July 2025

  • 09:2509:25, 10 July 2025 diff hist +613 GetMarkerTargetArrowPropertiesNo edit summary current
  • 09:0909:09, 10 July 2025 diff hist −17 DgsMenuAddSeparatorNo edit summary current
  • 08:5308:53, 10 July 2025 diff hist +1,255 N DgsMenuRemoveItemCreated page with "{{Client function}} __NOTOC__ This function removes an item from a DGS menu element. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuRemoveItem ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element from which to remove the item *'''uniqueID:''' The unique ID of the menu item to remove (returned by dgsMenuAddItem) ===Returns=== Returns ''true'' if the item was successfully removed, ''false'' if the item wit..." current
  • 08:3208:32, 10 July 2025 diff hist +231 DgsMenuAddSeparatorNo edit summary
  • 08:3208:32, 10 July 2025 diff hist +18 N File:DGS Text Seperator.pngNo edit summary current
  • 08:2808:28, 10 July 2025 diff hist +6,359 N DgsMenuAddSeparatorCreated page with "{{Client function}} __NOTOC__ This function adds a separator to a DGS menu. A separator is a visual divider that can be used to organize menu items into logical groups. It can be displayed as a horizontal line or as text. ==Syntax== <syntaxhighlight lang="lua"> int uniqueID, int position dgsMenuAddSeparator ( element menu [, string text, int parentItemID, int position ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element to add the separator..."
  • 07:5307:53, 10 July 2025 diff hist +86 N File:Dgs seperator.pngNo edit summary current
  • 06:4306:43, 10 July 2025 diff hist +5,085 N DgsMenuGetItemColorCreated page with "{{Client function}} __NOTOC__ This function gets the color of a specific menu item. You can retrieve the colors either as separate RGBA components or as color values. ==Syntax== <syntaxhighlight lang="lua"> int r, int g, int b, int a, int hr, int hg, int hb, int ha dgsMenuGetItemColor ( element menu, int uniqueID ) int normalColor, int hoverColor dgsMenuGetItemColor ( element menu, int uniqueID, bool notSplitColor ) </syntaxhighlight> ===Required Arguments=== *'''menu:..."
  • 06:1806:18, 10 July 2025 diff hist +4,335 N DgsMenuSetItemColorCreated page with "{{Client function}} __NOTOC__ This function sets the color of a specific menu item. You can set both the normal and hover colors for the item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemColor ( element menu, int uniqueID, int r, int g, int b [, int a ] ) bool dgsMenuSetItemColor ( element menu, int uniqueID, int color ) bool dgsMenuSetItemColor ( element menu, int uniqueID, table colors ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS..." current
  • 06:0606:06, 10 July 2025 diff hist +1,405 N DgsMenuGetItemTextSizeCreated page with "{{Client function}} __NOTOC__ This function gets the text size of a specific menu item. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsMenuGetItemTextSize ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Returns=== Returns two floats representing the horizontal and vertical text scale factors, or '..." current
  • 05:5905:59, 10 July 2025 diff hist +1,762 N DgsMenuSetItemTextSizeCreated page with "{{Client function}} __NOTOC__ This function sets the text size of a specific menu item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemTextSize ( element menu, int uniqueID, float textSizeX [, float textSizeY ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''textSizeX:''' The horizontal scale of the text ===Optional Argum..." current
  • 04:5204:52, 10 July 2025 diff hist −28 DgsMenuGetItemTextNo edit summary current
  • 04:5104:51, 10 July 2025 diff hist −34 DgsMenuGetItemCommandNo edit summary current
  • 04:5104:51, 10 July 2025 diff hist −28 DgsMenuSetItemCommandNo edit summary current
  • 04:5104:51, 10 July 2025 diff hist −28 DgsMenuGetItemCommandNo edit summary
  • 04:5104:51, 10 July 2025 diff hist −28 DgsMenuSetItemTextNo edit summary current
  • 04:5004:50, 10 July 2025 diff hist −28 DgsMenuHideNo edit summary current
  • 04:5004:50, 10 July 2025 diff hist −28 DgsMenuAddItemNo edit summary current
  • 04:4904:49, 10 July 2025 diff hist +1,339 N DgsMenuGetItemTextCreated page with "{{Client function}} __NOTOC__ This function retrieves the displayed text of a menu item. ==Syntax== <syntaxhighlight lang="lua"> string dgsMenuGetItemText ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Returns=== Returns the text string if successful, ''false'' if the item doesn't exist. ==Examples== <sy..."
  • 04:4704:47, 10 July 2025 diff hist −42 DgsMenuSetItemTextNo edit summary
  • 04:4704:47, 10 July 2025 diff hist +2,023 N DgsMenuSetItemTextCreated page with "{{Client function}} __NOTOC__ This function changes the displayed text of an existing menu item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemText ( element menu, int uniqueID, string text ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''text:''' The new text to display for this menu item ===Returns=== Returns ''true'' i..."
  • 04:4404:44, 10 July 2025 diff hist +2,041 N DgsMenuGetItemCommandCreated page with "{{Client function}} __NOTOC__ This function retrieves the command identifier of a menu item. The command is used to identify which action should be performed when the item is selected. ==Syntax== <syntaxhighlight lang="lua"> string dgsMenuGetItemCommand ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Retur..."
  • 04:4004:40, 10 July 2025 diff hist +2,233 N DgsMenuSetItemCommandCreated page with "{{client function}} __NOTOC__ This function changes the command identifier of an existing menu item. The command is used to identify the item when it's selected. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemCommand ( element menu, int uniqueID, string command ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''command:''' Th..."
  • 04:3204:32, 10 July 2025 diff hist +2,862 N DgsMenuAddItemCreated page with "{{client function}} __NOTOC__ This function adds a new item to a DGS menu. Each item can have text, a command identifier, and can optionally be a child of another item to create submenus. ==Syntax== <syntaxhighlight lang="lua"> int, int dgsMenuAddItem ( element menu, string text, string command [, int parentItemID, int position ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element to add the item to *'''text:''' The text that will be display..."
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)