Hello, lets say i have an enum and a const:
PHP Code:
enum _:g_iItemCount
{
ITEM1,
ITEM2,
ITEM3
}
new const g_iItems[g_iItemCount][] =
{
"Item #1",
"Item #2",
"Item #3"
}
and lets say i only want to add the third item, ITEM3 and "Item #3" if a variable is set to 0, how would i do? I tried to add an if statement in the middle of the enum and it didnt work.
__________________