How can I change the color of business write? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How can I change the color of business write? (
/showthread.php?tid=445388)
How can I change the color of business write? -
ProjectFutureRolePlay - 21.06.2013
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);
Re: How can I change the color of business write? -
Mystique - 21.06.2013
You mean like the color of the 3D text label? Just change the "COLOR_WHITE" to any other color you have defined.
Re: How can I change the color of business write? -
ProjectFutureRolePlay - 21.06.2013
Yes sir ty.