16.05.2009, 15:14
pawn Код:
new MOVEGATE;
MOVEGATE = CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);
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;
}