- เครดิต
- 275
- ความรู้
-
- เงิน $
-
- ความดี
-
|
มีทั้งหมด 7 ประตูครับ ไม่เลื่อนสักอัน
นี่ครับ
new N01Gate;
new N02Gate;
new AaGate;
new AbGate;
new Ja1Gate;
new Jb2Gate;
new Jc3Gate;
forward N01GateClose();
forward N02GateClose();
forward AaGateClose();
forward AbGateClose();
forward Ja1GateClose();
forward Jb2GateClose();
forward Jc3GateClose();
public N01GateClose()
{
MoveDynamicObject(N01Gate, -1548.2142, 514.9364, 8.9675,2.5);
return 1;
}
public N02GateClose()
{
MoveDynamicObject(N02Gate, -1447.2662, 481.4366, 8.9742,2.5);
return 1;
}
public N03GateClose()
{
MoveDynamicObject(N03Gate, -1463.3914794922, 501.04745483398, 1.728848695755,2.5);
return 1;
}
public AaGateClose()
{
MoveDynamicObject(AaGate, -1571.6721, 661.3879, 9.0808,2.5);
return 1;
}
public AbGateClose()
{
MoveDynamicObject(AbGate, -1701.7471, 684.2442, 26.6558,2.5);
return 1;
}
public Ja1GateClose()
{
MoveDynamicObject(Ja1Gate, -1513.42261, 1012.05292, 8.97240, 2.5);
return 1;
}
public Jb2GateClose()
{
MoveDynamicObject(Jb2Gate, -1492.36255, 1084.13953, 9.19961, 2.5);
return 1;
}
public Jc3GateClose()
{
MoveDynamicObject(Jc3Gate, -1588.15161, 1224.19727, 9.03670, 2.5);
return 1;
}
N01Gate = CreateDynamicObject(980, -1548.2142, 514.9364, 8.9675, 0.0000, 0.0000, -95.4000);
N02Gate = CreateDynamicObject(980, -1447.2662, 481.4366, 8.9742, 0.0000, 0.0000, 0.0000);
AaGate = CreateDynamicObject(980, -1571.6721, 661.3879, 9.0808, 0.0000, 0.0000, 90.0000);
AbGate = CreateDynamicObject(980, -1701.7471, 684.2442, 26.6558, 0.0000, 0.0000, 90.0000);
Ja1Gate = CreateDynamicObject(980, -1513.42261, 1012.05292, 8.97240, 0.00000, 0.00000, 180.00000);
Jb2Gate = CreateDynamicObject(980, -1492.36255, 1084.13953, 9.19961, 0.00000, 0.00000, 180.00000);
Jc3Gate = CreateDynamicObject(980, -1588.15161, 1224.19727, 9.03670, 0.00000, 0.00000, 90.00000);
else if (PlayerToPoint(10.0,i,-1548.2142, 514.9364, 8.9675))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 3 || PlayerInfo[pLeader] == 3 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(N01Gate, -1548.2142, 514.9364, , 2.65490,2.5);
SetTimer("N01GateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1447.2662, 481.4366, 8.9742))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 3 || PlayerInfo[pLeader] == 3 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(N02Gate, -1447.2662, 481.4366, 2.65490,2.5);
SetTimer("N02GateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1571.6721, 661.3879, 9.0808))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(AaGate, -1571.6721, 661.3879, 2.65490,2.5);
SetTimer("AaGateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1701.7471, 684.2442, 26.6558))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(AbGate, -1701.7471, 684.2442, 2.65490,2.5);
SetTimer("AbGateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1513.42261, 1012.05292, 8.97240))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 18 || PlayerInfo[pLeader] == 18 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(Ja1Gate, -1513.42261, 1012.05292, 2.65490,2.5);
SetTimer("Ja1GateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1492.36255, 1084.13953, 9.19961))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 18 || PlayerInfo[pLeader] == 18 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(Jb2Gate, -1492.36255, 1084.13953, 2.65490,2.5);
SetTimer("Jb2GateClose", 5000, 0);
}
}
else if (PlayerToPoint(10.0,i,-1588.15161, 1224.19727, 9.03670))// www.FB.com/ceonf
{
if(PlayerInfo[pMember] == 18 || PlayerInfo[pLeader] == 18 || PlayerInfo[pAdminLevel] >= 1)
{
MoveDynamicObject(Jc3Gate, -1588.15161, 1224.19727, 2.65490,2.5);
SetTimer("Jc3GateClose", 5000, 0);
}
}
|
|