Try this.
pawn Код:
if(strcmp("/Modshopgateopen", cmdtext, true) == 0)
{
MoveObject(garage, 1694.30664062,758.06933594,15.19236946, 2.0);
GameTextForPlayer(playerid, "Garage ~r~opening", 5000, 6);
PlayerPlaySound(playerid,1057,0,0,0);
return 1;
}
if(strcmp("/Modshopgateclose", cmdtext, true) == 0)
{
MoveObject(garage, 1694.30664062,758.06933594,11.65923691, 2.0);
GameTextForPlayer(playerid, "Garage ~g~closing", 5000, 6);
PlayerPlaySound(playerid,1057,0,0,0);
return 1;
}