SA-MP Forums Archive
Lspd Gate problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Lspd Gate problem (/showthread.php?tid=361219)



Lspd Gate problem - tutibubu - 20.07.2012

Hey , i am new here.. and i have a problem with a lspd gate... I preffer to make it with the command /opengate.. THe problem is that when i go near the gate it won't go down.. it just turn 90 degrees and then go down.. I have this
PHP код:
forward pdgateclose2(); // at forward
new pdgate2// at new
 
else if(PlayerToPoint(15.0,i,1547.54284668,-1627.65795898,15.15620422))
            {
                if(
PlayerInfo[i][pMember] == || PlayerInfo[i][pLeader] == || PlayerInfo[i][pMember] == || PlayerInfo[i][pLeader] == || PlayerInfo[i][pMember] == || PlayerInfo[i][pLeader] == 3)
                {
                    
MoveObject(pdgate2,1547.54284668,-1627.65795898,14.15620422,5.0);
                    
SetTimerEx("pdgateclose2",5000,false,"d",i);
                }
            }
    
pdgate2 CreateObject(980,1547.54284668,-1627.65795898,15.15620422,0.00000000,0.00000000,90.00000000); //object(airportgate) (1)
public pdgateclose2()
{
    
MoveObject(pdgate2,1547.54284668,-1627.65795898,15.15620422,5.0);




Re: Lspd Gate problem - Songason - 20.07.2012

There is something wrong with the cords you set up


Re: Lspd Gate problem - L.Hudson - 20.07.2012

Do you have the last streamer version if you use?