26.04.2012, 14:00
Is it possible to make an array for example;
if it is, how would I put it into a dialog?
pawn Код:
new LowClassCars[][] = {
"Moonbeam"
}
new LowClassCars[][] = {
"Moonbeam"
}
new string[512];
for(new i = 0; i < sizeof(LowClassCars); i++)
{
format(string, sizeof(string), "%s%s\n", string, LowClassCars[i]);
}
ShowPlayerDialog(playerid, dialogid, dialogtype, header, string, button1, button2);