28.11.2014, 11:44
Quote:
The only way to do it would be to have lots of formats to my best knowledge.
E.g.: Code:
format(string,sizeof(string),"ItemData("idx[%d]", item_idx); format(string,sizeof(string),"%sName[%s]", string, Item[item_idx][Name]); format(string,sizeof(string),"%sInfo[%s]", string, Item[item_idx][Info]); //and so on... |