help gate
#10

same... this is the first gate before i change like above

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 50.0, 1811.00842285, -1798.89355469, 15.43789959)) {
            if(FDGateStatus == 0) {
                format( string, sizeof( string ), "* %s uses their remote to open the gates.", GetPlayerNameEx( playerid ) );
                ProxDetector(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                MoveDynamicObject(FDGate1,1811.00854492,-1771.53283691,15.43789959, 3);
                MoveDynamicObject(FDGate2,1811.00817871,-1771.53222656,17.54100037, 3);
                MoveDynamicObject(FDGate3,1811.00842285,-1778.89355469,15.43789959, 3);
                MoveDynamicObject(FDGate4,1811.00817871,-1778.89355469,17.54100037, 3);
                MoveDynamicObject(FDGate5,1811.00305176,-1784.99304199,15.43789959, 3);
                MoveDynamicObject(FDGate6,1811.00805664,-1784.99218750,17.54100037, 3);
                FDGateStatus = 1;
            }
            else {
                format( string, sizeof( string ), "* %s uses their remote to close the gates.", GetPlayerNameEx( playerid ) );
                ProxDetector(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);


                FDGateStatus = 0;
            }
        }
Reply


Messages In This Thread
help gate - by ajam112 - 16.03.2014, 07:45
Re: help gate - by ajam112 - 16.03.2014, 09:14
Re: help gate - by BroZeus - 16.03.2014, 09:37
Re: help gate - by Lloyde - 16.03.2014, 10:02
Re: help gate - by ajam112 - 16.03.2014, 12:36
Re: help gate - by ajam112 - 17.03.2014, 07:06
Re: help gate - by Calabresi - 17.03.2014, 09:12
Re: help gate - by ajam112 - 17.03.2014, 11:00
Re: help gate - by Calabresi - 17.03.2014, 11:02
Re: help gate - by ajam112 - 17.03.2014, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)