Hq [Help] [+Rep]
#1

How to make hitman Hq or Door in pawn ?
i have the interior , exterior and checkpoint when i type /showmehq
when i go to the exterior and type /enter it said nothing

What i need to make it works ?
pawn Код:
// Hitman HQ
    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);

            TogglePlayerControllable(playerid, 0);
            for(new o = 0; o < 6; o++)
            {
                TextDrawShowForPlayer(playerid, ObjectsLoadingTD[o]);
            }
            SetPVarInt(playerid, "LoadingObjects", 1);
            SetTimerEx("SafeLoadObjects", 3000, 0, "d", playerid);
            SendClientMessage(playerid, COLOR_WHITE, "You can /order weaponry in the armory room.");
        }
    }




// Hitman HQ
    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
Hq [Help] [+Rep] - by Kaylen - 02.10.2014, 21:43
Re: Hq [Help] [+Rep] - by Youssef214 - 02.10.2014, 21:45
Re: Hq [Help] [+Rep] - by Kaylen - 02.10.2014, 21:50
Re: Hq [Help] [+Rep] - by Youssef214 - 02.10.2014, 21:53
Re: Hq [Help] [+Rep] - by Kaylen - 02.10.2014, 21:56
Respuesta: Hq [Help] [+Rep] - by ghost556 - 03.10.2014, 02:49
Re: Hq [Help] [+Rep] - by JJack - 03.10.2014, 02:53
Re: Respuesta: Hq [Help] [+Rep] - by Kaylen - 03.10.2014, 12:57
Re: Hq [Help] [+Rep] - by MichealScript - 03.10.2014, 12:59
Re: Hq [Help] [+Rep] - by Kaylen - 03.10.2014, 13:12

Forum Jump:


Users browsing this thread: 1 Guest(s)