Interior problem
#1

So I made a house, but whenever I enter it, I just fall from the sky, I have tried like all virtual worlds and the coordinates are completely right, whats the problem?

pawn Код:
if(strcmp(cmdtext, "/enter", true)==0)
    {
    if(PlayerToPoint(3, playerid, -425.2294,-3659.9846,12.9834))
        {
            GetPlayerPos(playerid,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]);
            PosSelected[playerid] = 1;
            SetPlayerPos(playerid,1767.115967,5843.313477,25483.246094);
            SetPlayerVirtualWorld(playerid,2);
            GameTextForPlayer(playerid,"~w~Welcome to the~n~~y~White Shadows Meeting Room",3000,4);
        }
        else
        {
            SendClientMessage(playerid,COLOR_RED,"You're not at an entrance");
            PosSelected[playerid] = 0;
        }
        return 1;
    }
Reply


Messages In This Thread
Interior problem - by McCarthy - 11.07.2011, 15:09
Re: Saving player money - by Jeffry - 11.07.2011, 15:14
Re: Saving player money - by McCarthy - 11.07.2011, 15:15
Re: Interior problem - by Jeffry - 11.07.2011, 15:20
Re: Interior problem - by McCarthy - 11.07.2011, 15:23
Re: Interior problem - by Jeffry - 11.07.2011, 15:53
Re: Interior problem - by McCarthy - 11.07.2011, 17:37
Re: Interior problem - by Jeffry - 12.07.2011, 12:54

Forum Jump:


Users browsing this thread: 2 Guest(s)