Trouble opening gate
#1

Hey,
I have trouble opening two gates at the same time (also opening one gate at the time).

Here's the part of my script:

Код:
new warehousegate;
new warehousegate2;
Код:
	warehousegate	=	CreateStreamObject(969,2233.48828125,-2214.86328125,12.546875,0.000000,0.000000,315.58032226563,75); //
	warehousegate2	=	CreateStreamObject(969,2227.2202148438,-2208.5847167969,12.546875,0.000000,0.000000,315.34533691406,75); //
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/opengate", cmdtext, true, 10) == 0)
	{
	  MoveObject(warehousegate, 2238.3955078125, -2219.7905273438, 12.546875,1.50000);
	  SendClientMessage(playerid,white,"Warehouse gates openening.");
	 // MoveObject(warehousegate2, 2223.69140625, -2205.0378417969, 12.546875,1.50000);//12.546875
	  return 1;
	}
	return 0;
}
Thanks for the help
Reply


Messages In This Thread
Trouble opening gate - by VonLeeuwen - 10.01.2010, 11:59
Re: Trouble opening gate - by Jeffry - 10.01.2010, 12:06
Re: Trouble opening gate - by Deat_Itself - 10.01.2010, 12:08
Re: Trouble opening gate - by VonLeeuwen - 10.01.2010, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)