lol total falsch meins ist richtig
if (strcmp("/open", cmdtext, true, 10) == 0)
{
if(PlayerToPoint(4.0,playerid, 1279.4744873047, -2056.2355957031, 66.2204513549))
{
MoveObject(bmgate1, 1279.4744873047, -2056.2355957031, 66.22045135498, 2.0);
SetTimer("GateClosetGate",9000,0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Entfernung zu weit");
}
return 1;
}

