Hitman HQ [Help]
#7

How ?
the Enter Cmd work with Dynamic Doors , biz and houses why with the hitman HQ ?
Under Cmd : Enter
pawn Код:
// Hitman HQ
    else if(IsPlayerInRangeOfPoint(playerid, 2.0,  1938.545898, 165.629531, 37.281250))
    {
        if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
        {
            SetPlayerVirtualWorld(playerid, 666420);
            PlayerInfo[playerid][pVW] = 666420;
            SetPlayerInterior(playerid, 42);
            PlayerInfo[playerid][pInt] = 42;
            SetPlayerPos(playerid, 1277.019165, -758.428771, 5080.750000);
            SetPlayerFacingAngle(playerid, 358.16);
            SetCameraBehindPlayer(playerid);

            LoadObjectsForPlayer(playerid);
            SendClientMessage(playerid, COLOR_WHITE, "You can /order weaponry in the armory room.");
        }
    }
And CMD : Exit
pawn Код:
// Hitman HQ
    else if(IsPlayerInRangeOfPoint(playerid, 2.0, 1277.019165, -758.428771, 5080.750000) && (GetPlayerVirtualWorld(playerid) == 666420))
    {
        if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
        {
            SetPlayerVirtualWorld(playerid, 0);
            PlayerInfo[playerid][pVW] = 0;
            SetPlayerInterior(playerid, 0);
            PlayerInfo[playerid][pInt] = 0;
            SetPlayerPos(playerid, 1938.545898, 165.629531, 37.281250);
            SetPlayerFacingAngle(playerid, 338.54);
            SetCameraBehindPlayer(playerid);
        }
    }
Reply


Messages In This Thread
Hitman HQ [Help] - by Kaylen - 06.09.2014, 20:03
Re: Hitman HQ [Help] - by Winchaster - 06.09.2014, 20:27
Re: Hitman HQ [Help] - by Kaylen - 06.09.2014, 20:32
Re: Hitman HQ [Help] - by Winchaster - 06.09.2014, 20:34
Re: Hitman HQ [Help] - by Kaylen - 06.09.2014, 20:40
Re: Hitman HQ [Help] - by Winchaster - 06.09.2014, 20:43
Re: Hitman HQ [Help] - by Kaylen - 06.09.2014, 20:53
Re: Hitman HQ [Help] - by The__ - 06.09.2014, 21:06
Re: Hitman HQ [Help] - by Kaylen - 06.09.2014, 21:15
Re: Hitman HQ [Help] - by Don_Cage - 06.09.2014, 22:10

Forum Jump:


Users browsing this thread: 2 Guest(s)