[HELP]Problem with gates
#2

in OnGameModiInit a timer with SetTimer("Kapilar",500,1);

I use this for Otomatic gates
Код:
public Kapilar(playerid)
{
		if(PlayerToPoint(7.0, playerid, 172.8482,654.4478,3.8090))  // Change the hole kode to your own koordinates ..
		{
			MoveObject(Kapi[1], 179.10, 642.13, 9.86, 4.0); // For OPEN the doors
			MoveObject(Kapi[2], 171.40, 640.17, 9.86, 4.0); // For OPEN the doors
		}
		else
		{
			MoveObject(Kapi[1], 179.10, 642.13, 2.86, 4.0); // For CLOSE the doors
			MoveObject(Kapi[2], 171.40, 640.17, 2.86, 4.0); // For CLOSE the doors
		}
}
Reply


Messages In This Thread
[HELP]Problem with gates - by krisko - 11.08.2009, 20:46
Re: [HELP]Problem with gates - by RyDeR` - 11.08.2009, 20:50

Forum Jump:


Users browsing this thread: 1 Guest(s)