Guten Tag Community,
meine Tore gehen nicht richtig runter.Sie gehen beim drehen runter und gehen wieder grade wieder nach oben.Wenn man das tor beim 2 mal öffnet funktionierts problem los
einmal eure hilfe bitte
if(strcmp(cmd,"/ftor", true) == 0)
{
if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, 778.0999756,-1384.9000244,15.5000000))
{
MoveObject(fschule,778.0999756,-1384.9000244,5.5000000,3); //Ready to use
SetTimer("ClosefschuleTor", 6800, 0);
}
else if(IsPlayerInRangeOfPoint(playerid, 10.0, 776.2999878,-1330.0999756,15.3000002))
{
MoveObject(fschule1,776.2999878,-1330.0999756,5.3000002,3); //Ready to use
SetTimer("Closefschule1Tor", 6800, 0);
}
}
return 1;
}
fschule = CreateObject(980,778.0999756,-1384.9000244,15.5000000,0.0000000,0.0000000,180.0000000); //object(airportgate) (1)
fschule1 = CreateObject(980,776.2999878,-1330.0999756,15.3000002,0.0000000,0.0000000,179.0000000); //object(airportgate) (2)