Jump to content
  • 0

Problema porti


Madalin1607

Question

pas 1
forward pdgateclose2();
forward pdgateclose3();
pas 2

new pdgate2;
new pdgate3;
pas 3

public pdgateclose2()
{
MoveDynamicObject(pdgate2,1546.8000000,-1625.6000000,13.6000000,4.0);
}
public pdgateclose3()
{
MoveDynamicObject(pdgate3,1546.8000000,-1631.1000000,13.6000000,4.0);
}
pas 4
 pdgate2 = CreateDynamicObject(988,1546.8000000,-1625.6000000,13.6000000,0.0000000,0.0000000,270.0000000); //object(ws_apgate) (1)
 pdgate3 = CreateDynamicObject(988,1546.8000000,-1631.1000000,13.6000000,0.0000000,0.0000000,270.0000000); //object(ws_apgate) (4)
pas 5

 if(PlayerToPoint(15.0,i,1546.8000000,-1625.6000000,13.6000000))
{
 if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pMember] == 2 || PlayerInfo[pLeader] == 2 )
 {
 MoveDynamicObject(pdgate2,1546.8000000,-1620.3000000,13.6000000,4.0);
SetTimerEx("pdgateclose2",5000,false,"d",i);
}
}
if(PlayerToPoint(15.0,i,1546.8000000,-1631.1000000,13.6000000))
{
 if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pMember] == 2 || PlayerInfo[pLeader] == 2 )
 {
 MoveDynamicObject(pdgate3,1546.8000000,-1635.6000000,13.6000000,4.0);
SetTimerEx("pdgateclose3",5000,false,"d",i);
}
}
 
 
si cam asa reactioneaza portile 
 
 
daca ma puteti ajuta va multumesc anticipat
si sa ramana cu rotatia de 270.0 grade 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.