pick up icon
#2

Well, first you need a /enter command, like this one:

pawn Код:
if(strcmp(cmd, "/enter", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerToPoint(3.0,playerid, 1552.8628,-1675.5975,16.1953)) //Change this coordinates to your exterior door to the house
            {
                SetPlayerPos(playerid, 246.7840,63.9005,1003.6406); //Change this coordinates to your interior door to the house
                SetPlayerFacingAngle(playerid, 0.0000); //Also change the facing angle if you want
                SetPlayerInterior(playerid, 6); //Change the interior ID
                SetCameraBehindPlayer(playerid);
            }
        }
        return 1;
    }
Just change the coordinates to the house exterior door and the interior ID.
Reply


Messages In This Thread
pick up icon - by [Lsrcr]Rafa - 31.08.2010, 17:24
Re: pick up icon - by Fredden1993 - 31.08.2010, 17:38
Re: pick up icon - by [Lsrcr]Rafa - 31.08.2010, 17:40
Re: pick up icon - by Fredden1993 - 31.08.2010, 17:43
Re: pick up icon - by [Lsrcr]Rafa - 31.08.2010, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)