Komme mit diesen errors nich klar was mache ich falsch ?

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
  • [/pwn]
    udn Die errors sind
    C:\Users\Mario\Desktop\SA server\eRP.pwn(1967) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(1992) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2063) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2067) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2079) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2083) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2087) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2091) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2095) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2099) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2103) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2115) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2119) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2123) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2127) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2131) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2143) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2147) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2151) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2163) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2167) : error 004: function "PlayerToPoint" is not implemented
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2202) : error 001: expected token: ";", but found "-identifier-"
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2206) : error 079: inconsistent return types (array & non-array)
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2208) : error 079: inconsistent return types (array & non-array)
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2210) : warning 225: unreachable code
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2210) : error 029: invalid expression, assumed zero
    C:\Users\Mario\Desktop\SA server\eRP.pwn(2210) : error 004: function "IsAnAmbulance" is not implemented


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



    26 Errors.

    Einmal editiert, zuletzt von Giso ()

  • 1. wir brauchen den code
    2. anstatt playertopoint "IsPlayerIn RangeOfPoint" benutzen

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)


  • SetPlayerToTeamColor(i);
    MedicBill[i] = 0;
    if(PlayerInfo[i][pDonateRank] > 0)
    {
    SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
    SpawnPlayer(i);
    SetCameraBehindPlayer(i);
    }
    else
    {
    SpawnPlayer(i);
    }
    Spectate[i] = 255;
    }
    if(Spectate[i] == 254)
    {
    TogglePlayerControllable(i, 1);
    SetPlayerInterior(i,Unspec[i][sPint]);
    PlayerInfo[i][pInt] = Unspec[i][sPint];
    PlayerInfo[i][pLocal] = Unspec[i][sLocal];
    SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]);
    Spectate[i] = 255;
    }
    if(Spectate[i] == 256)
    {
    SetPlayerToTeamColor(i);
    Spectate[i] = 255;
    }
    if(Spectate[i] == 257)
    {
    Spectate[i] = 254;
    }
    }
    }
    }


    //------------------------------------------------------------------------------------------------------


    public IsAnInstructor(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==11)
    {
    return 1;
    }
    if(leader==11)
    {
    return 1;
    }
    }
    return 0;
    }


    public IsAMember(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==5 || member==6 || member==12 || member==13 || member==14 || member==15)
    {
    return 1;
    }
    if(leader==5 || leader==6 || leader==12 || leader==13 || leader==14 || leader==15)
    {
    return 1;
    }
    }
    return 0;
    }


    public IsACop(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==1 || member==2 || member==3)
    {
    return 1;
    }
    else if(leader==1 || leader==2 || leader==3)
    {
    return 1;
    }
    }
    return 0;
    }


    public IsAtClothShop(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
    {//Binco & Suburban
    return 1;
    }
    else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
    {//Zip & Victim
    return 1;
    }
    }
    return 0;
    }


    public IsAtGasStation(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
    {//LS
    return 1;
    }
    else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
    {//LS
    return 1;
    }
    else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
    {//SF
    return 1;
    }
    else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
    {//Between LS and SF
    return 1;
    }
    else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
    {//LV
    return 1;
    }
    else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
    {//LV
    return 1;
    }
    else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
    {//LV
    return 1;
    }
    }
    return 0;
    }


    public IsAtFishPlace(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
    {//Fishplace at the bigwheel
    return 1;
    }
    else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
    {//Fishplace at the bigwheel
    return 1;
    }
    else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
    {//Fishplace at the bigwheel
    return 1;
    }
    else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
    {//Fishplace at the bigwheel
    return 1;
    }
    else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
    {//Fishplace at the bigwheel
    return 1;
    }
    }
    return 0;
    }


    public IsAtCookPlace(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
    {//Cluckin Bell
    return 1;
    }
    else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))
    {//Burgershot
    return 1;
    }
    else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
    {//Well Stacked Pizza
    return 1;
    }
    }
    return 0;
    }


    public IsAtBar(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797))
    {//In grove street bar (with girlfriend), and in Havanna
    return 1;
    }
    else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))
    {//PIG Pen
    return 1;
    }
    }
    return 0;
    }


    public IsABoat(carid)
    {
    if(carid >= 86 && carid <=90)
    {
    return 1;
    }
    return 0;
    }


    public IsAPlane(carid)
    {
    if(carid==39||carid==40||carid==60||carid==83||carid==91||carid==92||carid==93||carid==95||carid==96||carid==99||carid==100||carid==101||carid==102||carid==103||carid==104||carid==105||carid==106||carid==107||carid==108||carid==109||carid==151)
    {
    return 1;
    }
    return 0;
    }


    public IsACopCar(carid)
    {
    if((carid >= 35) && (carid <= 60) || (carid >= 249) && (carid <= 259) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 || carid == 238 || carid == 239 || carid == 240 || carid == 241 || carid == 242 || carid == 243 || carid == 244 || carid == 245 || carid == 246 || carid == 247 || carid == 248)
    {
    if(carid == 45 || carid == 46 || carid == 55 || carid == 59) { return 0; }
    return 1;
    }
    return 0;
    }
    public IsAHells Angels(carid)
    {
    if(carid == 281 || carid == 282 || carid == 283 || carid == 284 || carid == 285 || carid == 286|| carid == 287|| carid == 289)//Hier Ersezt ihr die Mit Euren Aufgeschriebenden Zahlen die man in Game mit /oldcar Rausgriegt wenn ihr noch eins Hinzufügen Wollt Kopiert einfach || carid == 8 sowas und fügt es vor der Klammer zu ein.
    {
    return 1;
    }
    return 0;


    public IsAnAmbulance(carid)
    {[/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i]

  • 26 Errors bedeuten du hast mindestens einen Klammerfehler. Das heißt du hast eine Klammer zu wenig gesetzt ;)

  • Kann aber auch sein, dass du dann genau 26 error hast aber keine Klammer vergessen..
    (ICH KENNE DAS <:<)

    GreetZ

    Zitat

    Joda21:47
    Joda = mein spritzname
    xD


    Ice21:47
    zeig mir dein lichtschwert !


    Joda21:47 spitzname* xDD

    Ich bin ein Vogel (Joda)