04.12.2010, 06:38
Hi,
I'm trying to figure out why that one row always gets slightly fucked up.

Here's what I scripted, it works fine when not using any colours.
I'm trying to figure out why that one row always gets slightly fucked up.

Here's what I scripted, it works fine when not using any colours.
pawn Код:
// _bikes enum here ..
new bikes[ ][ _bikes ] =
{
{ 0, "Faggio", 462, 650000 },
{ 1, "BMX", 481, 400000 },
{ 2, "Mountain Bike",510, 800000 },
{ 3, "PCJ-600", 461, 1500000 },
{ 4, "FCR-900", 521, 2600000 },
{ 5, "Freeway", 463, 2200000 },
{ 6, "BF-400", 581, 1300000 },
{ 7, "Sanchez", 468, 2300000 },
{ 8, "Wayfarer", 586, 2400000 }
};
new
iString[ 384 ],
tmps[ 35 ];
for(new c; c < sizeof(bikes); c++)
{
format(tmps,sizeof(tmps),"{FFFFFF}%s {248716}($%s) \n",bikes[c][bikename], number_format(bikes[c][bikeprice]));
strcat(iString,tmps);
}
ShowPlayerDialog(playerid, 14, DIALOG_STYLE_LIST, "Bike Dealership", iString, "Buy", "Cancel");

