Tor Öffnet schließt nach timer aber nicht mehr .
if(PlayerInfo[playerid][pMember] == 8)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0,1879.19995117,703.29998779,12.60000038))
{
MoveObject(hitmangate, 1879.19995117,703.29998779,12.60000038-10, 3.0);
SetTimer("hitmangate1", 9000, 0);
}
}
public hitmangate1()
{
MoveDynamicObject(hitmangate,1879.19995117,703.29998779,12.60000038,2.0);
return 1;
}
hitmangate = CreateObject(980,1879.19995117,703.29998779,12.60000038,0.00000000,0.00000000,90.00000000); //object(airportgate)
Danke im vorraus.