What i'm trying to achieve:
new g_ItemID[33];
g_ItemID[
id]
= 5;
Before I open the menu with items in it, the code checks integer from
g_ItemID[
id] and will add
\d in front of the menu entry with the integer in it's "info" argument.
PHP Code:
menu_additem(item, "doneld duck", "1", 0);
menu_additem(item, "dank kush", "2", 0);
menu_additem(item, "spongebob", "3", 0);
menu_additem(item, "default entry", "4", 0);
menu_additem(item, "\dBat", "5", 0); // <-- Selected
How could I achieve this?