Fühererschein Problem

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
  • Moin Com,
    ich habe glaub ich ein klmmer fehler weiß aber nicht wo :(


    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(1342) : warning 213: tag mismatch
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(1363) : warning 213: tag mismatch
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2219) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2222) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2224) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2226) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2228) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2239) : error 075: input line too long (after substitutions)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.




    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    if(GetVehicleModel(vehicleid) == 448 || GetVehicleModel(vehicleid) == 461 || GetVehicleModel(vehicleid) == 462 || GetVehicleModel(vehicleid) == 463 || GetVehicleModel(vehicleid) == 468 || GetVehicleModel(vehicleid) == 471 || GetVehicleModel(vehicleid) == 521 || GetVehicleModel(vehicleid) == 522 || GetVehicleModel(vehicleid) == 523 || GetVehicleModel(vehicleid) == 581 || GetVehicleModel(vehicleid) == 586)

    {
    if(PlayerInfo[playerid][BikeL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,Rot,"Du hast keinen Motorradschein");
    }
    }


    {
    if(GetVehicleModel(vehicleid) == 400 || GetVehicleModel(vehicleid) == 401 || GetVehicleModel(vehicleid) == 402 || GetVehicleModel(vehicleid) == 404 || GetVehicleModel(vehicleid) == 405 || GetVehicleModel(vehicleid) == 409 || GetVehicleModel(vehicleid) == 410 || GetVehicleModel(vehicleid) == 411 || GetVehicleModel(vehicleid) == 412 || GetVehicleModel(vehicleid) == 413 || GetVehicleModel(vehicleid) == 414 || GetVehicleModel(vehicleid) == 415 || GetVehicleModel(vehicleid) == 416 || GetVehicleModel(vehicleid) == 418 || GetVehicleModel(vehicleid) == 419 || GetVehicleModel(vehicleid) == 420 || GetVehicleModel(vehicleid) == 421 || GetVehicleModel(vehicleid) == 422 || GetVehicleModel(vehicleid) == 423 || GetVehicleModel(vehicleid) == 424 || GetVehicleModel(vehicleid) == 426 ||
    || GetVehicleModel(vehicleid) == 427 || GetVehicleModel(vehicleid) == 428 || GetVehicleModel(vehicleid) == 429 || GetVehicleModel(vehicleid) == 434 || GetVehicleModel(vehicleid) == 436 ||
    || GetVehicleModel(vehicleid) == 438 || GetVehicleModel(vehicleid) == 439 || GetVehicleModel(vehicleid) == 440 || GetVehicleModel(vehicleid) == 442 || GetVehicleModel(vehicleid) == 445 || GetVehicleModel(vehicleid) == 451 || GetVehicleModel(vehicleid) == 458 || GetVehicleModel(vehicleid) == 459 || GetVehicleModel(vehicleid) == 466 || GetVehicleModel(vehicleid) == 467 || GetVehicleModel(vehicleid) == 470 || GetVehicleModel(vehicleid) == 474 || GetVehicleModel(vehicleid) == 475 || GetVehicleModel(vehicleid) == 477 || GetVehicleModel(vehicleid) == 478 || GetVehicleModel(vehicleid) == 479 || GetVehicleModel(vehicleid) == 480 || GetVehicleModel(vehicleid) == 482 || GetVehicleModel(vehicleid) == 483 || GetVehicleModel(vehicleid) == 489 || GetVehicleModel(vehicleid) == 490 || GetVehicleModel(vehicleid) == 491 || GetVehicleModel(vehicleid) == 492 || GetVehicleModel(vehicleid) == 494 || GetVehicleModel(vehicleid) == 495 || GetVehicleModel(vehicleid) == 496
    || GetVehicleModel(vehicleid) == 498 || GetVehicleModel(vehicleid) == 499 || GetVehicleModel(vehicleid) == 500 || GetVehicleModel(vehicleid) == 502 || GetVehicleModel(vehicleid) == 503 || GetVehicleModel(vehicleid) == 504 || GetVehicleModel(vehicleid) == 505 || GetVehicleModel(vehicleid) == 506 || GetVehicleModel(vehicleid) == 507 || GetVehicleModel(vehicleid) == 508 || GetVehicleModel(vehicleid) == 516 || GetVehicleModel(vehicleid) == 517 || GetVehicleModel(vehicleid) == 518 || GetVehicleModel(vehicleid) == 525 || GetVehicleModel(vehicleid) == 526 || GetVehicleModel(vehicleid) == 527 || GetVehicleModel(vehicleid) == 528 || GetVehicleModel(vehicleid) == 529 || GetVehicleModel(vehicleid) == 531 || GetVehicleModel(vehicleid) == 532 || GetVehicleModel(vehicleid) == 533 || GetVehicleModel(vehicleid) == 534 || GetVehicleModel(vehicleid) == 535 || GetVehicleModel(vehicleid) == 536 || GetVehicleModel(vehicleid) == 540 || GetVehicleModel(vehicleid) == 541
    || GetVehicleModel(vehicleid) == 542 || GetVehicleModel(vehicleid) == 543 || GetVehicleModel(vehicleid) == 545 || GetVehicleModel(vehicleid) == 546 || GetVehicleModel(vehicleid) == 547 || GetVehicleModel(vehicleid) == 549 || GetVehicleModel(vehicleid) == 550 || GetVehicleModel(vehicleid) == 551 || GetVehicleModel(vehicleid) == 552 || GetVehicleModel(vehicleid) == 554 || GetVehicleModel(vehicleid) == 555 || GetVehicleModel(vehicleid) == 558 || GetVehicleModel(vehicleid) == 560 || GetVehicleModel(vehicleid) == 561 || GetVehicleModel(vehicleid) == 562 || GetVehicleModel(vehicleid) == 565 || GetVehicleModel(vehicleid) == 566 || GetVehicleModel(vehicleid) == 567 || GetVehicleModel(vehicleid) == 568 || GetVehicleModel(vehicleid) == 573 || GetVehicleModel(vehicleid) == 575 || GetVehicleModel(vehicleid) == 576 || GetVehicleModel(vehicleid) == 579 || GetVehicleModel(vehicleid) == 580
    || GetVehicleModel(vehicleid) == 582 || GetVehicleModel(vehicleid) == 585 || GetVehicleModel(vehicleid) == 587 || GetVehicleModel(vehicleid) == 588 || GetVehicleModel(vehicleid) == 589 || GetVehicleModel(vehicleid) == 596 || GetVehicleModel(vehicleid) == 597 || GetVehicleModel(vehicleid) == 598 || GetVehicleModel(vehicleid) == 599 || GetVehicleModel(vehicleid) == 600 || GetVehicleModel(vehicleid) == 601 || GetVehicleModel(vehicleid) == 602 || GetVehicleModel(vehicleid) == 603 || GetVehicleModel(vehicleid) == 604 || GetVehicleModel(vehicleid) == 605 || GetVehicleModel(vehicleid) == 609)
    {
    if(PlayerInfo[playerid][CarL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,Rot,"Du hast keinen Auto-Fühererschein");
    }
    }


    {
    if(GetVehicleModel(vehicleid) == 417 || GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 447 || GetVehicleModel(vehicleid) == 460 || GetVehicleModel(vehicleid) == 469 || GetVehicleModel(vehicleid) == 476 || GetVehicleModel(vehicleid) == 487 || GetVehicleModel(vehicleid) == 488 || GetVehicleModel(vehicleid) == 497 || GetVehicleModel(vehicleid) == 511 || GetVehicleModel(vehicleid) == 512 || GetVehicleModel(vehicleid) == 513 || GetVehicleModel(vehicleid) == 519 || GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 548 || GetVehicleModel(vehicleid) == 553 || GetVehicleModel(vehicleid) == 563 || GetVehicleModel(vehicleid) == 577 || GetVehicleModel(vehicleid) == 592 || GetVehicleModel(vehicleid) == 593)
    {
    if(PlayerInfo[playerid][FlyL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,Rot,"Du hast keinen Flugschein");
    }
    }


    return 1;
    }

    ↓Das ist der Youtube Channel von mir und meinen Kollegen↓



    Sa-Mp Server [Im Aufbau/Beta]
    128.65.216.200:7777

  • Nene, ist kein Klammer Fehler. Klammer Fehler: meist 26 Errors.
    Deine Input If-Abfrage ist zu lange. Sprich: Dieses ganze GetVehicleModel etc.


    lg :thumbup:

    RTL - Das N steht für Niveau!
    MfG,
    StreetS


    Jegliche Freundesanfragen, die für mich keinen Sinn ergeben, werden professionell Ignoriert. (Gleiche mit Skype!)
    Wer es nicht kapiert wird in Breadfish & Skype blockiert.


    - Stolzer PAWN Scripter der Klasse Beherrscht

  • C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(1342) : warning 213: tag mismatch
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(1363) : warning 213: tag mismatch
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2218) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2221) : error 029: invalid expression, assumed zero
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2221) : error 075: input line too long (after substitutions)
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2222) : error 017: undefined symbol "vehiclei"
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2223) : warning 217: loose indentation
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2223) : error 017: undefined symbol "d"
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2223) : error 029: invalid expression, assumed zero
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2229) : error 029: invalid expression, assumed zero
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2230) : warning 217: loose indentation
    C:\Users\EliteBread\Desktop\Selfmade Script\gamemodes\Bread.pwn(2237) : error 075: input line too long (after substitutions)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    8 Errors.


    wie kürze ich den input den

    ↓Das ist der Youtube Channel von mir und meinen Kollegen↓



    Sa-Mp Server [Im Aufbau/Beta]
    128.65.216.200:7777

    Einmal editiert, zuletzt von EliteBread ()