05.08.2011, 17:08
I think it should be like this:
pawn Код:
ForLoop(i,5)
{
if(HouseInfo[HouseID[playerid]][hItem][i] == 0)
{
HouseInfo[HouseID[playerid]][hItem][i] = 2;
printf("Item ID: %i | Item type: %i",i, HouseInfo[HouseID[playerid]][hItem][i]);
break;
}
}