(HELP) Please help me with this
#1

Hey, i have this, this is, after login spawn in your bought house, but when i spawn i can get out of my house and
if i allowed HouseEntered and i go out of house and relog, i didn't spawn in my house but before my house, out of house...

Please look and tell me, what is bad on this..
pawn Код:
if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,HouseInfo[house][hInt]);
                SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
                SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
                PlayerInfo[playerid][pLocal] = house;
                //HouseEntered[playerid] = house;
                PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
                return 1;
Reply


Messages In This Thread
(HELP) Please help me with this - by spaty2 - 18.07.2011, 20:34
Re: (HELP) Please help me with this - by DeadAhead - 18.07.2011, 20:57
Re: (HELP) Please help me with this - by spaty2 - 18.07.2011, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)