[Help] +Rep
#1

Can someone help me with makeing Door in the script not from /ddedit
all under command enter are right but its not working i don't know why ?!!
Like Hitman HQ
Reply
#2

You're going to have to explain it better than that for anyone to be able to help you.
Reply
#3

Quote:
Originally Posted by austin070
Посмотреть сообщение
You're going to have to explain it better than that for anyone to be able to help you.
Okay
all of this not work
Look this the Hitman HQ Codes
this under ENTER Command
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.");
        }
    }
and this under EXIT command
pawn Код:
// 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
#4

I'm assuming you made yourself part of faction 4, leader of faction 4, and you are within 2 units of the door? If not, it won't work. I know that seems pretty self explanatory, but you'd be surprised by the amount of people that don't notice these things.
Reply
#5

Quote:
Originally Posted by austin070
Посмотреть сообщение
I'm assuming you made yourself part of faction 4, leader of faction 4, and you are within 2 units of the door? If not, it won't work. I know that seems pretty self explanatory, but you'd be surprised by the amount of people that don't notice these things.
what you mean ??!
its hitman HQ @
Reply
#6

Yes, I get that. Are you in the hitman faction? Are you the leader of the hitman faction? Those are the requirements to use the command.
Reply
#7

yes , i made my self the leader of the hitman and i went to this 1938.545898, 165.629531, 37.281250 and i typed enter and it's do nothing
Reply
#8

Could you post the entire code for the command?
Reply
#9

Which command ?
Reply
#10

The enter command? The command you're having trouble with...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)