Hey Leute ich wollte nur mal fragen wie man hier ein Command einfügen könnte um das Tor zu öffnen:
new OATor2;
new OATor2Pos;
            if(IsPlayerInRangeOfPoint(playerid, 15,2233.48, -2214.75, 13.35))
            {
                if(SpielerInfo[playerid][sMember] == 18 || SpielerInfo[playerid][pAdmin] >= 1 && AdminDuty[playerid] == 1 || GetPVarInt(playerid, "SEK-Duty") == 1)
                {
                	if(OATor2Pos == 0)
                    {
                        MoveObject(OATor2, 2225.47, -2206.65, 13.35, 3);
                        OATor2Pos = 1;
                    }
                    else if(OATor2Pos == 1)
                    {
                        MoveObject(OATor2, 2233.48, -2214.75, 13.35, 3);
                        OATor2Pos = 0;
                    }
                }
            }
OATor2 = CreateObject(980, 2233.48, -2214.75, 13.35,   0.00, 0.00, -45.36);
 OATor2Pos = 0;