Problem with Barrier MoveObject
#2

You haven't told it where to move the gates too..

pawn Код:
if(IsACop(playerid) && IsPlayerInRangeOfPoint(playerid, 6, 1544.7363,-1627.0232,13.3672)) // PD: Rampa
    {
        if(!NYPDBarrierStatus)
        {
            NYPDBarrierStatus = 1;
            MoveDynamicObject(NYPDBarrier, OPEN GATE CORDS HERE);
        }
        else
        {
            NYPDBarrierStatus = 0;
            MoveDynamicObject(NYPDBarrier, CLOSED GATE CORDS HERE);
        }

        return 1;
     }
Currently they are the same, thus won't move.
Reply


Messages In This Thread
Problem with Barrier MoveObject - by GBLTeam - 03.04.2013, 22:01
Re: Problem with Barrier MoveObject - by StuartD - 03.04.2013, 22:14
Re: Problem with Barrier MoveObject - by GBLTeam - 04.04.2013, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)