Errors pls Help

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo ich habe ein paar erros, wollte fragen ob ihr mir helfen könnt
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4293) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4295) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4297) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4301) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4301) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4301) : error 017: undefined symbol "i"
    D:\Programme\GTA SA Setup\GTA San Andreas\Server2\Backup\gamemodes\best-reallife.pwn(4301) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.

    Hier die Zeilen
    else if(PlayerToPoint(2.0, i,1251.4420,-1664.5453,12.6719))
      {
      if(OrderReady[i] > 0)
      {
      switch (OrderReady[i])
      {
      case 1:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 4, 1);
      PlayerMoney[i] -= 5000;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      case 2:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1);
      PlayerMoney[i] -= 6000;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffene.");
      }
      case 3:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1);
      PlayerMoney[i] -= 6000;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      case 4:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
      PlayerMoney[i] -= 8000;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      case 5:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
      PlayerMoney[i] -= 8000;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      case 6:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
      PlayerMoney[i] -= 8500;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      case 7:
      {
      GivePlayerWeapon(i, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
      PlayerMoney[i] -= 8500;
      SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
      }
      }
      OrderReady[i] = 0;
      }
      }//Hitman delivery stuff

  • else if(PlayerToPoint(2.0, i,1251.4420,-1664.5453,12.6719))
    {
    if(OrderReady[i] > 0)
    {
    switch (OrderReady[i])
    {
    case 1:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 5000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 2:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 6000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffene.");
    }
    case 3:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 6000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 4:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 5:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 6:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8500;
    SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 7:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8500;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    }
    OrderReady[i] = 0;
    }
    }//Hitman delivery stuff


    mach mal so

  • else if(PlayerToPoint(2.0, i,1251.4420,-1664.5453,12.6719))
    {
    if(OrderReady[i] > 0)
    {
    switch (OrderReady[i])
    {
    case 1:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 5000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 2:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 6000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffene.");
    }
    case 3:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1);
    PlayerMoney[i] -= 6000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 4:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 5:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8000;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 6:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 31, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8500;
    SendClientMessage(i, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    case 7:
    {
    GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(i, 29, 500); GivePlayerWeapon(i, 25, 50); GivePlayerWeapon(i, 30, 500); GivePlayerWeapon(i, 4, 1); GivePlayerWeapon(i, 34, 20);
    PlayerMoney[i] -= 8500;
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Du nimmst deine Waffen.");
    }
    }
    OrderReady[i] = 0;
    }
    }//Hitman delivery stuff


    Mach das mal so so Müsste es gehn

  • Nagut so lösen sich Probleme in Luft auf. XD


    Naja immerhin haben wir getan was wir konnten.
    Und da es jetzt ja geht, ist doch super.


    Wenn du noch andere Scriptprobleme bekommen solltest, kannst du dich immer gerne wieder melden


    MFG


    Hagi

    Einmal editiert, zuletzt von Hagi ()