Need help PLEASE
#5

ok, thx i got it ! this is what i have now!

Код:
forward MoveGates();

new Float:z;
new Float:x;
new Float:y;

public OnGamemodeInit()
{
     SetTimer("MoveGates", 2000, true); //2000 is 2 seconds, which means it will check every 2 seconds. Change it to whatever you want.
}

public MoveGates()
{
     GetObjectPos(ob1, x, y, z);
     if (z == 148.59642029)
     {
          MoveObject(ob1 , -1136.44543457, -987.37402344, 130, 3.1);
          MoveObject(ob2 , -1136.31091309,-991.23712158, 160, 3.1);
     }
      else
     {
           MoveObject(ob1 , -1136.44543457, -987.37402344, 148.59642029, 3.1);
          MoveObject(ob2 , -1136.31091309,-991.23712158, 150.75749207, 3.1); 
      }
      return 1;
}
Reply


Messages In This Thread
Need help PLEASE - by Hamudi_Chi - 30.11.2010, 00:10
Re: Need help PLEASE - by randomkid88 - 30.11.2010, 00:24
Re: Need help PLEASE - by Hamudi_Chi - 30.11.2010, 20:40
Re: Need help PLEASE - by randomkid88 - 30.11.2010, 21:02
Re: Need help PLEASE - by Hamudi_Chi - 03.12.2010, 01:53
Re: Need help PLEASE - by randomkid88 - 03.12.2010, 02:12

Forum Jump:


Users browsing this thread: 1 Guest(s)