04.08.2013, 09:04
Okay im trying to use colors on a dialog but it just shows the normal color. My code:
pawn Код:
new string[2048], HouseID;
HouseID = APlayerData[playerid][CurrentHouse];
format(string, sizeof(string), "%sSome house info you may find helpfull:\n", string);
format(string, sizeof(string), "%sYour house id: {DB881A}%i{FFFFFF}\n", string, HouseID);
format(string, sizeof(string), "%sYour house X: {DB881A}%f{FFFFFF}, Y:{DB881A}%f{FFFFFF}, Z:{DB881A}%f{FFFFFF}\n", string, AHouseData[HouseID][HouseX], AHouseData[HouseID][HouseY], AHouseData[HouseID][HouseZ]);
format(string, sizeof(string), "%sYour house buy price: %i, Your house selling price: %i", string, AHouseData[HouseID][price], AHouseData[HouseID][price]*0.75);
format(string, sizeof(string), "%sFor any old European Trucking players that think that you can still buy cars here, you cant.\n", string);
format(string, sizeof(string), "%sYou need to buy your vehicles at the dealers.", string);
ShowPlayerDialog(playerid, DialogHouseInfo, DIALOG_STYLE_MSGBOX, "House info", string, "Ok", "");