Does anyone has clue why its NOT working?
#4

Where did you put that code?
Use debug, if it's called or not each statement.
pawn Код:
else if(Player[playerid][House] != 0)
{
    print("1");
    for(new i = 0; i < sizeof(Houses); i++)
    {
        print("2");
        if(Player[playerid][PrisonID] != 1)
        {
            print("3");
            if(Player[playerid][PrisonID] != 2)
            {
                print("4");
                Player[playerid][InHouse] = i;
                SetPlayerInterior(playerid, Houses[i][hInteriorID]);
                SetPlayerVirtualWorld(playerid, 55000+i);
                SetPlayerPos(playerid, Houses[Player[playerid][House]][hInteriorX], Houses[Player[playerid][House]][hInteriorY], Houses[Player[playerid][House]][hInteriorZ]);
            }
        }
    }
}
Reply


Messages In This Thread
Does anyone has clue why its NOT working? - by Ben7544 - 24.07.2011, 22:49
Re: Does anyone has clue why its NOT working? - by =WoR=Varth - 25.07.2011, 00:45
Re: Does anyone has clue why its NOT working? - by Ben7544 - 25.07.2011, 00:54
Re: Does anyone has clue why its NOT working? - by =WoR=Varth - 25.07.2011, 01:57

Forum Jump:


Users browsing this thread: 1 Guest(s)