DgsMenuSetItemColor: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

10 July 2025

  • curprev 06:1806:18, 10 July 2025Mohab talk contribs 4,335 bytes +4,335 Created 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..."