18.03.2012, 15:27
IsPlayerInRangeOfPoint expects 5 arguments and you only have 4.
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
also your useing the wrong var for it
if(IsPlayerInRangeOfPoint(j,RANGE ,HouseInfo[j][hEnterX], HouseInfo[j][hEnterY], HouseInfo[j][hEnterZ])
this should be i as it wants a playerid not a houseid,
and add a range your checking for..
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
also your useing the wrong var for it
if(IsPlayerInRangeOfPoint(j,RANGE ,HouseInfo[j][hEnterX], HouseInfo[j][hEnterY], HouseInfo[j][hEnterZ])
this should be i as it wants a playerid not a houseid,
and add a range your checking for..