new string[128];format(string,sizeof(string),"%s\n %d",bname,bprice);//I don't even know \n is work with 3d Text or notUpdate3DTextLabelText(Your3DText,color,string);