Gates
#10

for now i have this
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 15, 286.03, 1820.46, 19.94))
    {
        AutoTor1P=playerid;
        MoveObject(ArmyGate1,286.03, 1833.72, 19.94, 3, 0.00, 0.00, 90.00);//offen Gate1
        AutoTor1S = SetTimer("AutoTor1",1000,true);
       
   
    }
    return 1;
}
pawn Код:
forward AutoTor1();
public AutoTor1()
{
    if(!IsPlayerInRangeOfPoint(AutoTor1P,15,286.03, 1820.46, 19.94))
    {
        MoveObject(ArmyGate1,286.03, 1820.46, 19.94, 3, 0.00, 0.00, 90.00);//zu Gate1
        KillTimer(AutoTor1S);
    }
}
do you think it work?
Reply


Messages In This Thread
Gates - by dalkgamler - 25.07.2012, 12:59
AW: Gates - by Nero_3D - 25.07.2012, 14:32
AW: Gates - by dalkgamler - 25.07.2012, 16:01
AW: Gates - by dalkgamler - 25.07.2012, 16:07
AW: Gates - by Nero_3D - 25.07.2012, 17:59
AW: Gates - by dalkgamler - 26.07.2012, 06:53
AW: Gates - by dalkgamler - 27.07.2012, 06:41
Re: Gates - by dowster - 27.07.2012, 06:51
AW: Gates - by dalkgamler - 27.07.2012, 06:53
AW: Gates - by dalkgamler - 27.07.2012, 07:24

Forum Jump:


Users browsing this thread: 2 Guest(s)