Beiträge von TheGamerX

    ich habe 7 errors, ich weis nicht genau was falsch ist :


    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(972) : error 018: initialization data exceeds declared size
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16934) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16936) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16937) : error 017: undefined symbol "minni"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16938) : error 017: undefined symbol "minni"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17562) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(46102) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(54200) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(55183) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(55183) : error 035: argument type mismatch (argument 3)
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(56178) : warning 203: symbol is never used: "tmp"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.

    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,sizeof(pName));
    format(tbDir,sizeof(tbDir),foxBanFile,pName);
    if(dini_Exists(tbDir))
    {
    if(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDuration") > Time())
    {
    new sekki=(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDuration"))-Time(),minni=sekki/60;
    sekki=sekki-minni*60;
    format(ALLSTRING,sizeof(ALLSTRING),"Du wurdest für eine Weile vom Server gebannt. Restliche Zeit: %d Minuten %d Sekunden",minni,sekki)
    SendClientMessage(playerid,COLOR_LIGHTRED,ALLSTRING);
    format(ALLSTRING,sizeof(ALLSTRING),"%s hat versucht mit einem Timeban sich einzuloggen.", pName);
    ABroadCast(COLOR_YELLOW,ALLSTRING,1);
    Kick(playerid);
    }
    else { dini_Remove(tbDir); }
    }
    Function OnPlayerCommandText(playerid, cmdtext[])
    {
    M_OnPlayerCommandText(playerid,cmdtext);
    new string[256];
    new playermoney;
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new playername[MAX_PLAYER_NAME];
    new cmd[256];
    new tmp[256];
    new giveplayerid, moneys, idx;
    new dancestyle;
    cmd = strtok(cmdtext, idx);
    Function OnPlayerText(playerid, text[])
    {
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
    GetPlayerName(playerid,sendername,sizeof(sendername));
    //SetPlayerChatBubble(playerid, text, 0xFF0000FF, 20.0, 10000);
    /*TextSpams[playerid]++;
    if(TextSpams[playerid] >= 5 && PlayerInfo[playerid][pAdmin] == 0)
    {
    format(string, sizeof(string), " %s wurde von %s gekickt! (GRUND: Spam)",sendername,M_Bot_BOT_NAME);
    SendClientMessageToAll(M_BOT_COLOR, string);
    Kick(playerid);
    return 0;
    }*/
    {
    WantedLevel[i] --;
    new wlevel;
    wlevel = GetPlayerWantedLevel(i);
    new tmp[64];
    format(tmp,sizeof(tmp), "Aktuelles Wantedlevel: %i", wlevel-1);
    SendClientMessage(i, COLOR_GREEN,tmp);
    }

    kann mir einer helfen ?

    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(971) : error 018: initialization data exceeds declared size
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16933) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16935) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16936) : error 017: undefined symbol "minni"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16937) : error 017: undefined symbol "minni"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17560) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(46100) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(54198) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(55181) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(55181) : error 035: argument type mismatch (argument 3)
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(56176) : warning 203: symbol is never used: "tmp"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.



    kann mir jemand helfen ? plss
    format(ALLSTRING,sizeof(ALLSTRING),"Du wurdest für eine Weile vom Server gebannt. Restliche Zeit: %d Minuten %d Sekunden",minni,sekki);
    SendClientMessage(playerid,COLOR_LIGHTRED,ALLSTRING);


    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(970) : error 018: initialization data exceeds declared size
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16932) : error 017: undefined symbol "Time"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16934) : error 017: undefined symbol "Time"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17559) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(46099) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(54197) : warning 219: local variable "tmp" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(55180) : error 017: undefined symbol "Time"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(56175) : warning 203: symbol is never used: "tmp"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

    meinste das hier ???


    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(970) : error 018: initialization data exceeds declared size
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16913) : error 017: undefined symbol "Time"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(16915) : error 017: undefined symbol "Time"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17543) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17543) : error 033: array must be indexed (variable "cmd")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17743) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17743) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17777) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(17777) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18001) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18001) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18171) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18171) : error 033: array must be indexed (variable "x_nr")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18181) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18181) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18211) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18211) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18255) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18255) : error 033: array must be indexed (variable "x_nr")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18265) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18265) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18295) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18295) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18434) : error 017: undefined symbol "strtok"
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18434) : error 033: array must be indexed (variable "tmp")
    C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(18442) : error 017: undefined symbol "strtok"


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



    26 Errors.

    Hi leute ich habe paar Errors 26 Stück ich glaube das Liegt an einem Klammerfehler nur ich finde den nicht ich weis nicht wie ich das finden kann ? Hat einer ne lösung ?

    Hallo , also ich habe errors mit autohaus system


    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(29339) : warning 219: local variable "Status" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(29339) : warning 204: symbol is assigned a value that is never used: "Status"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42353) : warning 235: public function lacks forward declaration (symbol "BuyWangCarsAuto")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42357) : error 017: undefined symbol "PlayerGetMoney"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42359) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42364) : error 017: undefined symbol "PlayerGiveMoney"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42374) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42375) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42376) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42377) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42378) : error 017: undefined symbol "SendUserMessage"
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42492) : warning 219: local variable "Autohaus" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42496) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42496) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42498) : error 032: array index out of bounds (variable "DtcParkPlatz")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42499) : error 032: array index out of bounds (variable "DtcParkPlatz")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42500) : error 032: array index out of bounds (variable "DtcParkPlatz")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42501) : error 032: array index out of bounds (variable "DtcParkPlatz")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42502) : error 032: array index out of bounds (variable "RadZahl")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42503) : error 032: array index out of bounds (variable "RadZahl")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42505) : error 032: array index out of bounds (variable "RadZahl")
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42511) : warning 219: local variable "Preis" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42511) : warning 219: local variable "Autohaus" shadows a variable at a preceding level
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42516) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42516) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42520) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42520) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42524) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42524) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42528) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42528) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42532) : warning 213: tag mismatch
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(42532) : warning 205: redundant code: constant expression is zero
    C:\Users\Tufan\Desktop\server\gamemodes\GamerXscript.pwn(43127) : warning 203: symbol is never used: "CarSpawns"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    15 Errors.






    if (strcmp("/carlock", cmdtext, true, 10) == 0)
    {
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new Status = Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]];
    new Float:dtc_X,Float:dtc_Y,Float:dtc_Z;
    GetVehiclePos(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId],dtc_X,dtc_Y,dtc_Z);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,20.0,dtc_X,dtc_Y,dtc_Z))
    {
    PlayerPlaySound(i,1147,dtc_X,dtc_Y,dtc_Z);
    }
    }
    switch (Status)
    {
    case 0:
    {
    GameTextForPlayer(playerid, "~w~Fahrzeug ~r~abgeschlossen", 5000, 6);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 1;
    Dtc_LockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    }
    case 1:
    {
    GameTextForPlayer(playerid, "~w~Fahrzeug ~g~aufgeschlossen", 5000, 6);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 0;
    Dtc_UnLockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt Kein Fahrzeug für deinen Ausgewählten Schlüssel!");
    return 1;
    }
    return 1;
    }
    if (strcmp("/carkey", cmdtext, true, 10) == 0)
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    Dtc_PlayerKey[playerid] += 1;
    if(Dtc_PlayerKey[playerid] == MaxVeh)
    {
    Dtc_PlayerKey[playerid] = 0;
    }
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, für deinen %s!",Dtc_PlayerKey[playerid]+1,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]);
    }
    else
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, doch hast für diesen Schlüssel noch kein Auto!",Dtc_PlayerKey[playerid]+1);
    }
    SendClientMessage(playerid,COLOR_YELLOW,string);
    }
    return 1;
    }


    ublic OnVehicleStreamIn(vehicleid, forplayerid)
    {
    SetVehicleParamsForPlayer(vehicleid, forplayerid, iVehicleObjective[vehicleid][0], iVehicleObjective[vehicleid][1]);
    }



    public SetParkPlatz(playerid,Autohaus)
    {
    if(IsPlayerConnected(playerid) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    if(Autohaus < AUTOHAUSER)
    {
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_x] = DtcParkPlatz[Autohaus][RadZahl[Autohaus]][0];
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_y] = DtcParkPlatz[Autohaus][RadZahl[Autohaus]][1];
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_z] = DtcParkPlatz[Autohaus][RadZahl[Autohaus]][2];
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarRotate] = DtcParkPlatz[Autohaus][RadZahl[Autohaus]][3];
    RadZahl[Autohaus] += 1;
    if(RadZahl[Autohaus] >= MAXPARKPLATZE)
    {
    RadZahl[Autohaus] = 0;
    }
    }
    }
    }


    public OnPlayerBuyCar(playerid,Model,Preis,Autohaus)//CARSYS
    {
    if(IsPlayerConnected(playerid) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    CallRemoteFunction("M_GivePlayerMoney","id",playerid,-Preis);
    if(Autohaus == 0)
    {
    AddToBizzTill(14,Preis);
    }
    else if(Autohaus == 1)
    {
    AddToBizzTill(12,Preis);
    }
    else if(Autohaus == 2)
    {
    AddToBizzTill(21,Preis);
    }
    else if(Autohaus == 3)
    {
    AddToBizzTill(15,Preis);
    }
    else if(Autohaus == 4)
    {
    AddToBizzTill(13,Preis);
    }
    SetParkPlatz(playerid,Autohaus);
    new name[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, name, sizeof name);
    format(str, sizeof str, "/Autos/%s%d.dtcar", name,Dtc_PlayerKey[playerid]);
    new File: hFile = fopen(str, io_write);
    if (hFile)
    {
    new var[32];
    format(var, 32, "CarId=0\n");fwrite(hFile, var);
    format(var, 32, "CarModel=%d\n",Model);fwrite(hFile, var);
    format(var, 32, "CarPos_x=%.3f\n",PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_x]);fwrite(hFile, var);
    format(var, 32, "CarPos_y=%.3f\n",PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_y]);fwrite(hFile, var);
    format(var, 32, "CarPos_z=%.3f\n",PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_z]);fwrite(hFile, var);
    format(var, 32, "CarRotate=%.3f\n",PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarRotate]);fwrite(hFile, var);
    format(var, 32, "CarNitro=0\n");fwrite(hFile, var);
    format(var, 32, "CarHyd=0\n");fwrite(hFile, var);
    format(var, 32, "CarWheel=0\n");fwrite(hFile, var);
    format(var, 32, "CarAusp=0\n");fwrite(hFile, var);
    format(var, 32, "CarSideL=0\n");fwrite(hFile, var);
    format(var, 32, "CarSideR=0\n");fwrite(hFile, var);
    format(var, 32, "CarFB=0\n");fwrite(hFile, var);
    format(var, 32, "CarRB=0\n");fwrite(hFile, var);
    format(var, 32, "CarSpoiler=0\n");fwrite(hFile, var);
    format(var, 32, "CarRoof=0\n");fwrite(hFile, var);
    format(var, 32, "CarHood=0\n");fwrite(hFile, var);
    format(var, 32, "CarVents=0\n");fwrite(hFile, var);
    format(var, 32, "CarLamps=0\n");fwrite(hFile, var);
    format(var, 32, "CarPJ=-1\n");fwrite(hFile, var);
    format(var, 32, "CarC1=-1\n");fwrite(hFile, var);
    format(var, 32, "CarC2=-1\n");fwrite(hFile, var);
    format(var, 32, "Preis=%d\n",Preis);fwrite(hFile, var);
    fclose(hFile);
    }
    OnPlayerCarLogin(playerid);
    }
    }


    public OnPlayerCarLogin(playerid)
    {
    for(new x = 0; x < MaxVeh; x++)
    {
    if(!Dtc_PlayerHaveCar[playerid][x])
    {
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    format(string2, sizeof(string2), "/Autos/%s%d.dtcar", playername2,x);
    new File: UserFile = fopen(string2, io_read);
    if (UserFile)
    {
    Dtc_PlayerHaveCar[playerid][x] = 1;
    new key[ 256 ] , val[ 256 ];
    new Data[ 256 ];
    while ( fread( UserFile , Data , sizeof( Data ) ) )
    {
    key = ini_GetKey( Data );
    if( strcmp( key , "CarId" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarId] = strval( val ); }
    if( strcmp( key , "CarModel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarModel] = strval( val ); }
    if( strcmp( key , "CarPos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarPos_x] = floatstr( val ); }
    if( strcmp( key , "CarPos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarPos_y] = floatstr( val ); }
    if( strcmp( key , "CarPos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarPos_z] = floatstr( val ); }
    if( strcmp( key , "CarRotate" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarRotate] = floatstr( val ); }
    if( strcmp( key , "CarNitro" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarNitro] = strval( val ); }
    if( strcmp( key , "CarHyd" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarHyd] = strval( val ); }
    if( strcmp( key , "CarWheel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarWheel] = strval( val ); }
    if( strcmp( key , "CarAusp" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarAusp] = strval( val ); }
    if( strcmp( key , "CarSideL" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarSideL] = strval( val ); }
    if( strcmp( key , "CarSideR" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarSideR] = strval( val ); }
    if( strcmp( key , "CarFB" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarFB] = strval( val ); }
    if( strcmp( key , "CarRB" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarRB] = strval( val ); }
    if( strcmp( key , "CarSpoiler" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarSpoiler] = strval( val ); }
    if( strcmp( key , "CarRoof" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarRoof] = strval( val ); }
    if( strcmp( key , "CarHood" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarHood] = strval( val ); }
    if( strcmp( key , "CarVents" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarVents] = strval( val ); }
    if( strcmp( key , "CarLamps" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarLamps] = strval( val ); }
    if( strcmp( key , "CarPJ" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarPJ] = strval( val ); }
    if( strcmp( key , "CarC1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarC1] = strval( val ); }
    if( strcmp( key , "CarC2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarC2] = strval( val ); }
    if( strcmp( key , "Preis" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerCar[playerid][x][CarPreis] = strval( val ); }
    }
    fclose(UserFile);
    PlayerCarSpawn(playerid,x);
    }
    }
    }
    }


    public PlayerCarSpawn(playerid,Slot)
    {
    if(IsPlayerConnected(playerid))
    {
    if(Dtc_PlayerHaveCar[playerid][Slot])
    {
    PlayerCar[playerid][Slot][CarId] = CreateVehicle(PlayerCar[playerid][Slot][CarModel],PlayerCar[playerid][Slot][CarPos_x],PlayerCar[playerid][Slot][CarPos_y],PlayerCar[playerid][Slot][CarPos_z],PlayerCar[playerid][Slot][CarRotate],PlayerCar[playerid][Slot][CarC1],PlayerCar[playerid][Slot][CarC2], 60000);/*vehicle spawn*/
    ChangeVehicleColor(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarC1],PlayerCar[playerid][Slot][CarC2]);
    if(PlayerCar[playerid][Slot][CarPJ] >= 0) {ChangeVehiclePaintjob(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarPJ]);}
    if(PlayerCar[playerid][Slot][CarNitro] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarNitro]);}
    if(PlayerCar[playerid][Slot][CarHyd] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarHyd]);}
    if(PlayerCar[playerid][Slot][CarWheel] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarWheel]);}
    if(PlayerCar[playerid][Slot][CarAusp] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarAusp]);}
    if(PlayerCar[playerid][Slot][CarSideL] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarSideL]);}
    if(PlayerCar[playerid][Slot][CarSideR] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarSideR]);}
    if(PlayerCar[playerid][Slot][CarFB] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarFB]);}
    if(PlayerCar[playerid][Slot][CarRB] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarRB]);}
    if(PlayerCar[playerid][Slot][CarSpoiler] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarSpoiler]);}
    if(PlayerCar[playerid][Slot][CarRoof] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarRoof]);}
    if(PlayerCar[playerid][Slot][CarHood] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarHood]);}
    if(PlayerCar[playerid][Slot][CarVents] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarVents]);}
    if(PlayerCar[playerid][Slot][CarLamps] != 0) {AddVehicleComponent(PlayerCar[playerid][Slot][CarId],PlayerCar[playerid][Slot][CarLamps]);}
    if(Dtc_LockOnSpawn)
    {
    Dtc_Carlock[PlayerCar[playerid][Slot][CarId]] = 1;
    Dtc_LockCar(PlayerCar[playerid][Slot][CarId]);
    }
    }
    }
    }
    public OnVehicleMod(playerid,vehicleid,componentid)
    {
    for(new x = 0; x < MaxVeh; x++)
    {
    if (vehicleid == PlayerCar[playerid][x][CarId] && Dtc_PlayerHaveCar[playerid][x])
    {
    if((componentid >= 1008) && (componentid <= 1010)) {PlayerCar[playerid][x][CarNitro] = componentid;}
    if((componentid >= 1142) && (componentid <= 1145)) {PlayerCar[playerid][x][CarVents] = componentid;}
    if((componentid == 1013) || (componentid == 1024)) {PlayerCar[playerid][x][CarLamps] = componentid;}
    if((componentid >= 1004) && (componentid <= 1005)||(componentid >= 1011) && (componentid <= 1012)) {PlayerCar[playerid][x][CarHood] = componentid;}
    if(componentid == 1087) {PlayerCar[playerid][x][CarHyd] = componentid;}
    if(componentid == 1086) {PlayerCar[playerid][x][CarHyd] = componentid;}
    if(IsAWheel(componentid)) {PlayerCar[playerid][x][CarWheel] = componentid;}
    if(IsAExhaust(componentid)) {PlayerCar[playerid][x][CarAusp] = componentid;}
    if(IsASideL(componentid)) {PlayerCar[playerid][x][CarSideL] = componentid; PlayerCar[playerid][x][CarSideR] = SideR;}
    if(IsASideR(componentid)) {PlayerCar[playerid][x][CarSideR] = componentid; PlayerCar[playerid][x][CarSideL] = SideL;}
    if(IsAFB(componentid)) {PlayerCar[playerid][x][CarFB] = componentid;}
    if(IsARB(componentid)) {PlayerCar[playerid][x][CarRB] = componentid;}
    if(IsASpoiler(componentid)) {PlayerCar[playerid][x][CarSpoiler] = componentid;}
    if(IsARoof(componentid)) {PlayerCar[playerid][x][CarRoof] = componentid;}
    }
    }
    return 1;
    }




    ich wär sehr dankbar wenn mir das jemand vlllt über team viewer machen könnte oder mir sagen könnte wie das geht

    Hi leute, also ich habe ein autohaus system das ging auch immer aber jetzt auf einmal gehtst nicht mer also wenn man das auto kauft verliert man das geld aber es spawnt kein auto und bei /carkey steht das mann auch keins hat was habe ich falsch gemacht ?public OnPlayerPickUpPickup(playerid,pickupid)
    {
    for(new x = 0; x < AUTOHAUSER;x++)
    {
    if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    TogglePlayerControllable(playerid, 0);
    SetPlayerVirtualWorld(playerid,55+playerid);
    new string[246];
    dtc_AutohausCar[playerid] = 0;
    dtc_AutohausCat[playerid] = x;
    new c1 = random(120);
    new c2 = random(120);
    new car;
    new preis;
    for(new ah = 0; ah < sizeof(dtcKaufliste);ah++)
    {
    if(car == 0 && dtcKaufliste[ah][dtc_Autohaus] == x)
    {
    car = dtcKaufliste[ah][dtc_CarModel];
    preis = dtcKaufliste[ah][dtc_CarModel];
    }
    }
    SetPlayerCameraPos(playerid, DtcSonstiges[x][2][0],DtcSonstiges[x][2][1],DtcSonstiges[x][2][2]);
    SetPlayerCameraLookAt(playerid, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2]);
    dtc_AutohausSCar[playerid] = CreateVehicle(car, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2],DtcSonstiges[x][1][3],c1,c2,-1);
    SetPlayerPos(playerid, DtcSonstiges[x][3][0],DtcSonstiges[x][3][1],DtcSonstiges[x][3][2]);
    SetVehicleVirtualWorld(dtc_AutohausSCar[playerid],55+playerid);
    format(string,sizeof(string),"~r~---------- AUTOHAUS ----------~n~~g~Fahrzeug: ~w~%s~n~~g~Preis: ~w~$%d~n~~b~Auswaehlen:~n~~w~ <Num 4<~b~&~w~>Num 6> ~n~~b~Kaufen:~w~ Enter ~n~~b~Abbrechen:~w~ Tab",CarName[car-400],preis);
    if(!CarKauf[playerid])
    {
    CarKauf[playerid] = TextDrawCreate(200,310,string);
    TextDrawAlignment(CarKauf[playerid],1);
    TextDrawUseBox(CarKauf[playerid],1);
    TextDrawBoxColor(CarKauf[playerid],0x000000FF);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawBackgroundColor(CarKauf[playerid],COLOR_BLACK);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawFont(CarKauf[playerid], 2);
    //TextDrawSetProportional(CarKauf[playerid], 2);
    TextDrawTextSize(CarKauf[playerid],450,410);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    else
    {
    TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawSetString(CarKauf[playerid],string);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    }
    else if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug mit deinem Ausgewählten Schlüssel !");
    SendClientMessage(playerid, COLOR_GREY, " Verkaufe es mit /carsell oder wechsel den Schlüssel mit /carkey !");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug! Verkaufe es mit /carsell");
    }
    }
    }
    oder ist hier was falsch?
    if (strcmp("/carhelp", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
    SendClientMessage(playerid, COLOR_WHITE,"*** Commands *** /park /carlock /carkey /carsell");
    return 1;
    }
    if(strcmp("/carsell", cmdtext, true, 10) == 0)
    {
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    //CallRemoteFunction("moneygive","ii",playerid,PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPreis] / 2);
    //GivePlayerMoney(playerid, PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPreis] / 2);
    CallRemoteFunction("M_GivePlayerMoney","id",playerid,PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPreis] / 2);
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 0;
    Dtc_UnLockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    DestroyVehicle(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    new string3[32];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "/Autos/%s%d.dtcar", playername3,Dtc_PlayerKey[playerid]);
    fremove(string3);
    Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] = 0;
    SendClientMessage(playerid, COLOR_YELLOW, " Fahrzeug erfolgreich verkauft, Hälfte des Kaufpreises wird wurde dir wieder gegeben!");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt Kein Fahrzeug!");
    return 1;
    }
    return 1;
    }
    if (strcmp("/park", cmdtext, true, 10) == 0)
    {
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new newcar = GetPlayerVehicleID(playerid);
    if (newcar == PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId])
    {
    new Float:X,Float:Y,Float:Z;
    new Float:z_rot;
    GetPlayerPos(playerid, X,Y,Z);
    GetVehicleZAngle(newcar, z_rot);
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_x] = X;
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_y] = Y;
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPos_z] = Z;
    PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarRotate] = z_rot;
    SendClientMessage(playerid, COLOR_YELLOW, " Du hast dein Fahrzeug hier geparkt, ab nun kannst du dein Fahrzeug hier finden!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_GREY," Du bist nicht in deinem Fahrzeug/Du hast nicht den Schlüssel zu diesem Fahrzeug ausgewählt!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt Kein Fahrzeug für deinen Ausgewählten Schlüssel!");
    return 1;
    }
    return 1;
    }
    if (strcmp("/carlock", cmdtext, true, 10) == 0)
    {
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new Status = Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]];
    new Float:dtc_X,Float:dtc_Y,Float:dtc_Z;
    GetVehiclePos(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId],dtc_X,dtc_Y,dtc_Z);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,20.0,dtc_X,dtc_Y,dtc_Z))
    {
    PlayerPlaySound(i,1147,dtc_X,dtc_Y,dtc_Z);
    }
    }
    switch (Status)
    {
    case 0:
    {
    GameTextForPlayer(playerid, "~w~Fahrzeug ~r~abgeschlossen", 5000, 6);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 1;
    Dtc_LockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    }
    case 1:
    {
    GameTextForPlayer(playerid, "~w~Fahrzeug ~g~aufgeschlossen", 5000, 6);
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 0;
    Dtc_UnLockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt Kein Fahrzeug für deinen Ausgewählten Schlüssel!");
    return 1;
    }
    return 1;
    }
    if (strcmp("/carkey", cmdtext, true, 10) == 0)
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    Dtc_PlayerKey[playerid] += 1;
    if(Dtc_PlayerKey[playerid] == MaxVeh)
    {
    Dtc_PlayerKey[playerid] = 0;
    }
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, für deinen %s!",Dtc_PlayerKey[playerid]+1,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]);
    }
    else
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, doch hast für diesen Schlüssel noch kein Auto!",Dtc_PlayerKey[playerid]+1);
    }
    SendClientMessage(playerid,COLOR_YELLOW,string);
    }
    return 1;
    }

    autohaus verbuggt

    ne das sind andere früher konte ich die bei vehicles löschen jetzt auch aber jetzt tut sich da nix ich mein die autos wo vor krankenhaus 1 virgo steht und 1 anderes und da in der nähe von ""BANK" an dem parkplatz wo paar autos stehen und andere stellen

    Hallo, ich habe mir neulich einen server gemietet es funktioniert auch alles nur ich kriege diese autos nicht raus die da immer rumstehen also ich glaub da sind die standard autos normalerweise sind die immer leichtraus gegangen ich hab den ordner vehicles gelöscht und cars und autos aber die sind immer noch da könnt ihr mir weiterhelfen?

    jetzt geht das teil in den boden rein also es ist pltözlich im boden ich wolte eig das das da rein fährt also langsam, und das geht nicht mehr hoch
    ocmd:fbitor(playerid,param[20])
    {
    if(fbitor == 0)
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.0);SendClientMessage(playerid,gelb,"Du hast das Hoftor geschlossen!");
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 1;
    }
    else
    {
    MoveObject(fbitor,2237.6999511719, 2457, 3, 359.25, 359.49462890625,4.0);SendClientMessage(playerid,gelb,"Du hast das Hoftor geöffnet!");
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 0;
    }
    return 1;
    }

    könnt ihr mir sagen wie ich es dann machen soll ?

    hallo ich habe zwar keine errors aber das tor bewegt sich nicht
    ocmd:fbitor(playerid,param[20])
    {
    if(fbitor == 0)
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.00);SendClientMessage(playerid,gelb,"Du hast das Hoftor geschlossen!");
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 1;
    }
    else
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625-10,4.00);SendClientMessage(playerid,gelb,"Du hast das Hoftor geöffnet!");
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 0;
    }
    return 1;
    }

    was ist falsch?

    bekomme immer noch errors
    ocmd:fbitor(playerid,param[])
    {
    if(fbitor == 0)
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 1;
    }
    else
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 0;
    }
    return 1;
    }

    public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    return 1;
    }


    ocmd:fbitor(playerid,param[])
    {
    if(fbitor == 0)
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 1;
    }
    else
    {
    MoveObject(fbitor,2237.6999511719, 2457, 11.5, 359.25, 359.49462890625,4.0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    fbitor = 0;
    }
    return 1;
    }

    also ich hab jetzt ganz unten da bekomme ich


    C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.pwn(105) : error 029: invalid expression, assumed zero
    C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.pwn(105 -- 106) : warning 215: expression has no effect
    C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.pwn(106) : error 001: expected token: ";", but found "return"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.