Just do:
Code:
nLen = format(szMenuBody , 255 , "[Buy Menu]\R Cost");
nLen += format(szMenuBody , (255 - nLen) , "1. Something\R $%d" , get_cvar_num("blah_cost"));
I'm not sure if you're familiar with that style of menus but that's just an example.
\R makes it align it to the right.
__________________