All pastes #840484 Raw Edit

Untitled

public text v1 · immutable
#840484 ·published 2007-12-31 22:39 UTC
rendered paste body
#include <a_samp>


#define FILTERSCRIPT
forward GateClose();
#if defined FILTERSCRIPT
// You add this things in ur GM ~AND~ dont forget pdgate = CreateObject
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/pdopen", true)==0)
       {
      MoveObject (pdgate,2236.8877, 2465.6880, 10.0000, 2.5);
      MoveObject (pdngate,2319.2393, 2440.1260, 3.2734, 2.5);
      SetTimer("GateClose", 50000, 0);
      SendClientMessage(playerid, COLOR_YELLOW,"PdGate Opend");
      return 1;
       }
	return 0;
}

public GateClose()
{
MoveObject(pdgate,2237.2834, 2457.1211, 10.0000, 3.5);
MoveObject(pdngate,2319.9072, 2450.9280, 3.2734, 3.5);
return 1;
}