2 gates open 1 command FIXED THANKS
#1

how can i make 2 gates open with 1e command??
i have it like this
Код:
new SAFMARS2;
new SAFMARS;

SAFMARS2 = CreateObject(980, 938.895569, 1810.972900, 17.596329, 0.0000, 0.0000, 270.0000);//
SAFMARS = CreateObject(980, 938.895386, 1822.428711, 17.596329, 0.0000, 0.0000, 90.0000);//

//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/SAFMARSCLOSE", true)==0)
{
MoveObject (SAFMARS,938.895,1822.428,17.596,2.5);
return 1;
}
if (strcmp(cmdtext, "/SAFMARSOPEN", true)==0)
{
MoveObject (SAFMARS,938.895,1822.428,11.596,2.5);
return 1;
}
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/SAFMARSCLOSE", true)==0)
{
MoveObject (SAFMARS2,938.895569,1810.972900,17.596329,2.5);
return 1;
}
if (strcmp(cmdtext, "/SAFMARSOPEN", true)==0)
{
MoveObject (SAFMARS2,938.895569,1810.972900,11.596329,2.5);
return 1;
}
BUT only 1e gate goes open
Reply


Messages In This Thread
2 gates open 1 command FIXED THANKS - by Derksen123 - 03.06.2009, 06:41
Re: 2 gates open 1 command - by Abernethy - 03.06.2009, 06:54
Re: 2 gates open 1 command - by Derksen123 - 03.06.2009, 06:57
Re: 2 gates open 1 command - by MenaceX^ - 03.06.2009, 07:03
Re: 2 gates open 1 command - by Derksen123 - 03.06.2009, 07:04
Re: 2 gates open 1 command - by Derksen123 - 03.06.2009, 07:16

Forum Jump:


Users browsing this thread: 2 Guest(s)