number of...
#2

Try this:

pawn Код:
if(IsPlayerInRangeOfPoint(i, 7, HouseInfo[j][hEnterX], HouseInfo[j][hEnterY], HouseInfo[j][hEnterZ]) && GetPlayerInterior(i) == HouseInfo[j][hOutsideInt] && GetPlayerVirtualWorld(i) == HouseInfo[j][hOutsideVir])
You didn't add a range. Plus, why are you using j as the playerid? From what it looks like, you are doing a loop with the variable i, as you check i's interior/virtual world, so I changed j to i on IsPlayerInRangeOfPoint.
Reply


Messages In This Thread
number of... - by kepa333 - 24.07.2012, 15:23
Re: number of... - by Kindred - 24.07.2012, 15:26
Re: number of... - by kepa333 - 24.07.2012, 15:38
Re: number of... - by Kindred - 24.07.2012, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)