Gates Problem
#10

pawn Код:
if(IsPlayerInRangeOfPoint(i, 10.0, 2335.18, 2443.37, 7.06)) //for gate one
    {
      if(gateopen == false) // If the gate isn't open...
      {
      MoveObject(gate, 2335.18, 2443.37, -5.00, 2.5);
gateopen = true;
 }
}
     else if(IsPlayerInRangeOfPoint(i, 10.0,5.18 233, 2294.3279,2498.1768,-5.2734)) //for gate two
     {
      if(gateopen == false) // If the gate isn't open...
      {
         MoveObject(gate2, 2294.3279,2498.1768,-5.2734, 2.5);
      gateopen = true;
      }
}
      return; //This closes the callback
Reply


Messages In This Thread
Gates Problem - by sscarface - 06.01.2013, 15:00
Re: Gates Problem - by sscarface - 06.01.2013, 15:14
Re: Gates Problem - by ancezas - 06.01.2013, 15:16
Re: Gates Problem - by thefatshizms - 06.01.2013, 15:17
Re: Gates Problem - by sscarface - 06.01.2013, 15:26
Re: Gates Problem - by sscarface - 06.01.2013, 15:28
Re: Gates Problem - by sscarface - 06.01.2013, 15:35
Re: Gates Problem - by ancezas - 06.01.2013, 15:35
Re: Gates Problem - by sscarface - 06.01.2013, 15:38
Re: Gates Problem - by ancezas - 06.01.2013, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)