01.05.2017, 12:41
You had the ID, Enter price switcher.
PHP код:
if(Biz[i][OwnerID] == -1) format(string, sizeof(string), "%s(ID: %d) \nEnter: %d$ \nFor Sale: %d$", Biz[i][Name], i, Biz[i][Enter], Biz[i][Price]);
else
{
if(Biz[i][Price] != 0) format(string, sizeof(string), "%s(ID: %d) \nEnter: %i$ \nOwner: %s \nFor Sale: %d$", Biz[i][Name], i, Biz[i][Enter], Biz[i][OwnerName], Biz[i][Price]);
else format(string, sizeof(string), "%s(ID: %d) \nEnter: %i$ \nOwner: %s", Biz[i][Name], Biz[i][Enter], i, Biz[i][OwnerName]);
}