02.10.2010, 10:15
pawn Code:
for(new i = 0; i < MAX_HOUSES; i++)
{
if(HouseInfo[i][hOwned] == 0)
{
SetPlayerMapIcon(31, 0, HouseInfo[i][hEntrancePosX], HouseInfo[i][hEntrancePosY], HouseInfo[i][hEntrancePosZ],52,0);
CreatePickup(1273, 1, HouseInfo[i][hEntrancePosX], HouseInfo[i][hEntrancePosY], HouseInfo[i][hEntrancePosZ]);
}
else
{
SetPlayerMapIcon(32, 0, HouseInfo[i][hEntrancePosX], HouseInfo[i][hEntrancePosY], HouseInfo[i][hEntrancePosZ],52,0);
CreatePickup(1272, 1, HouseInfo[i][hEntrancePosX], HouseInfo[i][hEntrancePosY], HouseInfo[i][hEntrancePosZ]);
}
}