22.10.2010, 13:37
Faremos assim:
Em
Insira:
Em
pawn Код:
public OnPlayerConnect
Insira:
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
SetPlayerMapIcon(playerid,90,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],31, 0);
}
if(HouseInfo[h][hOwned] == 1)
{
SetPlayerMapIcon(playerid,90,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],32, 0);
}
}