How can I change the color of business write?
#1

Hey sry to bother but can you help me in that kind of situation , Theres a code good and works and compiled very well , One thing , How can I change the colors of business write?
Код:
		    BizInfo[idx][bType] = type;
		    format(BizInfo[idx][bOwner], 32, "The State");
		    BizInfo[idx][bX] = X;
		    BizInfo[idx][bY] = Y;
		    BizInfo[idx][bZ] = Z;
		    BizInfo[idx][bMoney] = 0;
		    BizInfo[idx][bProducts] = 5;
		    BizInfo[idx][bSold] = 0;
		    BizInfo[idx][bLevel] = 1;
		    BizInfo[idx][bPrice] = 250000;
			BizInfo[idx][bPickup] = CreateDynamicPickup(1272, 1, X, Y, Z, 0);
			format(string, sizeof(string), "Biz ID: %d\n%s\nOwner: %s\nStatus: For Sale\nPrice: $%d", idx, RBT(idx), BizInfo[idx][bOwner], BizInfo[idx][bPrice]);
			BizInfo[idx][bText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, X, Y, Z, 15);
Reply
#2

You mean like the color of the 3D text label? Just change the "COLOR_WHITE" to any other color you have defined.
Reply
#3

Yes sir ty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)