getting errors with this automatic gate script
#5

if(PlayerToPoint(10.0, i, -1754.092163, 757.279907, 23.990942) && OpenGate[i] == 0)
{
MoveObject(Busenter, -1754.091675, 757.228943, 22.894398, 5);
OpenGate[i] = 1;
}
else if(!PlayerToPoint(10.0, i, -1754.092163, 757.279907, 23.990942) && OpenGate[i] == 1)
{
MoveObject(Busenter, -1754.092163, 757.279907, 23.990942, 5);
OpenGate[i] = 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)