Gate does not move how I want it to.
#2

you don't have i

try this:
Код:
pdgate = CreateObject(968, 1544.68005, -1630.89001, 13.05000,   0.00000, 90.00000, 90.00000);

if(!IsPlayerConnected(i));
{
if(Factions[Player[i][Faction]][CommandTypes] == 1 || Factions[Player[i][Faction]][CommandTypes] == 3)
                {
                    if(pdgatestatus == 0)
                    {
                        if(IsPlayerInRangeOfPoint(i, 20, 1544.6823, -1627.3782, 12.3759))
                        {
                            pdgatestatus = 1;
                            MoveObject(pdgate, 1544.68005, -1630.89001, 13.05000, 1, 0,0, 90.00);
                            SetTimerEx("ClosePDGate", 7000, false, "");
                        }
                    }
                }
}

public ClosePDGate()
{
    if(pdgatestatus == 1)
    {
        pdgatestatus = 0;
        MoveObject(pdgate, 1544.68005, -1630.89001, 13.05000, 1,  0.00000, 90.00000, 90.00000);
    }
    return 1;
}
sry I'm on mobile
Reply


Messages In This Thread
Gate does not move how I want it to. - by Stefand - 12.06.2013, 10:31
Re: Gate does not move how I want it to. - by AntonioCroatia - 12.06.2013, 10:57
Re: Gate does not move how I want it to. - by Stefand - 12.06.2013, 11:01
Re: Gate does not move how I want it to. - by AntonioCroatia - 12.06.2013, 11:04
Re: Gate does not move how I want it to. - by Stefand - 12.06.2013, 11:07
Re: Gate does not move how I want it to. - by Pottus - 12.06.2013, 11:19
Re: Gate does not move how I want it to. - by Stefand - 12.06.2013, 13:06
Re: Gate does not move how I want it to. - by Stefand - 12.06.2013, 21:13
Re: Gate does not move how I want it to. - by park4bmx - 12.06.2013, 21:20
Re: Gate does not move how I want it to. - by Stefand - 12.06.2013, 21:27

Forum Jump:


Users browsing this thread: 2 Guest(s)