Fehler im Fraben "Script" woran liegt es? Bitte melden!!!

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
  • Wo ist der Fehler bitte melden! (367-328-707)<- mein ICQ

    public SetPlayerToTeamColor(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    SetPlayerColor(playerid,0x0000FF00); // Copfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    SetPlayerColor(playerid,0x0000A000); // FBIfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    SetPlayerColor(playerid,0x00800000); // Armyfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SetPlayerColor(playerid,0x993300AA); // Medicfarbe
    }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SetPlayerColor(playerid,0x99FF00AA); // LCN
    }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SetPlayerColor(playerid,0x00BFFFFF); // Yakuza
    }
    else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SetPlayerColor(playerid,0xAFAFAFAA); // President
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SetPlayerColor(playerid,0x999900AA); // Hitman
    }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SetPlayerColor(playerid,0xDDDD2357); // NR
    }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SetPlayerColor(playerid,0xFFFF00AA); // Taxi
    }
    else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SetPlayerColor(playerid,0x00BFFFFF); // Fahrlehrer
    else if
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    }
    }
    }


    Ich bitte um hilfe... Danke...


    mfg: Johann

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)


  • Da steht:


    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(1) : warning 235: public function lacks forward declaration (symbol "SetPlayerToTeamColor")
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(3) : error 017: undefined symbol "IsPlayerConnected"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(5) : error 017: undefined symbol "PlayerInfo"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(5) : warning 215: expression has no effect
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(5) : error 001: expected token: ";", but found "]"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(5) : error 029: invalid expression, assumed zero
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Untitled.pwn(5) : fatal error 107: too many error messages on one line


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



    5 Errors.

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)


  • Hmm. Such mal nach der Zeile "Yakuza Spawn" oder "LCN Spawn" im Godfather.
    Danach schreibst du deine ganzen Farben eben bei der jeweiligen Fraktion hin.
    Hoffe konnte helfen!


    MfG Enzo

  • Habe gemacht und nun 26 Errors... (Psychosandman's Gamemode...)
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1905) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1909) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1921) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1925) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1929) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1933) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1937) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1941) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1945) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1957) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1961) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1965) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1969) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1973) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1985) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1989) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(1993) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2005) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2009) : error 004: function "PlayerToPoint" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2279) : error 004: function "SendIRCMessage" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2301) : error 004: function "SendIRCMessage" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2313) : error 004: function "SaveCK" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2343) : error 004: function "SavePapers" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2374) : error 004: function "SaveFamilies" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2612) : error 004: function "OOCOff" is not implemented
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\prs.pwn(2624) : error 004: function "OOCOff" is not implemented


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



    26 Errors.

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)


    2 Mal editiert, zuletzt von Johann_x3 ()

  • Ich war da noch ein RICHTIGER noob also trotzdem thx^^
    Closed!

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)