Thanks. Just out of curiosity, would this work as well?
Code:
new menu[256];
new key (1<<0|2<<0)
new len = format(menu,sizeof(menu), "Menu: /R Cost:^n")
add(menu,sizeof(menu), "^n1. Item 1 /R $%d", get_cvar_num("item1_cost"))
Also, is [
new len = format(menu,sizeof(menu), "Menu: /R Cost:^n")] required? Would it still work if I just used format alone without the new statement?