25.09.2010, 13:43
pawn Код:
public OnPlayerConnect(playerid)
{
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
SetPlayerMapIcon(playerid, 31, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, 0 );
}
if(HouseInfo[h][hOwned] == 1)
{
SetPlayerMapIcon(playerid, 32, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 32, 0 );
}
}
}
how to fix it ??