11.08.2009, 20:50
in OnGameModiInit a timer with SetTimer("Kapilar",500,1);
I use this for Otomatic gates
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
}
}

