#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
forward GateCloseLS();
#if defined FILTERSCRIPT
new pdgateLS;
public OnFilterScriptInit()
{
pdgateLS = CreateObject(19912, 2587.96802, -2111.82202, 2.59070,   0.00000, 0.00000, 0.00000);
print("\n--------------------------------------");
	print(" PDGate FS BY Splitx provided by www.samp-rus.com");
	print("--------------------------------------\n");
	return 1;
}
public OnFilterScriptExit()
{
	return 1;
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/gate", true)==0)
       {
       MoveObject(pdgateLS,2587.96802, -2111.82202, -2.59070);

      SetTimer("GateCloseLS", 10000, 0);
      SendClientMessage(playerid, COLOR_YELLOW," ÂÎÐÎÒÀ ÎÒÊÐÛÒÛ, ÎÍÈ ÇÀÊÐÎÞÒÑß ×ÅÐÅÇ 10 ÑÅÊÓÍÄ. ");
      return 1;
       }

	return 0;
}
public GateCloseLS()
{
       MoveObject(pdgateLS,2587.96802, -2111.82202, 2.59070,1.5);
	  }
