HouseID
#1

pawn Код:
stock HouseID(playerid)
{
    new returnid = 1;
    for(new i = 1;i < sizeof(StaticHouse);i ++)
    {
        if(PlayerToPoint(1,playerid,House[i][HD_ExtX],House[i][HD_ExtY],House[i][HD_ExtZ]))
        {
            returnid = i;
        }
    }
    return returnid;
}
the problem is that even if the player is near that point the PlayerToPoint doesn't detect it, the PlayerToPoint is not modified any ideas what might be the problem?
Reply


Messages In This Thread
HouseID - by MPKaboose - 10.08.2009, 16:07
Re: HouseID - by MPKaboose - 10.08.2009, 18:15
Re: HouseID - by MadeMan - 10.08.2009, 18:33
Re: HouseID - by MPKaboose - 10.08.2009, 18:34
Re: HouseID - by JaTochNietDan - 10.08.2009, 19:10
Re: HouseID - by James_Alex - 10.08.2009, 19:12
Re: HouseID - by MPKaboose - 10.08.2009, 19:46
Re: HouseID - by MPKaboose - 11.08.2009, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)