View Single Post
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-24-2024 , 21:23   Re: Change color in menu
Reply With Quote #4

https://github.com/alliedmodders/amx...wmenus.cpp#L94 see `m_ItemColor`
you have to recompile the source

Edit:
apparently youre able to change the number color
https://github.com/alliedmodders/amx...enus.cpp#L1103
https://github.com/alliedmodders/amx...newmenus.h#L32
Code:
#include <amxmodx> const MPROP_SET_NUMBER_COLOR = 10 public plugin_init()     register_clcmd("say f", "clcmd_f") public clcmd_f(id) {     new menu = menu_create("menu", "menu_handler")     menu_additem(menu, "item 1")     menu_additem(menu, "item 2")     menu_additem(menu, "item 3")     menu_setprop(menu, MPROP_SET_NUMBER_COLOR, "\w")     menu_display(id, menu) } public menu_handler(id, menu)     menu_destroy(menu)
__________________

Last edited by bigdaddy424; 04-24-2024 at 21:39.
bigdaddy424 is offline