BITTE UM HILFE

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Kann mir einer bei helfen es geht nicht also bei mein GM ist das Tutorial System drine aber es kommt nicht was kann ich machen das dass Tutorial kommt und ich dann sofort Gespawnt werde.

  • Sorry wegen den Code also ich habe es nach genau 4 Stunden hinbekommen das es geht aber noch ne frage.
    Also ich habe nach dem Tutorial kein Level 1 und nicht die 5.000 $ die eigendlich auf meine Hand sien müssten und wenn ich vom Server gehe und wieder drauf gehe steht da wieder Du bist nicht Regestriert bitte Type: /register [ passwort ].
    Ich weiss nicht aber es sieht nicht so aus ob es gespeichert bleibt und zu den Level und Geld das steht alles im Gamemode drine.


    Bitte um Hilfe

  • Hier erst mal if(PlayerInfo[playerid][pReg] == 0)
    {
    PlayerInfo[playerid][pLevel] = 1;
    PlayerInfo[playerid][pSHealth] = 0.0;
    PlayerInfo[playerid][pHealth] = 50.0;
    PlayerInfo[playerid][pPos_x] = 2246.6;
    PlayerInfo[playerid][pPos_y] = -1161.9;
    PlayerInfo[playerid][pPos_z] = 1029.7;
    PlayerInfo[playerid][pInt] = 15;
    PlayerInfo[playerid][pLocal] = 255;
    PlayerInfo[playerid][pTeam] = 3;
    PlayerInfo[playerid][pModel] = 26;
    // PlayerInfo[playerid][pArbeitslos] = 0;
    new randphone = 10000 + random(89999);//minimum 1000 max 9999 //giving one at the start
    PlayerInfo[playerid][pPnumber] = randphone;
    PlayerInfo[playerid][pPbiskey] = 255;
    PlayerInfo[playerid][pAccount] = 5000;
    PlayerInfo[playerid][pReg] = 1;
    GivePlayerMoneyKrayzie(playerid, 5000);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    Und was soll ich noch Posten habe das Crazy GM benutzt also GF !

  • Hier public OnPlayerRegister(playerid, password[])
    {
    if(IsPlayerConnected(playerid))
    {
    new string3[32];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "Spieler/%s.ini", playername3);
    new File: hFile = fopen(string3, io_write);
    if (hFile)
    {
    strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
    new var[32];
    format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
    PlayerInfo[playerid][pCash] = GetPlayerMoneyKrayzie(playerid);
    format(var, 32, "Level=%d\r\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
    format(var, 32, "AdminLevel=%d\r\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
    format(var, 32, "DonateRank=%d\r\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
    format(var, 32, "UpgradePoints=%d\r\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
    format(var, 32, "ConnectedTime=%d\r\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
    format(var, 32, "Registered=%d\r\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
    format(var, 32, "Sex=%d\r\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
    format(var, 32, "Age=%d\r\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
    format(var, 32, "Origin=%d\r\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
    format(var, 32, "CK=%d\r\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
    format(var, 32, "Muted=%d\r\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
    format(var, 32, "Respect=%d\r\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
    format(var, 32, "Money=%d\r\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
    format(var, 32, "Bank=%d\r\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
    format(var, 32, "Crimes=%d\r\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
    format(var, 32, "Kills=%d\r\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
    format(var, 32, "Deaths=%d\r\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
    format(var, 32, "Arrested=%d\r\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
    format(var, 32, "WantedDeaths=%d\r\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var);
    format(var, 32, "Phonebook=%d\r\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
    format(var, 32, "LottoNr=%d\r\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
    format(var, 32, "Fishes=%d\r\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
    format(var, 32, "BiggestFish=%d\r\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
    format(var, 32, "Job=%d\r\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
    format(var, 32, "Paycheck=%d\r\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
    format(var, 32, "HeadValue=%d\r\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
    format(var, 32, "Jailed=%d\r\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
    format(var, 32, "JailTime=%d\r\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
    format(var, 32, "Materials=%d\r\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
    format(var, 32, "Drugs=%d\r\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var);
    format(var, 32, "Leader=%d\r\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
    format(var, 32, "Member=%d\r\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
    format(var, 32, "GMember=%d\r\n",PlayerInfo[playerid][pGMember]);fwrite(hFile, var);
    format(var, 32, "FMember=%d\r\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
    format(var, 32, "Rank=%d\r\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
    format(var, 32, "Char=%d\r\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
    format(var, 32, "ContractTime=%d\r\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
    format(var, 32, "FishTime=%d\r\n",PlayerInfo[playerid][pFishLicenseTime]);fwrite(hFile, var);
    format(var, 32, "DetSkill=%d\r\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
    format(var, 32, "SexSkill=%d\r\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
    format(var, 32, "BoxSkill=%d\r\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
    format(var, 32, "TruckSkill=%d\r\n",PlayerInfo[playerid][pTruckSkill]);fwrite(hFile, var);
    format(var, 32, "LawSkill=%d\r\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
    format(var, 32, "MechSkill=%d\r\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
    format(var, 32, "GunSkill=%d\r\n",PlayerInfo[playerid][pGunSkill]);fwrite(hFile, var);
    format(var, 32, "JackSkill=%d\r\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
    format(var, 32, "CarSkill=%d\r\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
    format(var, 32, "NewsSkill=%d\r\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
    format(var, 32, "DrugsSkill=%d\r\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
    format(var, 32, "CookSkill=%d\r\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var);
    format(var, 32, "FishSkill=%d\r\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
    format(var, 32, "pSHealth=%.1f\r\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
    GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
    format(var, 32, "pHealth=%.1f\r\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
    format(var, 32, "Int=%d\r\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
    format(var, 32, "Local=%d\r\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
    format(var, 32, "Team=%d\r\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
    format(var, 32, "Model=%d\r\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
    format(var, 32, "PhoneNr=%d\r\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
    format(var, 32, "Bizz=%d\r\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
    format(var, 32, "Wanted=%d\r\n",PlayerInfo[playerid][pwlevel]);fwrite(hFile, var);
    format(var, 64, "Note1=%s\r\n",PlayerInfo[playerid][pNote1]);fwrite(hFile, var);
    format(var, 64, "Note1s=%d\r\n",PlayerInfo[playerid][pNote1s]);fwrite(hFile, var);
    format(var, 64, "Note2=%s\r\n",PlayerInfo[playerid][pNote2]);fwrite(hFile, var);
    format(var, 64, "Note2s=%d\r\n",PlayerInfo[playerid][pNote2s]);fwrite(hFile, var);
    format(var, 64, "Note3=%s\r\n",PlayerInfo[playerid][pNote3]);fwrite(hFile, var);
    format(var, 64, "Note3s=%d\r\n",PlayerInfo[playerid][pNote3s]);fwrite(hFile, var);
    format(var, 64, "Note4=%s\r\n",PlayerInfo[playerid][pNote4]);fwrite(hFile, var);
    format(var, 64, "Note4s=%d\r\n",PlayerInfo[playerid][pNote4s]);fwrite(hFile, var);
    format(var, 64, "Note5=%s\r\n",PlayerInfo[playerid][pNote5]);fwrite(hFile, var);
    format(var, 64, "Note5s=%d\r\n",PlayerInfo[playerid][pNote5s]);fwrite(hFile, var);
    format(var, 64, "InvWeapon=%d\r\n",PlayerInfo[playerid][pInvWeapon]);fwrite(hFile, var);
    format(var, 64, "InvAmmo=%d\r\n",PlayerInfo[playerid][pInvAmmo]);fwrite(hFile, var);
    format(var, 64, "InvWeapon2=%d\r\n",PlayerInfo[playerid][pInvWeapon2]);fwrite(hFile, var);
    format(var, 64, "InvAmmo2=%d\r\n",PlayerInfo[playerid][pInvAmmo2]);fwrite(hFile, var);
    format(var, 64, "InvWeapon3=%d\r\n",PlayerInfo[playerid][pInvWeapon3]);fwrite(hFile, var);
    format(var, 64, "InvAmmo3=%d\r\n",PlayerInfo[playerid][pInvAmmo3]);fwrite(hFile, var);
    format(var, 64, "Lighter=%d\r\n",PlayerInfo[playerid][pLighter]);fwrite(hFile, var);
    format(var, 64, "Cigarettes=%d\r\n",PlayerInfo[playerid][pCigarettes]);fwrite(hFile, var);
    // format(var, 32, "Arbeitslos=%d\n",PlayerInfo[playerid][pArbeitslos]);fwrite(hFile, var);
    //-----------------------------------------------------------------------------
    format(var, 32, "RapRank=%d\n",PlayerInfo[playerid][pRapRank]);fwrite(hFile, var);
    //-----------------------------------------------------------------------------
    Mehr passt nicht rein !
    Und meine Icq: 317105176