Airport Security
#4

Код:
/* Wherever the object is created */
new GateObject = CreateDynamicObject(1095, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);

public AirportGate()
{
	if(!GateOpened)
	{
		MoveDynamicObject(GateObject, 0.0, 0.0, 0.0, 1, 90.0, 0.0, 0.0); //opened location
		SetTimer("AirportGate", 6000, false);
		GateOpened = true;
	}
	else
	{
		MoveDynamicObject(GateObject, 0.0, 0.0, 0.0, 1, 90.0, 0.0, 0.0); //closed location
		GateOpened = false;
	}
}
Reply


Messages In This Thread
Airport Security - by KtotheYle - 05.01.2014, 17:44
Re: Airport Security - by BlackSirrah239 - 06.01.2014, 03:03
Re: Airport Security - by KtotheYle - 06.01.2014, 03:19
Re: Airport Security - by BlackSirrah239 - 06.01.2014, 04:00
Re: Airport Security - by KtotheYle - 06.01.2014, 21:39
Re: Airport Security - by BlackSirrah239 - 07.01.2014, 03:02
Re: Airport Security - by KtotheYle - 07.01.2014, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)