Beiträge von _xXIce_TeaXx_

    Hallo



    Wie mach ich das wenn der tank leer ist bei den spieler Und dann das auto anhält der motor aus geht und das der raus gewurfen werd aus dem auto ?



    ich hab das bis jetzt so :




    • public CheckGas()
      {
      new string[256];
      for(new i=0;i<MAX_PLAYERS;i++)
      {
      if(IsPlayerConnected(i))
      {
      if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
      {
      new model = GetVehicleModel(GetPlayerVehicleID(i));
      if(IsAFahrrad(model))return 1;
      new vehicle = GetPlayerVehicleID(i);
      if(gGas[vehicle] >= 1)
      {
      if(gGas[vehicle] <= 10)
      {
      PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0);
      }
      gGas[vehicle]--;
      format(string, sizeof(string), "%d/%d", gGas[vehicle], gMaxGas[vehicle]);
      TextDrawSetString(Speedo6[i], string);
      }
      else
      {
      RemovePlayerFromVehicle(i);
      GameTextForPlayer(i, "~w~~n~~n~~r~Kein Tank!~n~~g~!", 4000, 3);
      }
      }
      }
      }
      return 1;
      }


    MFG DeadCoast


    • forward OnPlayerBuyCar(playerid, Model, Preis, cAutohaus, tank);



      for(new a=0;a<sizeof(Kaufliste);a++)
      {
      Kaufliste[a][Carid]=CreateVehicle(Kaufliste[a][Modelid],Kaufliste[a][CarPos_x], Kaufliste[a][CarPos_y], Kaufliste[a][CarPos_z], Kaufliste[a[CarRotate]1,1,20);
      }



      new typ, string[128];
      typ=IsAutohausCar(vehicleid);
      if(typ!=-1)
      {
      FreezePlayer(playerid);
      Spectating[playerid][0]=typ;
      format(string, sizeof(string), "{40A5FE}Fahrzeug:{FFFFFF}\t %s\n{40A5FE}Preis:{FFFFFF}\t\t $%d\n{40A5FE}Tank:{FFFFFF}\t\t %d", Kaufliste[typ] [Name], Kaufliste[typ][aPreis],Kaufliste[typ][Tank]);
      ShowPlayerDialog(playerid, DIALOG_SELLCAR, DIALOG_STYLE_MSGBOX, "{FFFFFF}Autohaus", string, "Kaufen", "Abbrechen");
      }




      if(dialogid==DIALOG_SELLCAR)
      {
      if(response)
      {
      print("D1");
      if(Spectating[playerid][0]!=-1)
      {
      print("D2");
      if(!PlayerHaveCar[playerid][PlayerKey[playerid]])
      {
      print("D3");
      new preis = Kaufliste[Spectating[playerid][0]][aPreis];
      print("D4");
      if(GetPlayerMoney(playerid) > preis)
      {
      print("D5");
      //new autohaus=Kaufliste[Spectating[playerid][0]][Autohaus];
      GivePlayerCash(playerid, -preis);
      print("D6");
      new prname[MAX_PLAYER_NAME], str[128];
      GetPlayerName(playerid, prname, sizeof name);
      format(str, sizeof str, "/Autos/%s_Car_%d.ini", prname,PlayerKey[playerid]);
      new File: hFile = fopen(str, io_write);
      if (hFile)
      {
      new var[32];
      format(var, 32, "CarId=%d\n", PlayerCar[playerid][PlayerKey[playerid]][CarId]=Spectating[playerid][0]);fwrite(hFile, var);
      format(var, 32, "CarModel=%d\n",PlayerCar[playerid][PlayerKey[playerid]][CarModel]=Kaufliste[Spectating[playerid][0]][Modelid]);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",PlayerCar[playerid][PlayerKey[playerid]][CarPreis]=preis/2);fwrite(hFile, var);
      format(var, 32, "Tank=%d\n", Kaufliste[Spectating[playerid][0]][Tank]); fwrite(hFile, var);
      format(var, 32, "MaxTank=%d\n", Kaufliste[Spectating[playerid][0]][Tank]); fwrite(hFile, var);
      format(var, 32, "CarState=%d\n", PlayerCar[playerid][PlayerKey[playerid]][CarState]);fwrite(hFile, var);
      fclose(hFile);
      }
      PlayerCar[playerid][PlayerKey[playerid]][CarId]=Spectating[playerid][0];
      PlayerCar[playerid][PlayerKey[playerid]][CarModel]=Kaufliste[Spectating[playerid][0]][Modelid];
      PlayerCar[playerid][PlayerKey[playerid]][CarNitro]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarHyd]=0;
      print("D7");
      PlayerCar[playerid][PlayerKey[playerid]][CarWheel]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarAusp]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarSideL]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarSideR]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarFB]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarRB]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarSpoiler]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarRoof]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarHood]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarVents]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarLamps]=0;
      PlayerCar[playerid][PlayerKey[playerid]][CarPJ]=-1;
      PlayerCar[playerid][PlayerKey[playerid]][CarC1]=1;
      PlayerCar[playerid][PlayerKey[playerid]][CarC2]=1;
      print("D8");
      PlayerCar[playerid][PlayerKey[playerid]][CarPreis]=preis/2;
      PlayerCar[playerid][PlayerKey[playerid]][CarTank]=Kaufliste[Spectating[playerid][0]][Tank];
      PlayerCar[playerid][PlayerKey[playerid]][CarMaxTank]=Kaufliste[Spectating[playerid][0]][Tank];
      PlayerCar[playerid][PlayerKey[playerid]][CarState]=0;
      print("D9");
      PlayerCar[playerid][PlayerKey[playerid]][CarId] = CreateVehicle(PlayerCar[playerid][PlayerKey[playerid]][CarModel],PlayerCar[playerid] [PlayerKey[playerid]][CarPos_x],PlayerCar[playerid][PlayerKey[playerid]][CarPos_y],PlayerCar[playerid][PlayerKey[playerid]] [CarPos_z],PlayerCar[playerid][PlayerKey[playerid]][CarRotate],PlayerCar[playerid][PlayerKey[playerid]][CarC1],PlayerCar[playerid] [PlayerKey[playerid]][CarC2], -1);/*vehicle spawn*/
      SetVehicleNumberPlate(PlayerCar[playerid][PlayerKey[playerid]][CarId], SpielerName(playerid));
      RemovePlayerFromVehicle(playerid);
      print("D10");
      FreezePlayer(playerid);
      print("D11");
      UnfreezePlayer(playerid);
      print("D12");
      PlayerHaveCar[playerid][PlayerKey[playerid]] = 1;
      }
      else
      {
      SendClientMessage(playerid, COLOR_WEISS, "Du hast nicht genügend Geld dabei!");
      FreezePlayer(playerid);
      RemovePlayerFromVehicle(playerid);
      UnfreezePlayer(playerid);
      return 1;
      }
      }
      else
      {
      FreezePlayer(playerid);
      RemovePlayerFromVehicle(playerid);
      SendClientMessage(playerid, COLOR_WEISS, "Auf diesem Schlüssel ist bereits ein Fahrzeug!");
      UnfreezePlayer(playerid);
      return 1;
      }
      }
      }
      if(!response)
      {
      FreezePlayer(playerid);
      RemovePlayerFromVehicle(playerid);
      UnfreezePlayer(playerid);
      return 1;
      }
      }




      /*public OnPlayerBuyCar(playerid, Model, Preis, cAutohaus, tank)
      {
      if(IsPlayerConnected(playerid))
      {
      GivePlayerCash(playerid, -Preis);
      new name[MAX_PLAYER_NAME], str[128];
      GetPlayerName(playerid, name, sizeof(name));
      format(str, sizeof(str), "/Autos/%s_Car_%d.ini", name, 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);
      if(cAutohaus == 0)//Intercars
      {
      format(var, 32, "CarPos_x=%.3f\n",744.7441);fwrite(hFile, var);
      format(var, 32, "CarPos_y=%.3f\n",-1345.2749);fwrite(hFile, var);
      format(var, 32, "CarPos_z=%.3f\n",13.2438);fwrite(hFile, var);
      format(var, 32, "CarRotate=%.3f\n",271.8782);fwrite(hFile, var);
      }
      else if(cAutohaus == 1)//Grottis
      {
      format(var, 32, "CarPos_x=%.3f\n",550.6537);fwrite(hFile, var);
      format(var, 32, "CarPos_y=%.3f\n",-1264.4824);fwrite(hFile, var);
      format(var, 32, "CarPos_z=%.3f\n",16.9693);fwrite(hFile, var);
      format(var, 32, "CarRotate=%.3f\n",135.6086);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);
      format(var, 32, "Tank=%d\n", tank);fwrite(hFile, var);
      format(var, 32, "MaxTank=%d\n", tank);fwrite(hFile, var);
      fclose(hFile);
      }
      OnPlayerCarLogin(playerid);
      }
      }*/





    WOW Tolle hilfe hahaha

    Ich hab ein Problem Ich hab so ein Autohaus erstellt


    ----> http://www.pic-upload.de/view-15878360/sa-mp-001.png.html



    und das Problem ist das auto Spawnt am ein Bauernhof


    ----> http://www.pic-upload.de/view-15878435/sa-mp-002.png.html



    kann mir einer sagen warum



    meine emun





    • enum ahSpawn
      {
      Float:CarPos_x,
      Float:CarPos_y,
      Float:CarPos_z,
      Float:CarRotate,
      };


      enum aHaus
      {
      Name[128],
      Autohaus,//0=Intercars,1=Grottis
      Modelid,
      Carid,
      aPreis,
      Float:CarPos_x,
      Float:CarPos_y,
      Float:CarPos_z,
      Float:CarRotate,
      Tank,
      };


      new Kaufliste[22][aHaus] =
      {
      // Intercars //
      {"Virgo", 0, 491, 1, 7500, 738.2218,-1333.2441,13.3006,179.4652, 60},//intercars
      {"Comet", 0, 480, 1, 12000, 742.6456,-1333.6265,13.3105,177.3891, 60},//intercars
      {"Premier", 0, 426, 1, 12500, 747.2948,-1333.5927,13.2865,179.4888, 60},//intercars
      {"Phoenix", 0, 603, 1, 26000, 752.3946,-1333.4897,13.3817,179.2118, 60},//intercars
      {"Slamvan", 0, 535, 1, 18000, 757.2639,-1333.8567,13.3063,178.5301, 60},//intercars
      {"Broadway", 0, 575, 1, 16000, 761.9200,-1333.8467,13.1466,179.4905, 60},//intercars
      {"Elegy", 0, 562, 1, 26000, 766.5497,-1333.7371,13.2016,180.3142, 60},//intercars
      {"Voodoo", 0, 412, 1, 6000, 782.4635,-1338.8204,13.3763,90.6943, 60},//intercars
      {"Tampa", 0, 549, 1, 2500, 782.3835,-1343.0145,13.1885,90.6917, 60},//intercars
      {"Oceanic", 0, 467, 1, 12000, 782.9632,-1346.9535,13.2502,90.2770, 60},//intercars
      {"Tarnado", 0, 576, 1, 10000, 782.7252,-1351.1377,13.1563,90.0070, 60},//intercars
      {"Sentinel", 0, 405, 1, 7000, 782.7794,-1355.7322,13.4149,89.8399, 60},//./intercars
      {"Admiral", 0, 445, 1, 5500, 782.9748,-1360.1450,13.4150,89.6007, 60},//intercars
      {"washington", 0, 421, 1, 13000, 783.5271,-1364.5712,13.4232,91.6611, 60},//intercars
      {"Bobcat", 0, 422, 1, 10000, 783.1122,-1369.0377,13.5270,89.9691, 60},//intercars
      {"Clover", 0, 542, 1, 2500,783.5627,-1373.9526,13.3279,92.3430, 60},//intercars
      {"Previon", 0, 436, 1, 6000, 783.2434,-1378.3967,13.4111,89.9667, 60},//intercars
      {"Camper", 0, 483, 1, 14000,763.3348,-1381.4042,13.6537,267.8404, 60},//intercars
      {"Burrito", 0, 482, 1, 9500, 763.8856,-1376.6637,13.7247,267.4547, 60},//intercars
      {"Hustler", 0, 545, 1, 28000, 764.4372,-1372.2225,13.3568,269.7708, 60},//intercars
      {"Esperanto", 0, 419, 1, 13000, 763.5831,-1368.0787,13.3160,269.6594, 60},//intercars
      {"Moonbeam", 0, 418, 1, 9000, 763.5397,-1363.6735,13.6152,269.9270, 60}//intercars
      };

    wenn einer das weiß bitte helfen

    • S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(11522) : error 017: undefined symbol "GetVehicleSpeed_P"
      S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(11533) : error 021: symbol already defined: "speed"
      S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(11522) : warning 204: symbol is assigned a value that is never used: "speed"
      S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(11521) : warning 204: symbol is assigned a value that is never used


    • public UpdateSpeed()
      {
      //new Float:x, Float:y, Float:z;
      new string[256];
      for(new i=0;i<MAX_PLAYERS;i++)
      {
      if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i))
      {
      new const vehicleid = GetPlayerVehicleID(i);
      new Vehicle = GetPlayerVehicleID(i); // zeile 11521
      new Float:speed = GetVehicleSpeed_P(i); // zeile 11522
      new Float:memory[3]={0.00,0.00,0.00 };
      new Float:CarHealth;
      GetVehicleHealth(vehicleid, CarHealth);
      CarHealth = CarHealth -250;
      CarHealth = CarHealth/10;
      CarHealth = CarHealth /75;
      CarHealth = CarHealth *100;
      new CarHealthIni =floatround(CarHealth, floatround_floor);
      if(CarHealthIni < 0){ CarHealthIni = 0;}
      GetVehicleVelocity(vehicleid, memory[0], memory[1], memory[2]);
      new speed = speed/2; //zeile 11533
      format(string, sizeof(string), "%d km/h", floatround(speed));
      TextDrawSetString(Speedo5[i], string);
      new model = GetVehicleModel(GetPlayerVehicleID(i));
      if(!IsAFahrrad(model))
      {
      format(string, sizeof(string), "%d/%d", gGas[vehicleid], gMaxGas[vehicleid]);
      TextDrawSetString(Speedo6[i], string);
      }
      else
      {
      format(string, sizeof(string), "--/--");
      TextDrawSetString(Speedo6[i], string);
      }
      format(string, sizeof(string), "%d\%", CarHealthIni);
      TextDrawSetString(Speedo7[i], string);
      format(string, sizeof(string), "%s", CarName[model-400]);
      TextDrawSetString(Speedo4[i], string);



      }


      }


      }


    Brauche hilfe Bitte


    MFG

    Ja bei mir ist das so z.b





    • if(strcmp(cmd, "/gmx", true) == 0)
      {
      if(IsPlayerConnected(playerid))
      {
      if (Spieler[playerid][Admin] >= 1339)
      {
      GameModeExit();
      }
      else
      {
      SendClientMessage(playerid, COLOR_GRAD1, "Das darfst du nicht tun !");
      }
      }
      return 1;
      }


    Das ist ein b.s

    Hallo



    Ich hab ne frage Wie mach ist das wen der spieler eine waffe hat und der level 1 ist das die waffe ihn weg genommen werd
    und ihn solle gesendet werden das SendClientMessage(palyerid,COLOR_RED,"Waffen sind erst ab Level 2!");


    und muss man doch ne abfrege machen ob der spieler level 2 ist ?




    if(Spieler[playerid][Level] >=2)
    {
    ResetPlayerWeapons(playerid);
    SendClintMessage(palyerid,COLOR_RED,"waffen sind erst ab level 2!");
    }



    Oder wie werd das gemacht oder wo rein ???

    Hallo leute ich hab was rein gemacht


    • TunnedCar[2] lapdcars[3]= AddStaticVehicleEx(596,1601.1999511719,-1692.4000244141,5.6999998092651,90,-1,-1,10);
      SetVehicleColor(TunnedCar[2], 79, 0);
      AddVehicleComponent(TunnedCar[2],1073)


    und dan kommen der error



    S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(1076) : error 017: undefined symbol "TunnedCar"
    S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(1076) : warning 215: expression has no effect
    S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(1076) : error 001: expected token: ";", but found "]"
    S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(1076) : error 029: invalid expression, assumed zero
    S:\GTA San Andreas + server\Server\gamemodes\Script.pwn(1076) : fatal error 107: too many error messages on one line


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



    4 Errors.



    kann einer mit helfen Bitte

    Kann einer mir bitte sagen was da für ein error oder so ist wenn ich mich registirere und so werd alles angezeigt und so aber wenn ich login mache geht das nciht mehr nur mein Passwort wert geschreichert warumm ich hab so ein register gemacht


    ein b.Z


    • new name[MAX_PLAYER_NAME], accFormat[128]; GetPlayerName(playerid, name, sizeof(name)); format(accFormat, sizeof(accFormat), "/Accounts/%s.ini", name); if(dini_Exists(accFormat) && Spieler[playerid][Eingeloggt] == 1)



    dini_IntSet(accFormat, "Money", Spieler[playerid][Money]);



    und tzd. werd nix gescheicher ich ahb ein dialog_reg und login erstellt bei on playerconnecht hab ich das gemacht
    OnPlayerConnect

    • GetChased[playerid] = 999;
      SetPlayerColor(playerid, COLOR_WHITE);
      startbmx[playerid] = 0; BMX[playerid] = 0;
      PlayerKey[playerid] = 0;
      pFS[playerid] = 0; pCP[playerid] = CHECKPOINT_NONE; Spieler[playerid][Eingeloggt] = 0;
      Spieler[playerid][Admin] = 0;
      Spieler[playerid][Level] = 0;
      Spieler[playerid][Money] = 0;
      Spieler[playerid][Spielzeit] = 0; Spieler[playerid][DrivLic] = 0;
      Spieler[playerid][GunLic] = 0;
      Spieler[playerid][Muted] = 0;
      Spieler[playerid][MuteTime] = 0;

      check_timer[playerid] = SetTimerEx("MoneyCheck", 1000, 1, "%i", playerid);
      SetTimerEx("UpdateLevel", 60000, 1, "i", playerid);
      new name[MAX_PLAYER_NAME], accFormat[128];
      GetPlayerName(playerid, name, sizeof(name));
      format(accFormat, sizeof(accFormat), "/Accounts/%s.ini", name);
      if(dini_Exists(accFormat))
      {
      SetTimerEx("LoginDialog", 4000, 0, "%i", playerid);
      }
      else
      {
      SetTimerEx("RegDialog", 4000, 0, "%i", playerid);
      }
      SetPlayerCameraPos(playerid,1418.3201,-1629.2102,54.6056);
      SetPlayerCameraLookAt(playerid,1419.1599,-1630.1079,54.6056);
      return 1;


    wenn einer weiß was ich falsch gemacht hab sagt das mir bitte

    Immer noch der fehler



    S:\GTA San Andreas + server\Server\gamemodes\GermanReallifeCity.pwn(134) : error 052: multi-dimensional arrays must be fully initialized
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    ich hab ein problem mit /buygun bei mir kommen der error




    S:\GTA San Andreas + server\Server\gamemodes\GermanReallifeCity.pwn(134) : error 052: multi-dimensional arrays must be fully initialized
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    new GunPrice[15][1] ={{50}, //parachute == 1{150}, //knife == 2{50}, //baseballbat == 3{950}, //deagle == 4{1500}, //mp5 == 5{1000}, //shotgun == 6{3000}, //ak47 == 7{3000}, //m4 == 8{10000}, //rifle == 9{7}, //pistolammo == 10{7}, //shotgunammo == 11{9}, //smgammo == 12{10}, //assaultammo == 13{250} //rifle == 14}; <--- Zeile 134

    Hallo leute bei mir kommen die fehler die ich nicht verstehe


    S:\GTA San Andreas + server\Server\gamemodes\XXXXX.pwn(183) : warning 225: unreachable code
    S:\GTA San Andreas + server\Server\gamemodes\XXXXX.pwn(532) : error 017: undefined symbol "MAX_STRING"
    S:\GTA San Andreas + server\Server\gamemodes\XXXXX.pwn(532) : error 009: invalid array size (negative, zero or out of bounds)
    S:\GTA San Andreas + server\Server\gamemodes\XXXXX.pwn(532) : error 036: empty statement
    S:\GTA San Andreas + server\Server\gamemodes\XXXXX.pwn(532) : fatal error 107: too many error messages on one line


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




    4 Errors.



    :?:



    MFG DeadCoast

    Hallo leute,


    Ich hab ein login register aber nur wenn ich mich registriere gebomm ich start geld ein skin und level 1 So aber wenn ich neu rein komme hab ich kein geld skin 0 level 0 Kann mir mal einer helfen


    Dialogs


    #define DIALOG_LOGIN 1
    #define DIALOG_REG 2


    Der enum
    enum SPDaten{ Admin, Level, Geschlecht, Muted, Money, Tut, MuteTime, DrivLic, Skin, Eingeloggt,}new Spieler[MAX_PLAYERS][SPDaten];




    das andere
    Bei onplayerconnect
    Spieler[playerid][Eingeloggt] = 0; Spieler[playerid][Admin] = 0; Spieler[playerid][Level] = 0; Spieler[playerid][Money] = 0; Spieler[playerid][Muted] = 0; Spieler[playerid][MuteTime] = 0;
    new name0; [MAX_PLAYER_NAME], accFormat[128];
    GetPlayerName(playerid, name, sizeof(name)); format(accFormat, sizeof(accFormat), "/Accounts/%s.ini", name); if(dini_Exists(accFormat)) { SetTimerEx("LoginDialog", 3000, 0, "%i", playerid); } else { SetTimerEx("RegDialog", 3000, 0, "%i", playerid); } new name[MAX_PLAYER_NAME], accFormat[128], logstring[64]; GetPlayerName(playerid, name, sizeof(name)); format(accFormat, sizeof(accFormat), "/Accounts/%s.ini", name); if(response) { switch(dialogid) { case DIALOG_LOGIN: { if(!strlen(inputtext)) { ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "German Reallife City", "Einloggen. Bitte gib dein Passwort ein:", "OK", " "); return 1; } if(strcmp(inputtext, dini_Get(accFormat,"Passwort")) == 0) { Spieler[playerid][Admin] = dini_Int(accFormat, "Admin"); Spieler[playerid][Level] = dini_Int(accFormat, "Level"); Spieler[playerid][Geschlecht] = dini_Int(accFormat, "Geschlecht"); Spieler[playerid][Money] = dini_Int(accFormat, "Money"); Spieler[playerid][Muted] = dini_Int(accFormat, "Muted"); Spieler[playerid][MuteTime] = dini_Int(accFormat, "MuteTime"); Spieler[playerid][DrivLic] = dini_Int(accFormat, "DrivLic"); if(Spieler[playerid][Muted] == 1) { if(Spieler[playerid][MuteTime] > 0) { mut[playerid] = SetTimerEx("UpdateMute", 60000*Spieler[playerid][MuteTime], 0, "%i",playerid); } if(Spieler[playerid][MuteTime] < 0) { Spieler[playerid][Muted] = 0; KillTimer(mut[playerid]); } } GameTextForPlayer(playerid, logstring, 3000, 1); SetSpawnInfo(playerid, 0,Spieler[playerid][Skin],0.0,0.0,200.0,0.0,0,0,0,0,0,0); SetPlayerPos(playerid,1462.9753,-1022.8845,23.8331); SpawnPlayer(playerid); } else { ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "TEST", " Bitte gib dein Passwort ein:", "OK", " "); return 1; } } case DIALOG_REG: { if(!strlen(inputtext)) { ShowPlayerDialog(playerid, DIALOG_REG, DIALOG_STYLE_PASSWORD, "TEST", "Gib bitte dein Passwort ein:", "OK", " "); return SendClientMessage(playerid, COLOR_GRAD2, "Dein Passwort muss aus mindestens 6 Zeichen bestehen."); } if(strlen(inputtext) < 6) { ShowPlayerDialog(playerid, DIALOG_REG, DIALOG_STYLE_PASSWORD, "TEST", "gib bitte dein Passwort ein:", "OK", " "); return SendClientMessage(playerid, COLOR_GRAD2, "Dein Passwort muss aus mindestens 6 Zeichen bestehen."); } dini_Create(accFormat); dini_Set(accFormat, "Passwort", inputtext); Spieler[playerid][Eingeloggt] = 1; Spieler[playerid][Admin] = 0; Spieler[playerid][Level] = 1; Spieler[playerid][DrivLic] = 0; Spieler[playerid][Geschlecht] = 0; GivePlayerCash(playerid, 10000); Spieler[playerid][Muted] = 0; Spieler[playerid][MuteTime] = 0; SpawnPlayer(playerid); } } } else { switch(dialogid) { case DIALOG_LOGIN: ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "TEST", "Gib dein passwort ein", "OK", " "); case DIALOG_REG: ShowPlayerDialog(playerid, DIALOG_REG, DIALOG_STYLE_PASSWORD, "TEST", "Welches passwort willst du benutzen :", "OK", " "); } }


    public LoginDialog(playerid)
    {
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "TEST", "ein:", "OK", " ");
    SetPlayerCameraPos(playerid,1418.3201,-1629.2102,54.6056);
    SetPlayerCameraLookAt(playerid,1419.1599,-1630.1079,54.6056);
    return 1;
    }


    public RegDialog(playerid)
    {
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    SendClientMessage(playerid, COLOR_WEISS, "");
    ShowPlayerDialog(playerid, DIALOG_REG, DIALOG_STYLE_PASSWORD, "<TEST", "Passwort ein:", "OK", " ");
    SetPlayerCameraPos(playerid,1418.3201,-1629.2102,54.6056);
    SetPlayerCameraLookAt(playerid,1419.1599,-1630.1079,54.6056);
    return 1;
    }

    Hallo leute


    ich hab ein register oder login fehler also ich regestiere mich und hab start geld und so und wenn ich off gehen und wieder onlinie komme hab ich kein geld nichts denn skin alles ist weg auser mein passwort ich hab gemacht das es in ordner Accounts alles speiechert ich hab da drunter nach geguckt und mein Passwort wurde nur gespeichert was soll ich machen ? HILLFE :!: :?: