28.06.2013, 21:35
Quote:
Why are you storing it as a string anyway? You can just format it when it needs to be sent to the output.
|
if (nolicense[playerid]) license[0] = "{COLOR CODE}$1000";
else if (havelicense[playerid]) license[0] = "{COLOR CODE}$500";
Then its
format(gstring, sizeof(gstring), "The price is d", $license[0]);
SendClientMessage(playerid, COLOR_GREEN, gstring);