|
Originally Posted by luckie12
Quote:
|
Originally Posted by Derksen123
Код:
ADD AT THE TOP OF THE SCRIPT
new MOVEGATE;
AT THIS AT ONPLAYERCOMMANDTEXT
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/MOVEGATECLOSE", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,272.734,2.5);
return 1;
}
if (strcmp(cmdtext, "/MOVEGATEOPEN", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,267.734,2.5);
return 1;
}
//--------------------------------------[GATE]------------------------------------------------------
ADD THIS AT ONGAMEMODEINIT
MOVEGATE = CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);//MOVEGATE
If its dont go far enough open say it
so commands are /movegateopen /movegateclose
|
and can you do that with this?
pawn Код:
CreateObject(980, 1557.510864, -2539.105957, 15.320267, 0.0000, 0.0000, 0.0000);
ty alot plzzz help
|