Jump to content

Question

Posted

Salutare All, am si eu o problema cu Gates de la LV Police apas Caps Lock se deschide  poarta dar mai ramane 1 acolo dar am luat coordonatele de la  ele am incercat cu  map editor sa vad daca sunt dublate si nu sunt, am aici si  comanda din GM 

Citat

       if(IsACop(playerid)) {
           if(PlayerToPoint(15, playerid,1588.6552, -1637.9025, 15.0358)) {
               MoveObject(gatelspd,1596.7352,-1637.9025, 15.0358,2);
               SetTimer("lspdgateclose" ,9000 ,false);
               return true;
           }
           if(PlayerToPoint(15, playerid,135.2833, 1941.3331, 21.6932)) {
               MoveObject(gateng,122.0023, 1941.4100, 21.6932,2);
               SetTimer("nggateclose" ,9000 ,false);
               return true;
           }
           if(PlayerToPoint(15, playerid,1544.7007, -1630.7527, 13.2983)) {
               MoveObject(lspdbar,1544.7007, -1630.7527, 13.2983,1,0.0000, 0.0000, 90.0000);
               SetTimer("lspdbarclose" ,9000 ,false);
               return true;
           }
           if(PlayerToPoint(15, playerid,2293.85010, 2497.69556, -0.63590)) {
               MoveDynamicObject(gatelvpd[0], 2293.85010, 2497.69556, -0.63590,  1, 0.00000, 0.00000, 90.00000);
               SetTimerEx("LVPDGates", 5000, false, "i", 1);
               return true;
           }
           if(PlayerToPoint(15, playerid,2335.20093, 2443.69922, 1.92990)) {
               MoveDynamicObject(gatelvpd[1], 2335.20093, 2443.69922, 1.92990,  1, 0.00000, 0.00000, 240.66000);
               SetTimerEx("LVPDGates", 5000, false, "i", 2);
               return true;
           }
           if(PlayerToPoint(15, playerid, 2238.2146, 2450.2695, 10.6961)) {
               MoveDynamicObject(gatelvpd[2], 2238.21460, 2450.26953, 10.69610, 1, 0.00000, 0.00000, 90.00000);
               SetTimerEx("LVPDGates", 5000, false, "i", 3);
               return true;
           }
       }

 

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.