hilfe :( frakcars gehen nicht!

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
  • C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(71) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(109) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(116) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(118) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(120) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(122) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(125) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(151) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(180) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(257) : warning 225: unreachable code
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(269) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(317) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(317) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 012: invalid function call, not a valid address
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : warning 215: expression has no effect
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 001: expected token: ";", but found ")"
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 029: invalid expression, assumed zero
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : fatal error 107: too many error messages on one line




    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    ZEILE 351: if (LSPDVehs(vehicleid) && !ispassenger)
    {
    if(LSPDVehs(playerid) || IsPlayerInFrac(playerid,1)) {}
    {
    else
    {
    SendClientMessage(playerid,Orange,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    return 1;
    }

  • if(LSPDVehs(playerid) || IsPlayerInFrac(playerid,1)) {}
    {
    else
    Diese Klammersetzung ist mir ein Rätsel. Kein Wunder, dass so viele Fehler kommen.
    Mal abgesehen davon, dass du das Script einrücken solltest.

  • public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    if (LSPDVehs(vehicleid) && !ispassenger)
    {
    if(LSPDVehs(playerid) || IsPlayerInFrac(playerid,1))
    {
    }
    else
    {
    SendClientMessage(playerid,Orange,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    return 1;
    }
    Jetzt dürften wenigstens die Klammerfehler entfernt sein.

  • C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(71) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(109) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(116) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(118) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(120) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(122) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(125) : error 010: invalid function or declaration
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(151) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(180) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(257) : warning 225: unreachable code
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(269) : warning 217: loose indentation
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(317) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(317) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 012: invalid function call, not a valid address
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : warning 215: expression has no effect
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 001: expected token: ";", but found ")"
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : error 029: invalid expression, assumed zero
    C:\Users\Chef\Desktop\selfmade\gamemodes\multisamp.pwn(351) : fatal error 107: too many error messages on one line


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



    9 Errors.



    kann mir jemand per Teamviewer helfen?