21.07.2013, 19:05
Ok, So I have made a 3d text label but can't seem to give it a new line.
I have so far
I have tryed this code but it doesn't give me a new line.
I am wanting it so that it basicly say's this.
Owned by: name
Rented by: name
Cost: Cost
instead of doing it all on one line like this
Owned by: name Rented by: name Cost: cost
any one can help?
I have so far
pawn Код:
format(string, sizeof(string), "Owned by: %s Rented by: %s Cost: %d", hInfo[housenumber][Name], hInfo[housenumber][Renter], hInfo[housenumber][Cost]);
Delete3DTextLabel(HouseLabel[housenumber]);
HouseLabel[housenumber] = Create3DTextLabel(string, 0x008080FF, iconA,iconB,iconC, 10.0, 0, 1);
pawn Код:
format(string, sizeof(string), "Owned by: %s\n Rented by: %s \n Cost: %d", hInfo[housenumber][Name], hInfo[housenumber][Renter], hInfo[housenumber][Cost]);
Delete3DTextLabel(HouseLabel[housenumber]);
HouseLabel[housenumber] = Create3DTextLabel(string, 0x008080FF, iconA,iconB,iconC, 10.0, 0, 1);
Owned by: name
Rented by: name
Cost: Cost
instead of doing it all on one line like this
Owned by: name Rented by: name Cost: cost
any one can help?