/enterhouse bugged
#3

Quote:
Originally Posted by Dare Devil.....
Посмотреть сообщение
pawn Код:
CMD:enterhouse(playerid, params[])
{
    for(new i = 0; i < MAX_HOUSES;i++)
    {
        if(IsPlayerInRangeOfPoint(playerid,2.5,HInfo[i][XPos],HInfo[i][YPos],HInfo[i][ZPos]))
        {
            if(HInfo[i][locked] == 0)
            {
                SetPlayerVirtualWorld(playerid,playerid);
                SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
            }
        }
        return 1;
    }
    return 0;
}
This is my /enterhouse but I wanted to ask that when a player enters it he gose into air can I fix it?
what you mean it goes into air? can you add more details?

SetPlayerVirtualWorld(playerid, -1) or specified virtual world of the house. and you forgot to use SetPlayerInterior(playerid,....)
Reply


Messages In This Thread
/enterhouse bugged - by Dare Devil..... - 17.08.2012, 03:17
Re: /enterhouse bugged - by Sandiel - 17.08.2012, 05:20
Re: /enterhouse bugged - by kbalor - 17.08.2012, 05:22

Forum Jump:


Users browsing this thread: 2 Guest(s)