if(PRESSED(KEY_CROUCH))
{
if(isPlayerInFrakt(playerid,0))
{
new GOPEN;
if(IsPlayerInRangeOfPoint(playerid,10.0,-1475.50000000,826.40002441,4.40000010))
{
if(GOPEN == 0)
{
MoveDynamicObject(VamtGate[0],-1475.50000000,826.40002441,4.40000010-1.5,5);
GOPEN = 1;
}
else
{
MoveDynamicObject(VamtGate[0],-1475.50000000,826.40002441,4.40000010,5);
GOPEN = 0;
}
}
}
}
Das Tor wird hingemoved aber nicht wieder auf die Ausgangsposition.