Fence,Gate,Block Moveing
#8

pawn Код:
forward Traders();
 
public OnGameModeInit( )
{
  print("Starting timer...");
  SetTimer("Traders",180000,true);
}
 
public Traders()
{
  print("Traders doors are now open");
  MoveObject(Trader1,1644.6403,-1717.2532,32.8169,1.5000);
  SetTimer("close",10000,false);
}

forward close();
public close()
{
  print("Traders doors are now closed");
  MoveObject(Trader1,/*the position of the object closed here */);
}

that's every 3 minutes's it will open after it open in 10 seconds it will close again then the timer when hits 3 mins again will open it then auto 10 seconds later close it and it will do so till you stop your mode.
Reply


Messages In This Thread
Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 16:37
Re: Fence,Gate,Block Moveing - by Correlli - 02.02.2010, 16:39
Re: Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 16:43
Re: Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 16:48
Re: Fence,Gate,Block Moveing - by Hrvo182 - 02.02.2010, 16:50
Re: Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 16:52
Re: Fence,Gate,Block Moveing - by Rzzr - 02.02.2010, 16:54
Re: Fence,Gate,Block Moveing - by shady91 - 02.02.2010, 16:58
Re: Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 17:10
Re: Fence,Gate,Block Moveing - by shady91 - 02.02.2010, 17:15
Re: Fence,Gate,Block Moveing - by hardstop - 02.02.2010, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)