Originally Posted by rickisme
Replace :
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, HouseData[i][housePos][0], HouseData[i][housePos][1], HouseData[i][housePos][2]))
With :
pawn Код:
if(HouseData[houseid][houseExists] && IsPlayerInRangeOfPoint(playerid, 2.0, HouseData[i][housePos][0], HouseData[i][housePos][1], HouseData[i][housePos][2]))
|