Beiträge von Max.Mustermann

    Ich habe das samsung galaxy ace, nicht das iPhone.
    Funzt da gar keine Apps mehr drauf?

    Ich selber hatte das iPhone 3G, daher kann ich sehr gut aus Erfahrung sprechen.
    Ich rate dir wirklich ab. Ich habe zwar raus gefunden, wie ich WhatsApp drauf bekomme, obwohl es laut dem AppStore nicht geht, trotzdem rate ich dir ab.
    Du kannst so gut wie nur ganz alte Apps zocken.
    Schätze nicht, das deine App geht... ;)

    Guten Tag liebe Community,


    ich möchte hier verschiedenen Clans, Gilden, Spaßtruppen usw. ein paar Teamspeak-Server zur Verfügung stellen. Einzige Vorraussetzung ist, dass der Teamspeak auch täglich benutzt wird und eine entsprechende Anzahl von Clienten den Teamspeak benutzt. Über die Slot Zahl und den Teamspeak Port kann man gerne reden.


    Für weitere Informationen einfach hier im Thema antworten oder mir eine Nachricht zukommen lassen.
    ______
    Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.

    Guten tag ja ich bins wieder ich habe wieder einen erros ich weiß ich weiß net viel aber ich möchte es auch lernen


    Errors
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\pawno\include\zcmd.inc(118) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(128) : warning 217: loose indentation
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(130) : warning 217: loose indentation
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(712) : error 017: undefined symbol "IsPlayerAnAdmin"
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(712) : error 029: invalid expression, assumed zero
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(712) : warning 215: expression has no effect
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(712) : error 001: expected token: ";", but found ")"
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(712) : 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.


    Wenn ich das eine lösche ist es bei denn anderre command
    Zeilen

    ocmd:ban(playerid,params[])
    {
    if(!IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");// Adminabfrage
    new pID, reason[128],string[128];//das pID ist der spieler der gekickt werden soll, reason ist der grund, string sind die Namen
    if(IsPlayerAnAdmin(pID,1)) return SendClientMessage(playerid,0xFFFFFF,"Du kannst keine Administratoren kicken.");//fehlermeldung falls pID ein admin ist
    if(sscanf(params,"us",pID,reason))return SendClientMessage(playerid,BLAU,"/ban [id] [grund]");//fehlermeldung wenn falsche eingaben
    format(string,sizeof(string),"AdmCmd: %s wurde von %s gebannt. Grund: %s",SpielerName(pID),SpielerName(playerid),reason);//string
    SendClientMessageToAll(ROT,string);//string an alle senden
    SetPVarInt(pID,"Baned",1);// Hier schreibt er in der Playerdatei bei Banned eine 1 hin das bewirkt, das wenn sich der spieler einloggt, das er wieder gekickt wird
    Kick(pID);// pID wird gekickt
    return 1;
    }
    ocmd:kick(playerid,params[])//der Befehl an sich
    {
    if(!IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");//das ist jetzt die Adminabfrage in den Fall ist es Rank 1
    new pID, reason[128],string[128];//das pID ist der spieler der gekickt werden soll, reason ist der grund, string sind die Namen
    if(IsPlayerAnAdmin(pID,1)) return SendClientMessage(playerid,0xFFFFFF,"Du kannst keine Administratoren kicken.");//Hier fragt er ab ob der zu kickende ein Admin ist wenn ja wird der Kick verhindert
    if(sscanf(params,"us",pID,reason))return SendClientMessage(playerid,BLAU,"/kick [id] [grund]");//heir wird nochmal erwähnt, das wenn ihr nur /kick eingibt das ihr aufgefordert werdet das richtige einzugeben
    format(string,sizeof(string),"AdmCmd: %s wurde von %s gekickt. Grund: %s",SpielerName(pID),SpielerName(playerid),reason);//Hier steht wenn derjenige gekickt wurde das dies an alle Spieler gesendet wird in den fall ist es ein String
    SendClientMessageToAll(ROT,string);//hier sendet er den String
    Kick(pID);//das bewirkt, das pID vom server gekickt wird
    return 1;
    }
    ocmd:ooc(playerid,params[])
    {
    new string[128],text[128];
    if(sscanf(params,"s",text))return SendClientMessage(playerid,BLAU,"/ooc [Text]");
    if(isPlayerAnAdmin(playerid,5)) format(string,sizeof(string),"( (ServerOwner %s:%s ) )",SpielerName(playerid),text);
    else if(isPlayerAnAdmin(playerid,4)) format(string,sizeof(string),"( (Servermanager %s:%s ) )",SpielerName(playerid),text);
    else if(isPlayerAnAdmin(playerid,3)) format(string,sizeof(string),"( (Super Adminstrator %s:%s ) )",SpielerName(playerid),text);
    else if(isPlayerAnAdmin(playerid,2)) format(string,sizeof(string),"( (Adminstrator %s:%s ) )",SpielerName(playerid),text);
    else if(isPlayerAnAdmin(playerid,1)) format(string,sizeof(string),"( (Moderator %s:%s ) )",SpielerName(playerid),text);
    else return 1;
    SendClientMessageToAll(ooc,string);
    return 1;
    }
    ocmd:setadmin(playerid,params[])
    {
    if(!IsPlayerAnAdmin(playerid,5))return SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Fulladmin");
    new pID, rank;
    if(sscanf(params,"ui",pID,rank))return SendClientMessage(playerid,BLAU,"/setadmin [spieler] [level 0-5]");
    if(rank<0||rank>5)return SendClientMessage(playerid,ROT,"Bitte gültigen Rang angeben.");
    SetPVarInt(pID,"Adminlevel",rank);
    SendClientMessage(playerid,BLAU,"Der Vorgang war erfolgreich");
    SpielerSpeichern(pID);
    return 1;
    }
    ocmd:gethere(playerid,params[])
    {
    new string[128],player;
    if(sscanf(params,"u",player))return SendClientMessage(playerid,BLAU,"INFO: /gethere [Name/ID]");
    if(IsPlayerAnAdmin(playerid,1))
    {
    new sendername[MAX_PLAYER_NAME],playername[MAX_PLAYER_NAME];
    GetPlayerName(player,sendername,sizeof sendername);
    GetPlayerName(playerid,playername,sizeof playername);
    format(string,sizeof string,"Admin %s hat dich zu sich geportet.",playername);
    SendClientMessage(player,BLAU,string);
    format(string,sizeof string,"Du hast %s zu dir geportet.",sendername);
    SendClientMessage(playerid,BLAU,string);
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid,X,Y,Z);
    if(IsPlayerInAnyVehicle(player))
    {
    new autoid = GetPlayerVehicleID(player);
    SetVehiclePos(autoid, X, Y+4, Z);
    }
    else
    {
    SetPlayerPos(player,X,Y+2,Z);
    }
    }
    else
    {
    SendClientMessage(playerid, ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    }
    return 1;
    }


    ocmd:goto(playerid,params[])
    {
    new string[128],player;
    if(sscanf(params,"u",player))return SendClientMessage(playerid,BLAU,"INFO: /goto [Name/ID]");
    if(IsPlayerAnAdmin(playerid,1))
    {
    new sendername[MAX_PLAYER_NAME];
    GetPlayerName(player,sendername,sizeof sendername);
    format(string,sizeof string,"Du hast dich zu %s geportet.",sendername);
    SendClientMessage(playerid,BLAU,string);
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(player,X,Y,Z);
    if(IsPlayerInAnyVehicle(playerid))
    {
    new autoid = GetPlayerVehicleID(playerid);
    SetVehiclePos(autoid, X, Y+4, Z);
    }
    else
    {
    SetPlayerPos(playerid,X,Y+2,Z);
    }
    }
    else
    {
    SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    }
    return 1;
    }
    ocmd:setskin(playerid,params[])
    {
    new skinid1,pID,string[128];
    if(sscanf(params,"ud",pID,skinid1))return SendClientMessage(playerid, BLAU,"/setskin [PLAYERID] [SKINID]");
    if(IsPlayerAnAdmin(playerid,1))
    {
    SetPlayerSkin(pID,skinid1);
    format(string,sizeof(string),"Ein Admin hat dir den Skin %d zugewiesen!",skinid1);
    SendClientMessage(pID,BLAU,string);
    }
    else
    {
    SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    }
    return 1;
    }
    ocmd:newcar(playerid,params[])
    {
    new Float:vehx,Float:vehy,Float:vehz;
    new vehid,cc1,cc2,string[128];
    if(sscanf(params,"iii",vehid,cc1,cc2))return SendClientMessage(playerid, ROT,"INFO: /newcar [CAR-ID] [COLOR 1] [COLOR 2]");
    if(IsPlayerAnAdmin(playerid,1))
    {
    GetPlayerPos(playerid,vehx,vehy,vehz);
    new carid = CreateVehicle(vehid,vehx,vehy,vehz,3,cc1,cc2,-1);
    SetVehicleNumberPlate(carid,"~>Admin<~");
    PutPlayerInVehicle(playerid, carid, 0);
    format(string,sizeof(string),"Du hast ein Admincar gespawnt! (FahrzeugID :%d)",GetVehicleModel(GetPlayerVehicleID(playerid)));
    SendClientMessage(playerid,BLAU,string);
    }
    else
    {
    SendClientMessage(playerid,ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    }
    return 1;
    }
    ocmd:wetter(playerid,params[])
    {
    new weatherid1,string[80];
    if(sscanf(params,"i",weatherid1))return SendClientMessage(playerid, BLAU,"INFO: /wetter [WEATHERID]");
    if(IsPlayerAnAdmin(playerid,1))
    {
    SetWeather(weatherid1);
    format(string,sizeof(string),"Du hast das Wetter in die ID %d geändert!",weatherid1);
    SendClientMessage(playerid,BLAU,string);
    }
    else
    {
    SendClientMessage(playerid, ROT,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    }
    return 1;
    }

    Okay, sieht jetzt Schwer aus da die SCM ansich richtig ist!

    SendClientMessage(playerid,Farbe,"Hier kommt der Text für die Nachricht rein!");


    Aber wieso das bei dir nicht geht verstehe ich nicht... Sind deine Includes Veraltet oder irgendwie Beschädigt? Ist das zum Ersten mal bei einer SCM(Also SendClientMessage) passiert?



    Eigentlich ja ehm hast du vlt plugins die ich nehmen soll kannst du mir welche hochladen ?






    Bekomme wieder fehler moment..

    public OnPlayerConnect(playerid)
    {
    new name[MAX_PLAYER_NAME], path[128];
    GetPlayerName(playerid, name,sizeof(name));
    format(path, sizeof(path), "/spieler/%s.ini", name);
    if(dini_Exists(path))
    {
    SendClientMessage(playerid, COLOR_ORANGE, "Willkommen zurück! Logge dich bitte mit /login ein."); <--- Hier
    }
    else
    {
    SendClientMesssage(playerid, COLOR_ORANGE, "Willkommen auf unserem Server. Du bist noch nicht registriert. Erledige das bitte mit /register.");
    }
    return 1;
    }
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(78) : error 029: invalid expression, assumed zero
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(78) : warning 215: expression has no effect
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(78) : error 001: expected token: ";", but found ")"
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(78) : error 029: invalid expression, assumed zero
    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(78) : 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.

    Guten Tag da ich neu anfange habe ich auch nicht so viele kenntnise ich habe leider ein Problem undzwar bekomme ich errors in dieser zeile








    public OnPlayerConnect(playerid)




    {




    new name[MAX_PLAYER_NAME], path[128];




    GetPlayerName(playerid, name, MAX_PLAYER_NAME);




    format(path, 128, "/spieler/%s.ini", name);




    if(dini_Exists(path)) SendClientMessage(playerid, COLOR_ORANGE, "Willkommen zurück! Logge dich bitte mit /login ein.");




    else SendClientMesssage(playerid, COLOR_ORANGE, "Willkommen auf unserem Server. Du bist noch nicht registriert. Erledige das bitte mit /register.");




    return 1;




    }








    Die Errors:




    C:\Users\Julien\Sonstiges\SelfmaDe by Julien\gamemodes\SelfmaDe.pwn(74) : warning 217: loose indentation




    C:\Users\asd\Sonstiges\SelfmaDe by asd\gamemodes\SelfmaDe.pwn(76) : error 029: invalid expression, assumed zero




    C:\Users\asd\Sonstiges\SelfmaDe by asd\gamemodes\SelfmaDe.pwn(76) : warning 215: expression has no effect




    C:\Users\asd\Sonstiges\SelfmaDe by asd\gamemodes\SelfmaDe.pwn(76) : error 001: expected token: ";", but found ")"




    C:\Users\asd\Sonstiges\SelfmaDe by asd\gamemodes\SelfmaDe.pwn(76) : error 029: invalid expression, assumed zero




    C:\Users\asd\Sonstiges\SelfmaDe by asd\gamemodes\SelfmaDe.pwn(76) : 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.
    /edit schrift verbessert war zu groß


    Guten Tag,




    ich suche ein Login/Register system wo mann en behel eingeben mus also /login [Passwort] und /register[Passwort] Ich weiß es ist als aber ich Brauche soetwas ich habe ein kleine vorstellung was ich machen möchte und ich bin halt noch neu und möchte es lernen.






    /edit skype etc. ist vorhanden

    Ich behaupte einfach mal, dass beim einloggen zuviel geladen werden muss, und das ein bisschen dauert.
    Ich würde einfach mal schauen was bei OnPlayerLogin alles geladen wird, und dass was unnötig ist bzw nicht wieder verwendet wird würde ich dann ausklammern oder löschen.


    LG


    Okay ich werde mal eben nachschauen


    edit ich muss nun weg ich melde mich dann nacher

    Guten Tag Breatfish ich habe ein kleines Problem undzwar wenn ich mich einlogge [Passwort] dann Buggt es aufeinmal rum ich fliege aus dem Himmer und kann keine Commands eingeben.Nach ca, 5Minuten Spawnt er dann.
    Ich bin nicht der Profi nur ich möchte dieses Problem fixen.

    OnPlayerConnect


    public OnPlayerConnect(playerid)
    {
    LoadPrivateCar(playerid);
    LoadUserStuff(playerid);
    LoadNPC(playerid);
    ResetPlayerWeapons(playerid);
    M_OnPlayerConnect(playerid);
    bsn[playerid] = 0;
    }


    OnPlayerSpawn
    public OnPlayerSpawn(playerid)
    {
    //Startgeld
    divorce[playerid] = 0;
    SetTimerEx("AntiSpawnkill",15000,0,"d",playerid);
    TextDrawShowForPlayer(playerid, RealVersion2);
    TextDrawShowForPlayer(playerid, Forum);
    // gSpeedo[playerid] = 2;
    // GangZoneShowForPlayer(playerid, redgeckozone, 0xF200009F);
    GangZoneShowForPlayer(playerid, yakuzazone, 0x80808096);
    GangZoneShowForPlayer(playerid, grovezone, 0x49A73296);
    GangZoneShowForPlayer(playerid, ballaszone, 0xA629A996);
    GangZoneShowForPlayer(playerid, losvagoszone, 0xF4E200AE);
    // GangZoneShowForPlayer(playerid, lcnzone, 0x000000C9);
    //GangZoneShowForPlayer(playerid, MWRzone, 0x89370196);
    GangZoneShowForPlayer(playerid, crosszone, 0x17A5B5AD);
    GangZoneShowForPlayer(playerid, aztecazone, 0x33B5DB96);
    GangZoneShowForPlayer(playerid, bbzzone, 0x000000C5);
    GangZoneShowForPlayer(playerid, NoDmKh, 0xFFFFFF7D);//WEIS NO DM ZONE
    GangZoneShowForPlayer(playerid, NoDmFs, 0xFFFFFF7D);//WEIS NO DM ZONE
    GangZoneShowForPlayer(playerid, NoDmBsn, 0xFFFFFF7D);//WEIS NO DM ZONE
    GangZoneShowForPlayer(playerid, NoDmZivi, 0xFFFFFF7D);//WEIS NO DM ZONE
    M_OnPlayerSpawn(playerid);
    TextDrawShowForPlayer(playerid,RealVersion);
    TextDrawShowForPlayer(playerid,Forum);
    TextDrawShowForPlayer(playerid,PayDayZeit);
    TextDrawShowForPlayer(playerid,Version);
    // TextDrawHideForPlayer(playerid, Speedo[playerid]);
    //InitLockDoors(playerid);
    STDPlayer[playerid] = 0;
    gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
    /* for(new z = 0; z < sizeof(GangZoneInfo); z++)
    {
    GangZoneShowForPlayer(playerid, z, GetGangZoneColor(z));
    }*/
    if (gTeam[playerid] == 4) //medic / criminal reset team
    {
    gTeam[playerid] = 3;
    }
    if(AtClothes[playerid] == 1)
    {
    PlayerInfo[playerid][pChar] = GetPlayerSkin(playerid);
    PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
    AtClothes[playerid] = 0;
    }
    if(PlayerInfo[playerid][pTot] == 1 && FirstSpawn[playerid] == 0)
    {
    TogglePlayerControllable(playerid, 0);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,1162.871704, -1339.109619, 14.297291);
    SetPlayerCameraPos(playerid, 1223.379028, -1333.354126, 33.809105);
    SetPlayerCameraLookAt(playerid, 1178.824829, -1325.804077, 13.284119);
    GameTextForPlayer(playerid, "~w~IN BEHANDLUNG ~n~~r~ DAUER CA. 60 SEKUNDEN", 15000, 3);
    SetPlayerInterior(playerid, 0);
    return 1;
    }
    if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1)
    {
    MedicBill[playerid] = 0;
    new rand = random(sizeof(CIV));
    SendClientMessage(playerid, COLOR_LIGHTRED, "Du bist kein Chef dieser Familie, du bist Zivilist!");
    PlayerInfo[playerid][pTeam] = 3;
    gTeam[playerid] = 3;
    SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
    PlayerInfo[playerid][pModel] = CIV[rand];
    SpawnPlayer(playerid);
    }
    if(gTeam[playerid] == 5)
    {
    if(PlayerInfo[playerid][pMember] < 1)
    {
    MedicBill[playerid] = 0;
    new rand = random(sizeof(CIV));
    SendClientMessage(playerid, COLOR_LIGHTRED, "Du bist kein Mitglied dieser Familie, du bist Zivilist !");
    PlayerInfo[playerid][pTeam] = 3;
    gTeam[playerid] = 3;
    SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
    PlayerInfo[playerid][pModel] = CIV[rand];
    SpawnPlayer(playerid);
    }
    }
    if(gTeam[playerid] == 10)
    {
    if(PlayerInfo[playerid][pMember] != 8)
    {
    MedicBill[playerid] = 0;
    new rand = random(sizeof(CIV));
    SendClientMessage(playerid, COLOR_LIGHTRED, "Du bist kein Mitglied dieser Fraktion, du bist Zivilist !");
    PlayerInfo[playerid][pTeam] = 3;
    gTeam[playerid] = 3;
    SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
    PlayerInfo[playerid][pModel] = CIV[rand];
    SpawnPlayer(playerid);
    }
    }
    if(gTeam[playerid] == 2 && !IsACop(playerid))
    {
    MedicBill[playerid] = 0;
    new rand = random(sizeof(CIV));
    SendClientMessage(playerid, COLOR_LIGHTRED, "Du bist kein Polizist.");
    PlayerInfo[playerid][pTeam] = 3;
    gTeam[playerid] = 3;
    SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
    PlayerInfo[playerid][pModel] = CIV[rand];
    SpawnPlayer(playerid);
    }
    if(gTeam[playerid] == 3)
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    MedicBill[playerid] = 0;
    new model = PlayerInfo[playerid][pChar];
    if(PlayerInfo[playerid][pMember] == 1) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 2) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 3) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 4) { SetSpawnInfo(playerid, 1, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 1; gTeam[playerid] = 1; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 5) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 6) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 7) { SetSpawnInfo(playerid, 7, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 7; gTeam[playerid] = 7; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 8) { SetSpawnInfo(playerid, 10, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 10; gTeam[playerid] = 10; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 9) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 10) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 11) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pMember] == 12) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Hells Angels
    else if(PlayerInfo[playerid][pMember] == 13) { SetSpawnInfo(playerid, 13, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Groove Street
    else if(PlayerInfo[playerid][pMember] == 14) { SetSpawnInfo(playerid, 14, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Ballas
    else if(PlayerInfo[playerid][pMember] == 15) { SetSpawnInfo(playerid, 15, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//RGT
    else if(PlayerInfo[playerid][pMember] == 16) { SetSpawnInfo(playerid, 16, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Los Santos Vagos
    else if(PlayerInfo[playerid][pMember] == 17) { SetSpawnInfo(playerid, 17, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Varios Los Aztecas
    else if(PlayerInfo[playerid][pMember] == 18) { SetSpawnInfo(playerid, 18, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//San Fierro Rifa
    else if(PlayerInfo[playerid][pMember] == 19) { SetSpawnInfo(playerid, 19, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Most Wanted Riders
    else if(PlayerInfo[playerid][pMember] == 20) { SetSpawnInfo(playerid, 20, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//
    else if(PlayerInfo[playerid][pMember] == 21) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }//
    else if(PlayerInfo[playerid][pMember] == 22) { SetSpawnInfo(playerid, 22, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//
    else if(PlayerInfo[playerid][pMember] == 23) { SetSpawnInfo(playerid, 23, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Wheelman Agency
    else if(PlayerInfo[playerid][pMember] == 24) { SetSpawnInfo(playerid, 24, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//
    else if(PlayerInfo[playerid][pMember] == 25) { SetSpawnInfo(playerid, 25, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//
    else if(PlayerInfo[playerid][pLeader] == 1) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 2) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 3) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 4) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 5) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 6) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 7) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 8) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 9) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 10) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 11) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }
    else if(PlayerInfo[playerid][pLeader] == 12) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Hells Angels
    else if(PlayerInfo[playerid][pLeader] == 13) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Groove Street
    else if(PlayerInfo[playerid][pLeader] == 14) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Ballas
    else if(PlayerInfo[playerid][pLeader] == 15) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//RGT
    else if(PlayerInfo[playerid][pLeader] == 16) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Los Santos Vagos
    else if(PlayerInfo[playerid][pLeader] == 17) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Varios Los Aztecas
    else if(PlayerInfo[playerid][pLeader] == 18) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//San Fierro Rifa
    else if(PlayerInfo[playerid][pLeader] == 19) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Most Wanted Riders
    else if(PlayerInfo[playerid][pLeader] == 20) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Drift Acces
    else if(PlayerInfo[playerid][pLeader] == 21) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }// FBI
    else if(PlayerInfo[playerid][pLeader] == 22) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Feuerwehr
    else if(PlayerInfo[playerid][pLeader] == 23) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Wheelman Agency
    else if(PlayerInfo[playerid][pLeader] == 24) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Oamt
    else if(PlayerInfo[playerid][pLeader] == 25) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// BikerBoyZ
    //SetSpawnInfo(playerid, team, model,0.0,0.0,0.0,0,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    }
    if(PlayerInfo[playerid][pChar] > 0) { SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
    }
    else
    {
    SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    SetPlayerSpawn(playerid);
    SetPlayerToTeamColor(playerid);
    PlayerFixRadio(playerid);
    return 1;
    }





    Video Folgt



    Für Fragen bin ich gerne bereit.
    Ich bin neuling und wollte halt so Godfather editieren.
    Vielen Dank im vorraus


    Wenn noch Zeilen benötigt werden gebe ich sie euch gerne bereit.


    -Golddragon

    Guten tag mein server speichert das geld nicht nach dem Relog
    was kann ich dagegen machen habe schon schon etwas versucht klappt aber net mehr





    public OnPlayerConnect(playerid)
    {
    RemoveBuildingForPlayer(playerid, 4076, 1783.1016, -1702.3047, 14.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 4027, 1783.1016, -1702.3047, 14.3516, 0.25);
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
    if(dini_Exists(Spielerdatei))
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","Dein Account wurde in der Datenbank gefunden\nBitte gib nun dein Passwort ein:","Login","Abbrechen");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTRIERUNG,DIALOG_STYLE_PASSWORD,"Registrieren","Dein Account wurde nicht in der Datenbank gefunden\nBitte gib ein Passwort ein, mit dem du dich registrieren möchtest:","Registrieren","Abbrechen");
    }
    new Connect[256];
    format(Connect,sizeof(Connect),"[Join] %s hat den Server betreten!",SpielerName(playerid));
    SendClientMessageToAll(cGruen, Connect);
    return 1;
    }



    public OnPlayerDisconnect(playerid, reason)
    {
    if(GetPVarInt(playerid,"loggedin")==1)
    {
    SpielerSpeichern(playerid);
    }
    new disconnect[256];
    format(disconnect,sizeof(disconnect),"[Leave] %s hat den Server verlassen!",SpielerName(playerid));
    SendClientMessageToAll(ROT, disconnect);
    return 1;
    }




    stock LoadAccount(playerid)
    {
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
    SetPlayerScore(playerid,dini_Int(Spielerdatei,"Level"));
    GivePlayerMoney(playerid,dini_Int(Spielerdatei,"Geld"));
    SetPVarInt(playerid,"Adminlevel",dini_Int(Spielerdatei,"Adminlevel"));
    SetPVarInt(playerid,"Banned",dini_Int(Spielerdatei,"Banned"));
    SetPVarInt(playerid,"Geschlecht",dini_Int(Spielerdatei,"Geschlecht"));
    if(GetPVarInt(playerid,"Banned")==1)
    {
    SendClientMessage(playerid,ROT,"Dieser Account ist auf dem Gameserver gebannt.");
    Kick(playerid);
    }
    SetPVarInt(playerid,"loggedin",1);
    SetPVarInt(playerid,"Mute",dini_Int(Spielerdatei,"Mute"));
    SetPVarInt(playerid,"Kills",dini_Int(Spielerdatei,"Kills"));
    SetPVarInt(playerid,"Tode",dini_Int(Spielerdatei,"Tode"));
    SetPVarInt(playerid,"Warns",dini_Int(Spielerdatei,"Warns"));
    SetPVarInt(playerid,"pmute",dini_Int(Spielerdatei,"pmute"));
    return 1;
    }