30.04.2014, 21:19
First of all what's the point of this line? If the system is dynamic, the chances of it to have both same House ID and slot in the array are minimum.
Also showing the dialog inside the loop will only show for the last house. You need to format the string with the previous text and then show the dialog out of the loop
pawn Код:
if(HouseInfo[i][hHouseID] == i)
pawn Код:
for (...)
{
format(string, sizeof (string), "%s ...", string, ...);
}
ShowPlayerDialog(...);