Does anyone has clue why its NOT working?
#1

I really dont see what's wrong with that, maybe the variable i? but I setted it good.. atleast, I think so.
Anyways, does anyone has clue what's wrong down here? it is supposed to check if player has a house, and if he does, it will spawn him into his house's interior.
pawn Код:
else if(Player[playerid][House] != 0) {
                for(new i = 0; i < sizeof(Houses); i++) {
                    if(Player[playerid][PrisonID] != 1) {
                        if(Player[playerid][PrisonID] != 2) {
                            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]);
                            }
                        }
                    }
                }
            }
Thank you.
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)