SA-MP Forums Archive
Unknown Server Crash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Unknown Server Crash (/showthread.php?tid=562615)



Unknown Server Crash - lwilson - 10.02.2015

Код:
SA-MP 0.3z-R2
Exception At Address: 0x00544BBE
Base: 0x02240000

Registers:
EAX: 0x053A63DC	EBX: 0x00B99948	ECX: 0x053A63C4	EDX: 0x00001801
ESI: 0x0000018C	EDI: 0x05D3DD74	EBP: 0x00B99950	ESP: 0x0022F640
EFLAGS: 0x00210202

Stack:
+0000: 0x422B3300   0x05D3DD74   0x023FA898   0x05D3DD74
+0010: 0x0000003C   0x0000003C   0x00000038   0x00000080
+0020: 0x0000003C   0x00000038   0x0000018C   0x421E6666
+0030: 0xC325CBFF   0x42380662   0xC32C33FD   0x0022F6E0
+0040: 0x0083C9CB   0x00000000   0x00563257   0x026F6ED0
+0050: 0x0046987D   0x05D3DD74   0x0022F6B8   0x05D3DD74
+0060: 0x00000001   0x00000107   0x0022F740   0x00000000
+0070: 0xC3290000   0x422B3300   0x422B3300   0xC3290000
+0080: 0x410B1B7B   0x0022F720   0x0156001C   0x00000002
+0090: 0x01166BAA   0x012FBA5C   0x0022F720   0x026F6ED0
+00A0: 0x0022F730   0x00837DD9   0xFFFFFFFF   0x00469EF7
+00B0: 0x410B1B7B   0x0022F764   0x022E6EFE   0x022E70B4
+00C0: 0x023FA898   0x00004074   0x00000000   0x0A89EB33
+00D0: 0x00000000   0x00000000   0x40D66666   0x00000000
+00E0: 0x0231545F   0x00000001   0x0022F700   0x0022F264
+00F0: 0x0022F784   0x022F0724   0x02315A58   0x00000000
+0100: 0x0A8AACB8   0x022DF71A   0x02315458   0x00004074
+0110: 0x00000000   0x40456660   0x00000000   0xC0652000
+0120: 0xC0000000   0x401ACCCC   0x0022F77C   0x00000299
+0130: 0x081BBF80   0x0022FA9C   0x0A792001   0x00000000
+0140: 0x0A8AACB8   0x0022F7BC   0x0230CDC8   0x00000000
+0150: 0x022D7E3D   0x00004074   0x422B3300   0xC3290000
+0160: 0x40D66666   0x00000000   0x00000000   0x43858C0C
+0170: 0x00000000   0x00000000   0x0A8AACB8   0x0022F984
+0180: 0x0230CD8B   0x00000000   0x0224E286   0x00004074
+0190: 0x422B3300   0xC3290000   0x40D66666   0x00000000
+01A0: 0x00000000   0x43858C0C   0x00000000   0x0000FFFF
+01B0: 0x081BBF80   0x02256191   0x00000299   0x00004074
+01C0: 0x422B3300   0xC3290000   0x40D66666   0x00000000
+01D0: 0x00000000   0x43858C0C   0x00000000   0x082130C0
+01E0: 0x0022F998   0x0000FFFF   0x0000FFFF   0x00000299
+01F0: 0x026F0000   0x00004074   0x422B3300   0xC3290000
+0200: 0x40D66666   0x00000000   0x00000000   0x00000000
+0210: 0x43858C0C   0x0022F900   0x00000000   0x00000000
+0220: 0x00000000   0x00000000   0x00000000   0x00000000
+0230: 0x00000140   0x00000140   0x00000138   0x0022F998
+0240: 0x00000100   0x0225687A   0x0225688E   0x0022F9BC
+0250: 0x000001C6   0x00000018   0x00000018   0x00000010
+0260: 0x0022F9BC   0x00000000   0x00000000   0x00000000
+0270: 0x00000000   0x00000000   0x00000000   0x00000000

SCM Op: 0x107, lDbg: 1 LastRendObj: 0

Game Version: US 1.0

State Information: Ped Context: 0
When i register i keep getting this crash but if the player is already registered no crash problem


Re: Unknown Server Crash - malackovgfx - 10.02.2015

Show us the register dialog please.


Re: Unknown Server Crash - lwilson - 11.02.2015

pawn Код:
SetPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pTut] == 0)
        {
            gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
            TogglePlayerControllable(playerid,0);
            SetPlayerColor(playerid,TEAM_HIT_COLOR);
            SetPlayerVirtualWorld(playerid, 0);
            SetPlayerInterior(playerid, 0);
            Streamer_UpdateEx(playerid, 2229.4968,-1722.0701,13.5625);
            SetPlayerPos(playerid, 2229.4968,-1722.0701,-10.0);
            SetPlayerCameraPos(playerid, 2211.1460,-1748.3909,29.3744);
            SetPlayerCameraLookAt(playerid, 2229.4968,-1722.0701,13.5625);

            RegistrationStep[playerid] = 1;
            ShowPlayerDialog(playerid, REGISTERSEX, DIALOG_STYLE_LIST, "{33CCFF}Is your character male or female? - www.platinum-la.co.nf", "Male\nFemale", "Submit", "");
            return 1;
        }
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(RegistrationStep[playerid] != 0)
    {
        if(dialogid == REGISTERSEX)
        {
            if(response)
            {
                new stringdiag[410];
                for(new x=18;x<99;x++)
                {
                    format(stringdiag, sizeof(stringdiag), "%s%d\n", stringdiag, x);
                }
                if(listitem == 0)
                {
                    PlayerInfo[playerid][pSex] = 1;
                    SendClientMessageEx(playerid, COLOR_LIGHTRED, "Alright, so you're a male.");
                    ShowPlayerDialog(playerid, REGISTERAGE, DIALOG_STYLE_LIST, "{33CCFF}What is your characters age? - www.platinum-la.co.nf", stringdiag, "Submit", "");
                    RegistrationStep[playerid] = 2;
                }
                else
                {
                    PlayerInfo[playerid][pSex] = 2;
                    SendClientMessageEx(playerid, COLOR_LIGHTRED, "Alright, so you're a female.");
                    ShowPlayerDialog(playerid, REGISTERAGE, DIALOG_STYLE_LIST, "{33CCFF}What is your characters age? - www.platinum-la.co.nf", stringdiag, "Submit", "");
                    RegistrationStep[playerid] = 2;
                }
            }
            else
            {
                ShowPlayerDialog(playerid, REGISTERSEX, DIALOG_STYLE_LIST, "{33CCFF}Is your character male or female? - www.platinum-la.co.nf", "Male\nFemale", "Submit", "");
            }
        }
        else if(dialogid == REGISTERAGE)
        {
            if(response)
            {
                new stringdiag2[410];
                for(new x=1;x<11;x++)
                {
                    format(stringdiag2, sizeof(stringdiag2), "%s%d\n", stringdiag2, x);
                }
                PlayerInfo[playerid][pAge] = listitem+18;
                PlayerInfo[playerid][pOrigin] = 0;
                format(string, sizeof(string), "Ok, so you are %d year old.",PlayerInfo[playerid][pAge]);
                SendClientMessageEx(playerid, COLOR_LIGHTRED, string);
                ShowPlayerDialog(playerid, REGISTERSKILL, DIALOG_STYLE_LIST, "{33CCFF}What roleplay skill level do you believe you have?", stringdiag2, "Submit", "");
                RegistrationStep[playerid] = 3;
            }
            else
            {
                ShowPlayerDialog(playerid, REGISTERAGE, DIALOG_STYLE_LIST, "{33CCFF}What is your characters age? - www.platinum-la.co.nf", string, "Submit", "");
            }
        }
        else if(dialogid == REGISTERSKILL)
        {
            if(response)
            {
                    PlayerInfo[playerid][pRPSkill] = listitem+1;
                    SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Thanks for registering at PLA, you are now proceeding to the next part in registration!");
                    RegistrationStep[playerid] = 0;

                    hidePlayerDialog(playerid);

                    ShowPlayerDialog(playerid, DIALOG_QUIZ, DIALOG_STYLE_LIST, "{33CCFF}What is roleplay in SA-MP?", "A type of gamemode where you realistically act out a character\nAn STD\nA track by Jay-Z\nA type of gamemode where you just kill people", "Select", "");
            }
            else
            {
                ShowPlayerDialog(playerid, REGISTERSKILL, DIALOG_STYLE_LIST, "{33CCFF}What roleplay skill level do you believe you have?", string, "Submit", "");
            }
        }
        return 1;
    }
pawn Код:
public OnPlayerRegister(playerid, password[])
{
    if(IsPlayerConnected(playerid))
    {
            new string3[32];
            new playername3[MAX_PLAYER_NAME];
            GetPlayerName(playerid, playername3, sizeof(playername3));
            format(string3, sizeof(string3), "users/%s.ini", playername3);
            new File: hFile = fopen(string3, io_write);
            if (hFile)
            {
                strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
                new var[156];
                format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
                format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
                format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
                format(var, 32, "Band=%d\n",PlayerInfo[playerid][pBanned]);fwrite(hFile, var);
                format(var, 32, "PermBand=%d\n",PlayerInfo[playerid][pPermaBanned]);fwrite(hFile, var);
                format(var, 32, "Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var);
                format(var, 32, "LogWarnings=%d\n",PlayerInfo[playerid][pLWarns]);fwrite(hFile, var);
                format(var, 32, "Disabled=%d\n",PlayerInfo[playerid][pDisabled]);fwrite(hFile, var);
                format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
                format(var, 32, "BanAppealer=%d\n",PlayerInfo[playerid][pBanAppealer]);fwrite(hFile, var);
                format(var, 32, "ShopTech=%d\n",PlayerInfo[playerid][pShopTech]);fwrite(hFile, var);
                format(var, 32, "VehModder=%d\n",PlayerInfo[playerid][pVehMods]);fwrite(hFile, var);
                format(var, 32, "CarInsurance=%d\n",PlayerInfo[playerid][pCarInsurance]);fwrite(hFile, var);
                format(var, 32, "Undercover=%d\n",PlayerInfo[playerid][pUndercover]);fwrite(hFile, var);
                format(var, 32, "TogReports=%d\n",PlayerInfo[playerid][pTogReports]);fwrite(hFile, var);
                format(var, 32, "Radio=%d\n",PlayerInfo[playerid][pRadio]);fwrite(hFile, var);
                format(var, 32, "RadioFreq=%d\n",PlayerInfo[playerid][pRadioFreq]);fwrite(hFile, var);
                format(var, 32, "UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
                format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
                format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
                format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
                format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
                format(var, 32, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
                format(var, 32, "Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
                format(var, 32, "Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
                format(var, 32, "Money=%d\n",GetPVarInt(playerid, "Cash"));fwrite(hFile, var);
                format(var, 32, "Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
                format(var, 32, "Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
                format(var, 32, "Accent=%d\n",PlayerInfo[playerid][pAccent]);fwrite(hFile, var);
                format(var, 32, "CHits=%d\n",PlayerInfo[playerid][pCHits]);fwrite(hFile, var);
                format(var, 32, "FHits=%d\n",PlayerInfo[playerid][pFHits]);fwrite(hFile, var);
                format(var, 32, "Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
                format(var, 32, "Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
                format(var, 32, "LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
                format(var, 32, "Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
                format(var, 32, "BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
                format(var, 32, "Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
                format(var, 32, "Job2=%d\n",PlayerInfo[playerid][pJob2]);fwrite(hFile, var);
                format(var, 32, "Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
                format(var, 32, "HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
                format(var, 32, "Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
                format(var, 32, "JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
                format(var, 32, "WRestricted=%d\n",PlayerInfo[playerid][pWRestricted]);fwrite(hFile, var);
                format(var, 32, "Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
                format(var, 32, "Packages=%d\n",GetPVarInt(playerid, "Packages"));fwrite(hFile, var);
                format(var, 32, "Crates=%d\n",PlayerInfo[playerid][pCrates]);fwrite(hFile, var);
                format(var, 32, "Pot=%d\n",PlayerInfo[playerid][pPot]);fwrite(hFile, var);
                format(var, 32, "Heroin=%d\n",PlayerInfo[playerid][pHeroin]);fwrite(hFile, var);
                format(var, 32, "Crack=%d\n",PlayerInfo[playerid][pCrack]);fwrite(hFile, var);
                format(var, 32, "Meth=%d\n",PlayerInfo[playerid][pMeth]);fwrite(hFile, var);
                format(var, 32, "BatteryAcid=%d\n",PlayerInfo[playerid][pBatteryAcid]);fwrite(hFile, var);
                format(var, 32, "CrackStuff=%d\n",PlayerInfo[playerid][pCrackStuff]);fwrite(hFile, var);
                format(var, 32, "ColdMeds=%d\n",PlayerInfo[playerid][pColdMeds]);fwrite(hFile, var);
                format(var, 32, "Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
                format(var, 32, "Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
                format(var, 32, "Division=%d\n",PlayerInfo[playerid][pDivision]);fwrite(hFile, var);
                format(var, 32, "FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
                format(var, 32, "Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
                format(var, 32, "DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
                format(var, 32, "SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
                format(var, 32, "BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
                format(var, 32, "LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
                format(var, 32, "MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
                format(var, 32, "JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
                format(var, 32, "CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
                format(var, 32, "TruckSkill=%d\n",PlayerInfo[playerid][pTruckSkill]);fwrite(hFile, var);
                format(var, 32, "GarbageSkill=%d\n",PlayerInfo[playerid][pGarbageSkill]);fwrite(hFile, var);
                format(var, 32, "UtilSkill=%d\n",PlayerInfo[playerid][pUtilSkill]);fwrite(hFile, var);
                format(var, 32, "NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
                format(var, 32, "DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
                format(var, 32, "ArmsSkill=%d\n",PlayerInfo[playerid][pArmsSkill]);fwrite(hFile, var);
                format(var, 32, "SmugglerSkill=%d\n",PlayerInfo[playerid][pSmugSkill]);fwrite(hFile, var);
                format(var, 32, "FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
                format(var, 32, "FightingStyle=%d\n",PlayerInfo[playerid][pFightStyle]);fwrite(hFile, var);
                GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
                format(var, 32, "pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
                GetPlayerArmour(playerid,PlayerInfo[playerid][pArmor]);
                format(var, 32, "pArmor=%.1f\n",PlayerInfo[playerid][pArmor]);fwrite(hFile, var);
                format(var, 32, "pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
                //format(var, 32, "pSArmor=%.1f\n",PlayerInfo[playerid][pSArmor]);fwrite(hFile, var);
                format(var, 32, "Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
                format(var, 32, "Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
                format(var, 32, "VirtualWorld=%d\n",PlayerInfo[playerid][pVW]);fwrite(hFile, var);
                format(var, 32, "HouseInvite=%d\n",PlayerInfo[playerid][pHouseInvite]);fwrite(hFile, var);
                format(var, 32, "Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
                format(var, 32, "Clothes=%d\n",PlayerInfo[playerid][pClothes]);fwrite(hFile, var);
                format(var, 32, "PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
                format(var, 32, "Apartment=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
                format(var, 32, "Apartment2=%d\n",PlayerInfo[playerid][pPhousekey2]);fwrite(hFile, var);
                format(var, 32, "Renting=%d\n",PlayerInfo[playerid][pRenting]);fwrite(hFile, var);
                format(var, 32, "Vehicles=%d\n",PlayerInfo[playerid][pVehicles]);fwrite(hFile, var);
                format(var, 32, "VehFile=%d\n",PlayerInfo[playerid][pVehFile]);fwrite(hFile, var);
                format(var, 32, "VehActive=%d\n",PlayerInfo[playerid][pVehActive]);fwrite(hFile, var);
                format(var, 32, "Type1=%d\n",PlayerInfo[playerid][pType1]);fwrite(hFile, var);
                format(var, 32, "Type2=%d\n",PlayerInfo[playerid][pType2]);fwrite(hFile, var);
                format(var, 32, "Type3=%d\n",PlayerInfo[playerid][pType3]);fwrite(hFile, var);
                format(var, 32, "Type4=%d\n",PlayerInfo[playerid][pType4]);fwrite(hFile, var);
                format(var, 32, "Type5=%d\n",PlayerInfo[playerid][pType5]);fwrite(hFile, var);
                format(var, 32, "CarLic=%d\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
                format(var, 32, "CarLicP=%d\n",PlayerInfo[playerid][pCarLicP]);fwrite(hFile, var);
                format(var, 32, "FlyLic=%d\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var);
                format(var, 32, "BoatLic=%d\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var);
                format(var, 32, "FishLic=%d\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var);
                format(var, 32, "CheckCash=%d\n",PlayerInfo[playerid][pCheckCash]);fwrite(hFile, var);
                format(var, 32, "Checks=%d\n",PlayerInfo[playerid][pChecks]);fwrite(hFile, var);
                //format(var, 32, "MInsure=%d\n",PlayerInfo[playerid][pMInsure]);fwrite(hFile, var);
                format(var, 32, "GunLic=%d\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var);
                format(var, 32, "WeedLic=%d\n",PlayerInfo[playerid][pWeedLic]);fwrite(hFile, var);
                format(var, 32, "CDLic=%d\n",PlayerInfo[playerid][pCDLic]);fwrite(hFile, var);
                for(new s = 0; s < 12; s++)
                {
                    format(var, 32, "Gun%d=%d\n", s, PlayerInfo[playerid][pGuns][s]);fwrite(hFile, var);
                    format(var, 32, "GunAmmo%d=%d\n", s, PlayerInfo[playerid][pGunAmmo][s]);fwrite(hFile, var);
                }
                format(var, 32, "CarTime=%d\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var);
                format(var, 32, "DrugsTime=%d\n",PlayerInfo[playerid][pDrugsTime]);fwrite(hFile, var);
                format(var, 32, "LawyerTime=%d\n",PlayerInfo[playerid][pLawyerTime]);fwrite(hFile, var);
                format(var, 32, "LawyerFreeTime=%d\n",PlayerInfo[playerid][pLawyerFreeTime]);fwrite(hFile, var);
                format(var, 32, "MechTime=%d\n",PlayerInfo[playerid][pMechTime]);fwrite(hFile, var);
                format(var, 32, "SexTime=%d\n",PlayerInfo[playerid][pSexTime]);fwrite(hFile, var);
                format(var, 32, "PayDay=%d\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var);
                format(var, 32, "PayDayHad=%d\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var);
                format(var, 32, "CDPlayer=%d\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var);
                format(var, 32, "Dice=%d\n",PlayerInfo[playerid][pDice]);fwrite(hFile, var);
                format(var, 32, "Spraycan=%d\n",PlayerInfo[playerid][pSpraycan]);fwrite(hFile, var);
                format(var, 32, "Rope=%d\n",PlayerInfo[playerid][pRope]);fwrite(hFile, var);
                format(var, 32, "Rag=%d\n",PlayerInfo[playerid][pRag]);fwrite(hFile, var);
                format(var, 32, "FuelCan=%d\n",PlayerInfo[playerid][pFuelCan]);fwrite(hFile, var);
                format(var, 32, "Cigars=%d\n",PlayerInfo[playerid][pCigar]);fwrite(hFile, var);
                format(var, 32, "Sprunk=%d\n",PlayerInfo[playerid][pSprunk]);fwrite(hFile, var);
                format(var, 32, "Bombs=%d\n",PlayerInfo[playerid][pBombs]);fwrite(hFile, var);
                format(var, 32, "Wins=%d\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var);
                format(var, 32, "Loses=%d\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var);
                format(var, 32, "Tutorial=%d\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var);
                format(var, 32, "On‌Duty=%d\n",PlayerInfo[playerid][pDuty]);fwrite(hFile, var);
                format(var, 32, "Hospital=%d\n",GetPVarInt(playerid, "Hospital"));fwrite(hFile, var);
                format(var, 32, "Adjustable=%d\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var);
                format(var, 32, "Married=%d\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var);
                format(var, 32, "MarriedTo=%s\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var);
                format(var, 32, "ContractBy=%s\n",PlayerInfo[playerid][pContractBy]);fwrite(hFile, var);
                format(var, 64, "ContractDetail=%s\n",PlayerInfo[playerid][pContractDetail]);fwrite(hFile, var);
                format(var, 32, "IP=%s\n",PlayerInfo[playerid][pIP]);fwrite(hFile, var);
                format(var, 32, "WantedLevel=%d\n",PlayerInfo[playerid][pWantedLevel]);fwrite(hFile, var);
                format(var, 32, "9mmsSkill=%d\n",PlayerInfo[playerid][p9mmSkill]);fwrite(hFile, var);
                format(var, 32, "SilencedSkill=%d\n",PlayerInfo[playerid][pSilencedSkill]);fwrite(hFile, var);
                format(var, 32, "DeagleSkill=%d\n",PlayerInfo[playerid][pDeagleSkill]);fwrite(hFile, var);
                format(var, 32, "ShotgunSkill=%d\n",PlayerInfo[playerid][pShotgunSkill]);fwrite(hFile, var);
                format(var, 32, "SawnoffSkill=%d\n",PlayerInfo[playerid][pSawnoffSkill]);fwrite(hFile, var);
                format(var, 32, "SpasSkill=%d\n",PlayerInfo[playerid][pSpasSkill]);fwrite(hFile, var);
                format(var, 32, "UziSkill=%d\n",PlayerInfo[playerid][pUziSkill]);fwrite(hFile, var);
                format(var, 32, "Mp5Skill=%d\n",PlayerInfo[playerid][pMp5Skill]);fwrite(hFile, var);
                format(var, 32, "AKSkill=%d\n",PlayerInfo[playerid][pAKSkill]);fwrite(hFile, var);
                format(var, 32, "M4Skill=%d\n",PlayerInfo[playerid][pM4Skill]);fwrite(hFile, var);
                format(var, 32, "Insurance=%d\n",PlayerInfo[playerid][pInsurance]);fwrite(hFile, var);
                //format(var, 32, "BadgeNumber=%d\n",PlayerInfo[playerid][pBadgeNumber]);fwrite(hFile, var);
                //format(var, 32, "Warrant=%d\n",PlayerInfo[playerid][pRoadblock]);fwrite(hFile, var);
                format(var, 32, "NewMuted=%d\n",PlayerInfo[playerid][pNMute]);fwrite(hFile, var);
                format(var, 32, "NewMutedTotal=%d\n",PlayerInfo[playerid][pNMuteTotal]);fwrite(hFile, var);
                format(var, 32, "AdMuted=%d\n",PlayerInfo[playerid][pADMute]);fwrite(hFile, var);
                format(var, 32, "AdMutedTotal=%d\n",PlayerInfo[playerid][pADMuteTotal]);fwrite(hFile, var);
                format(var, 32, "OOCMuted=%d\n",PlayerInfo[playerid][pOOCMute]);fwrite(hFile, var);
                format(var, 32, "OOCMutedTotal=%d\n",PlayerInfo[playerid][pOOCMuteTotal]);fwrite(hFile, var);
                format(var, 32, "AMMuted=%d\n",PlayerInfo[playerid][pAmute]);fwrite(hFile, var);
                format(var, 32, "AMMutedTotal=%d\n",PlayerInfo[playerid][pAmuteTotal]);fwrite(hFile, var);
                format(var, 32, "CMuted=%d\n",PlayerInfo[playerid][pCMute]);fwrite(hFile, var);
                format(var, 32, "HelpMute=%d\n",PlayerInfo[playerid][pHelpMute]);fwrite(hFile, var);
                //format(var, 32, "Helper=%d\n",PlayerInfo[playerid][pHelper]);fwrite(hFile, var);
                format(var, 32, "SPos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var);
                format(var, 32, "SPos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var);
                format(var, 32, "SPos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var);
                format(var, 32, "SPos_r=%.1f\n",PlayerInfo[playerid][pPos_r]);fwrite(hFile, var);
                format(var, 32, "Helper=%d\n",PlayerInfo[playerid][pHelper]);fwrite(hFile, var);
                format(var, 32, "ReportMuted=%d\n",PlayerInfo[playerid][pRMuted]);fwrite(hFile, var);
                format(var, 32, "ReportMutedTotal=%d\n",PlayerInfo[playerid][pRMutedTotal]);fwrite(hFile, var);
                format(var, 32, "ReportMutedTime=%d\n",PlayerInfo[playerid][pRMutedTime]);fwrite(hFile, var);
                format(var, 32, "VIPMuted=%d\n",PlayerInfo[playerid][pVMuted]);fwrite(hFile, var);
                format(var, 32, "VIPMutedTime=%d\n",PlayerInfo[playerid][pVMutedTime]);fwrite(hFile, var);
                format(var, 32, "GiftTime=%d\n",PlayerInfo[playerid][pGiftTime]);fwrite(hFile, var);
                format(var, 32, "RobTime=%d\n",PlayerInfo[playerid][pRobTime]);fwrite(hFile, var);
                format(var, 32, "WepTime=%d\n",PlayerInfo[playerid][pWepTime]);fwrite(hFile, var);
                format(var, 32, "AdvisorDutyHours=%d\n",PlayerInfo[playerid][pDutyHours]);fwrite(hFile, var);
                format(var, 32, "AcceptedHelp=%d\n",PlayerInfo[playerid][pAcceptedHelp]);fwrite(hFile, var);
                format(var, 32, "AcceptReport=%d\n",PlayerInfo[playerid][pAcceptReport]);fwrite(hFile, var);
                format(var, 32, "TrashReport=%d\n",PlayerInfo[playerid][pTrashReport]);fwrite(hFile, var);
                format(var, 32, "FactionModerator=%d\n",PlayerInfo[playerid][pFactionModerator]);fwrite(hFile, var);
                format(var, 32, "GangModerator=%d\n",PlayerInfo[playerid][pGangModerator]);fwrite(hFile, var);
                format(var, 32, "GangWarn=%d\n",PlayerInfo[playerid][pGangWarn]);fwrite(hFile, var);
                format(var, 32, "FactionBanned=%d\n",PlayerInfo[playerid][pFactionBanned]);fwrite(hFile, var);
                format(var, 32, "CSFBanned=%d\n",PlayerInfo[playerid][pCSFBanned]);fwrite(hFile, var);
                format(var, 32, "Dispatch=%d\n",PlayerInfo[playerid][pDispatch]);fwrite(hFile, var);
                //format(var, 32, "ATCCert=%d\n",PlayerInfo[playerid][pATCCert]);fwrite(hFile, var);
                for(new v = 0; v < MAX_PLAYERVEHICLES; v++)
                {
                    format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[playerid][v][pvPosX]);fwrite(hFile, var);
                    format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[playerid][v][pvPosY]);fwrite(hFile, var);
                    format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[playerid][v][pvPosZ]);fwrite(hFile, var);
                    format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[playerid][v][pvPosAngle]);fwrite(hFile, var);
                    format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[playerid][v][pvModelId]);fwrite(hFile, var);
                    format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[playerid][v][pvLock]);fwrite(hFile, var);
                    format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[playerid][v][pvLocked]);fwrite(hFile, var);
                    format(var, 32, "pv%dInsurance=%d\n", v, PlayerVehicleInfo[playerid][v][pvInsurance]);fwrite(hFile, var);
                    format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[playerid][v][pvPaintJob]);fwrite(hFile, var);
                    format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[playerid][v][pvColor1]);fwrite(hFile, var);
                    format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[playerid][v][pvColor2]);fwrite(hFile, var);
                    format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[playerid][v][pvPrice]);fwrite(hFile, var);
                    format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[playerid][v][pvTicket]);fwrite(hFile, var);
                    format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[playerid][v][pvWeapons][0]);fwrite(hFile, var);
                    format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[playerid][v][pvWeapons][1]);fwrite(hFile, var);
                    format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[playerid][v][pvWeapons][2]);fwrite(hFile, var);
                    format(var, 32, "pv%dWepAmmo0=%d\n", v, PlayerVehicleInfo[playerid][v][pvWepAmmo][0]);fwrite(hFile, var);
                    format(var, 32, "pv%dWepAmmo1=%d\n", v, PlayerVehicleInfo[playerid][v][pvWepAmmo][1]);fwrite(hFile, var);
                    format(var, 32, "pv%dWepAmmo2=%d\n", v, PlayerVehicleInfo[playerid][v][pvWepAmmo][2]);fwrite(hFile, var);
                    format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[playerid][v][pvWepUpgrade]);fwrite(hFile, var);
                    format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[playerid][v][pvFuel]);fwrite(hFile, var);
                    format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[playerid][v][pvImpounded]);fwrite(hFile, var);
                    format(var, 32, "pv%dPlate=%s\n", v, PlayerVehicleInfo[playerid][v][pvPlate]);fwrite(hFile, var);
                    format(var, 32, "pv%dBLock=%d\n", v, PlayerVehicleInfo[playerid][v][pvBLock]);fwrite(hFile, var);
                    format(var, 32, "pv%dBLocked=%d\n", v, PlayerVehicleInfo[playerid][v][pvBLocked]);fwrite(hFile, var);
                    format(var, 32, "pv%dEZPass=%d\n", v, PlayerVehicleInfo[playerid][v][pvEZPass]);fwrite(hFile, var);
                    format(var, 32, "pv%dTicketReason=%s\n", v, PlayerVehicleInfo[playerid][v][pvTicketReason]);fwrite(hFile, var);
                    //format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[playerid][v][pvNumberPlate]);fwrite(hFile, var);
                    for(new m = 0; m < MAX_MODS; m++)
                    {
                        format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[playerid][v][pvMods][m]);fwrite(hFile, var);
                    }
                    //format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[playerid][v][pvAllowPlayer]);fwrite(hFile, var);
                }
                for(new v = 0; v < MAX_PLAYERTOYS; v++)
                {
                    format(var, 32, "pt%dModelID=%d\n", v, PlayerToyInfo[playerid][v][ptModelID]);fwrite(hFile, var);
                    format(var, 32, "pt%dBone=%d\n", v, PlayerToyInfo[playerid][v][ptBone]);fwrite(hFile, var);
                    format(var, 32, "pt%dPosX=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosX]);fwrite(hFile, var);
                    format(var, 32, "pt%dPosY=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosY]);fwrite(hFile, var);
                    format(var, 32, "pt%dPosZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptPosZ]);fwrite(hFile, var);
                    format(var, 32, "pt%dRotX=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotX]);fwrite(hFile, var);
                    format(var, 32, "pt%dRotY=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotY]);fwrite(hFile, var);
                    format(var, 32, "pt%dRotZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptRotZ]);fwrite(hFile, var);
                    format(var, 32, "pt%dScaleX=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleX]);fwrite(hFile, var);
                    format(var, 32, "pt%dScaleY=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleY]);fwrite(hFile, var);
                    format(var, 32, "pt%dScaleZ=%.5f\n", v, PlayerToyInfo[playerid][v][ptScaleZ]);fwrite(hFile, var);
                }
                format(var, 32, "VIPInviteDay=%d\n",PlayerInfo[playerid][pVIPInviteDay]);fwrite(hFile, var);
                format(var, 32, "TempVIP=%d\n",PlayerInfo[playerid][pTempVIP]);fwrite(hFile, var);
                format(var, 32, "BuddyInvite=%d\n",PlayerInfo[playerid][pBuddyInvited]);fwrite(hFile, var);
                format(var, 32, "Tokens=%d\n",PlayerInfo[playerid][pTokens]);fwrite(hFile, var);
                format(var, 32, "PTokens=%d\n",PlayerInfo[playerid][pPaintTokens]);fwrite(hFile, var);
                format(var, 32, "TriageTime=%d\n",PlayerInfo[playerid][pTriageTime]);fwrite(hFile, var);
                format(var, 32, "PrisonedBy=%s\n", PlayerInfo[playerid][pPrisonedBy]);fwrite(hFile, var);
                format(var, 128, "PrisonReason=%s\n", PlayerInfo[playerid][pPrisonReason]);fwrite(hFile, var);
                format(var, 128, "Flag=%s\n", PlayerInfo[playerid][pFlag]);fwrite(hFile, var);
                format(var, 32, "TaxiLicense=%d\n", PlayerInfo[playerid][pTaxiLicense]);fwrite(hFile, var);
                format(var, 32, "TicketTime=%d\n",PlayerInfo[playerid][pTicketTime]);fwrite(hFile, var);
                format(var, 32, "Screwdriver=%d\n",PlayerInfo[playerid][pScrewdriver]);fwrite(hFile, var);
                format(var, 32, "Smslog=%d\n",PlayerInfo[playerid][pSmslog]);fwrite(hFile, var);
                format(var, 32, "Wristwatch=%d\n",PlayerInfo[playerid][pWristwatch]);fwrite(hFile, var);
                format(var, 32, "Surveillance=%d\n",PlayerInfo[playerid][pSurveillance]);fwrite(hFile, var);
                format(var, 32, "Tire=%d\n",PlayerInfo[playerid][pTire]);fwrite(hFile, var);
                format(var, 32, "Firstaid=%d\n",PlayerInfo[playerid][pFirstaid]);fwrite(hFile, var);
                format(var, 32, "Rccam=%d\n",PlayerInfo[playerid][pRccam]);fwrite(hFile, var);
                format(var, 32, "Receiver=%d\n",PlayerInfo[playerid][pReceiver]);fwrite(hFile, var);
                format(var, 32, "GPS=%d\n",PlayerInfo[playerid][pGPS]);fwrite(hFile, var);
                format(var, 32, "Sweep=%d\n",PlayerInfo[playerid][pSweep]);fwrite(hFile, var);
                format(var, 32, "SweepLeft=%d\n",PlayerInfo[playerid][pSweepLeft]);fwrite(hFile, var);
                format(var, 32, "Bugged=%d\n",PlayerInfo[playerid][pBugged]);fwrite(hFile, var);
                format(var, 256, "Smslog0=%s\n",PlayerInfo[playerid][pSmslog0]);fwrite(hFile, var);
                format(var, 256, "Smslog1=%s\n",PlayerInfo[playerid][pSmslog1]);fwrite(hFile, var);
                format(var, 256, "Smslog2=%s\n",PlayerInfo[playerid][pSmslog2]);fwrite(hFile, var);
                format(var, 256, "Smslog3=%s\n",PlayerInfo[playerid][pSmslog3]);fwrite(hFile, var);
                format(var, 256, "Smslog4=%s\n",PlayerInfo[playerid][pSmslog4]);fwrite(hFile, var);
                format(var, 256, "Smslog5=%s\n",PlayerInfo[playerid][pSmslog5]);fwrite(hFile, var);
                format(var, 256, "Smslog6=%s\n",PlayerInfo[playerid][pSmslog6]);fwrite(hFile, var);
                format(var, 256, "Smslog7=%s\n",PlayerInfo[playerid][pSmslog7]);fwrite(hFile, var);
                format(var, 256, "Smslog8=%s\n",PlayerInfo[playerid][pSmslog8]);fwrite(hFile, var);
                format(var, 256, "Smslog9=%s\n",PlayerInfo[playerid][pSmslog9]);fwrite(hFile, var);
                format(var, 256, "KillLog0=%s\n",PlayerInfo[playerid][pKillLog0]);fwrite(hFile, var);
                format(var, 256, "KillLog1=%s\n",PlayerInfo[playerid][pKillLog1]);fwrite(hFile, var);
                format(var, 256, "KillLog2=%s\n",PlayerInfo[playerid][pKillLog2]);fwrite(hFile, var);
                format(var, 256, "KillLog3=%s\n",PlayerInfo[playerid][pKillLog3]);fwrite(hFile, var);
                format(var, 256, "KillLog4=%s\n",PlayerInfo[playerid][pKillLog4]);fwrite(hFile, var);
                format(var, 256, "KillLog5=%s\n",PlayerInfo[playerid][pKillLog5]);fwrite(hFile, var);
                format(var, 256, "KillLog6=%s\n",PlayerInfo[playerid][pKillLog6]);fwrite(hFile, var);
                format(var, 256, "KillLog7=%s\n",PlayerInfo[playerid][pKillLog7]);fwrite(hFile, var);
                format(var, 256, "KillLog8=%s\n",PlayerInfo[playerid][pKillLog8]);fwrite(hFile, var);
                format(var, 256, "KillLog9=%s\n",PlayerInfo[playerid][pKillLog9]);fwrite(hFile, var);
                format(var, 256, "Hospital=%d\n",PlayerInfo[playerid][pHospital]);fwrite(hFile, var);
                format(var, 32, "pWExists=%d\n",PlayerInfo[playerid][pWExists]);fwrite(hFile, var);
                format(var, 32, "pWX=%f\n",PlayerInfo[playerid][pWX]);fwrite(hFile, var);
                format(var, 32, "pWY=%f\n",PlayerInfo[playerid][pWY]);fwrite(hFile, var);
                format(var, 32, "pWZ=%f\n",PlayerInfo[playerid][pWZ]);fwrite(hFile, var);
                format(var, 32, "pWVW=%d\n",PlayerInfo[playerid][pWVW]);fwrite(hFile, var);
                format(var, 32, "pWInt=%d\n",PlayerInfo[playerid][pWInt]);fwrite(hFile, var);
                format(var, 32, "pWValue=%d\n",PlayerInfo[playerid][pWValue]);fwrite(hFile, var);
                format(var, 32, "pWSeeds=%d\n",PlayerInfo[playerid][pWSeeds]);fwrite(hFile, var);
                format(var, 32, "pRawOpium=%d\n",PlayerInfo[playerid][pRawOpium]);fwrite(hFile, var);
                format(var, 32, "Syringes=%d\n",PlayerInfo[playerid][pSyringe]);fwrite(hFile, var);
                format(var, 32, "SpeedTickets=%d\n",PlayerInfo[playerid][pSpeedTix]);fwrite(hFile, var);
                format(var, 128, "Warrants=%s\n",PlayerInfo[playerid][pWarrant]);fwrite(hFile, var);
                format(var, 32, "JudgeJailTime=%d\n",PlayerInfo[playerid][pJudgeJailTime]);fwrite(hFile, var);
                format(var, 32, "JudgeJailType=%d\n",PlayerInfo[playerid][pJudgeJailType]);fwrite(hFile, var);
                format(var, 32, "BeingSentenced=%d\n",PlayerInfo[playerid][pBeingSentenced]);fwrite(hFile, var);
                format(var, 32, "ProbationTime=%d\n",PlayerInfo[playerid][pProbationTime]);fwrite(hFile, var);
                format(var, 32, "DMIndicators=%d\n",PlayerInfo[playerid][pDMIndicators]);fwrite(hFile, var);
                format(var, 32, "DMKills=%d\n",PlayerInfo[playerid][pDMKills]);fwrite(hFile, var);
                format(var, 63, "DMReport0=%s\n",PlayerInfo[playerid][pDMReport0]);fwrite(hFile, var);
                format(var, 63, "DMReport1=%s\n",PlayerInfo[playerid][pDMReport1]);fwrite(hFile, var);
                format(var, 63, "DMReport2=%s\n",PlayerInfo[playerid][pDMReport2]);fwrite(hFile, var);
                format(var, 63, "DMReport3=%s\n",PlayerInfo[playerid][pDMReport3]);fwrite(hFile, var);
                format(var, 63, "DMReport4=%s\n",PlayerInfo[playerid][pDMReport4]);fwrite(hFile, var);
                format(var, 63, "DMReport5=%s\n",PlayerInfo[playerid][pDMReport5]);fwrite(hFile, var);
                format(var, 63, "DMReport6=%s\n",PlayerInfo[playerid][pDMReport6]);fwrite(hFile, var);
                format(var, 63, "DMReport7=%s\n",PlayerInfo[playerid][pDMReport7]);fwrite(hFile, var);
                format(var, 63, "DMReport8=%s\n",PlayerInfo[playerid][pDMReport8]);fwrite(hFile, var);
                format(var, 63, "DMReport9=%s\n",PlayerInfo[playerid][pDMReport9]);fwrite(hFile, var);
                format(var, 63, "Order=%d\n",PlayerInfo[playerid][pOrder]);fwrite(hFile, var);
                format(var, 63, "OBlocked=%d\n",PlayerInfo[playerid][pOBlocked]);fwrite(hFile, var);
                format(var, 32, "CallsAccepted=%d\n", PlayerInfo[playerid][pCallsAccepted]);fwrite(hFile, var);
                format(var, 32, "PatientsDelivered=%d\n",PlayerInfo[playerid][pPatientsDelivered]);fwrite(hFile, var);
                format(var, 32, "LiveBanned=%d\n",PlayerInfo[playerid][pLiveBanned]);fwrite(hFile, var);
                format(var, 32, "FreezeBank=%d\n",PlayerInfo[playerid][pFreezeBank]);fwrite(hFile, var);
                format(var, 32, "pHasStereo=%d\n",PlayerInfo[playerid][pHasStereo]);fwrite(hFile, var);
                format(var, 32, "pTogRadio=%d\n",PlayerInfo[playerid][pTogRadio]);fwrite(hFile, var);
                format(var, 32, "pHasGPS=%d\n",PlayerInfo[playerid][pHasGPS]);fwrite(hFile, var);
                format(var, 32, "pUnListed=%d\n",PlayerInfo[playerid][pUnListed]);fwrite(hFile, var);
                format(var, 32, "pTruckingLevel=%d\n",1);fwrite(hFile, var);
                format(var, 32, "pTruckingXP=%d\n",PlayerInfo[playerid][pTruckingXP]);fwrite(hFile, var);
                format(var, 32, "pHasCarJack=%d\n",PlayerInfo[playerid][pHasCarJack]);fwrite(hFile, var);
                format(var, 32, "pJackAttempts=%d\n",PlayerInfo[playerid][pJackAttempts]);fwrite(hFile, var);
                format(var, 32, "pReportsAccepted=%d\n",PlayerInfo[playerid][pReportsAccepted]);fwrite(hFile, var);
                format(var, 32, "pAMSSent=%d\n",PlayerInfo[playerid][pAMSSent]);fwrite(hFile, var);
                format(var, 32, "pBadgeNum=%d\n",PlayerInfo[playerid][pBadgeNum]);fwrite(hFile, var);
                format(var, 63, "pEmail=%s\n",PlayerInfo[playerid][pEmail]);fwrite(hFile, var);
                format(var, 32, "p911sAccepted=%d\n",PlayerInfo[playerid][p911sAccepted]);fwrite(hFile, var);
                format(var, 32, "pArrestsMade=%d\n",PlayerInfo[playerid][pArrestsMade]);fwrite(hFile, var);
                format(var, 32, "pInfractionsIssued=%d\n",PlayerInfo[playerid][pInfractionsIssued]);fwrite(hFile, var);
                format(var, 32, "pZip=%d\n",PlayerInfo[playerid][pZip]);fwrite(hFile, var);
                format(var, 32, "pZipPot=%d\n",PlayerInfo[playerid][pZip]);fwrite(hFile, var);
                format(var, 32, "pZipCrack=%d\n",PlayerInfo[playerid][pZip]);fwrite(hFile, var);
                format(var, 32, "pZipHeroin=%d\n",PlayerInfo[playerid][pZip]);fwrite(hFile, var);
                format(var, 256, "Vmsg1=%s\n",PlayerInfo[playerid][pVmsg1]);fwrite(hFile, var);
                format(var, 256, "Vmsg2=%s\n",PlayerInfo[playerid][pVmsg2]);fwrite(hFile, var);
                format(var, 256, "Vmsg3=%s\n",PlayerInfo[playerid][pVmsg3]);fwrite(hFile, var);
                format(var, 256, "Vmsg4=%s\n",PlayerInfo[playerid][pVmsg4]);fwrite(hFile, var);
                format(var, 256, "Vmsg5=%s\n",PlayerInfo[playerid][pVmsg5]);fwrite(hFile, var);
                format(var, 256, "Vnum1=%s\n",PlayerInfo[playerid][pVnum1]);fwrite(hFile, var);
                format(var, 256, "Vnum2=%s\n",PlayerInfo[playerid][pVnum2]);fwrite(hFile, var);
                format(var, 256, "Vnum3=%s\n",PlayerInfo[playerid][pVnum3]);fwrite(hFile, var);
                format(var, 256, "Vnum4=%s\n",PlayerInfo[playerid][pVnum4]);fwrite(hFile, var);
                format(var, 256, "Vnum5=%s\n",PlayerInfo[playerid][pVnum5]);fwrite(hFile, var);
                format(var, 256, "EnrolledEZPass=%d\n",PlayerInfo[playerid][pEnrolledEZPass]);fwrite(hFile, var);
                format(var, 256, "Statch=%s\n",PlayerInfo[playerid][pStatch]);fwrite(hFile, var);
                format(var, 256, "ChopShopped=%s\n",PlayerInfo[playerid][pChopShopped]);fwrite(hFile, var);
                format(var, 256, "Deported=%d\n",PlayerInfo[playerid][pDeported]);fwrite(hFile, var);
                format(var, 256, "AMuteTime=%s\n",PlayerInfo[playerid][pAMuteTime]);fwrite(hFile, var);
                format(var, 256, "CMuteTime=%s\n",PlayerInfo[playerid][pCMuteTime]);fwrite(hFile, var);
                format(var, 256, "AdMuteTime=%s\n",PlayerInfo[playerid][pAdMuteTime]);fwrite(hFile, var);
                format(var, 256, "NMuteTime=%s\n",PlayerInfo[playerid][pNMuteTime]);fwrite(hFile, var);
                format(var, 256, "DeportTime=%s\n",PlayerInfo[playerid][pDeportTime]);fwrite(hFile, var);
                format(var, 256, "OOCMuteTime=%s\n",PlayerInfo[playerid][pOOCMuteTime]);fwrite(hFile, var);
                //if( strcmp( key, "PrisonedBy", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pPrisonedBy], val, 0, strlen(val)-1, 255); }
                fclose(hFile);
                OnUserPlayerLogin(playerid, password);
                SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Playerfile has been built, please continue through the registration steps!");
                TotalRegister++;
            }
    }
    return 1;
}



Re: Unknown Server Crash - caoraivoso3 - 11.02.2015

well i really dont know what it is but i will post some tips to get the problem:
well for loooking at your code i see a plugin functions Streamer_UpdateEx(playerid, 2229.4968,-1722.0701,13.5625);
soo you should try to looking at this by putting print debugs before and after if you dont get the message it is because it crashes earlier and if you do get the message it is because it crashes after it.
and if the problem isnt what i said you should do what i just said to the rest of the code.
but the plugin seems funny soo look at that


Re: Unknown Server Crash - kevin1990 - 11.02.2015

You are using, the newest NGG script. Don't deny I can see it in your
(IsPlayerConnected) lol xD

Anyways, The problem with this script is in the .SQL file. It has nothing to do with the OnDialogResponse.pwn




UNLESS

You have already edited the OnDialogResponse to much thinking that was it. In that case....... It prob is the OnDialogResponse now aswell lol.


Re: Unknown Server Crash - adammal - 12.02.2015

Please don't use our stolen source code.


Re: Unknown Server Crash - lwilson - 12.02.2015

Quote:
Originally Posted by kevin1990
Посмотреть сообщение
You are using, the newest NGG script. Don't deny I can see it in your
(IsPlayerConnected) lol xD

Anyways, The problem with this script is in the .SQL file. It has nothing to do with the OnDialogResponse.pwn




UNLESS

You have already edited the OnDialogResponse to much thinking that was it. In that case....... It prob is the OnDialogResponse now aswell lol.
FYI, it's not NGG Script and i don't like NGG script too


Respuesta: Unknown Server Crash - !R1Ch@rD! - 12.02.2015

are many codes


Re: Unknown Server Crash - kevin1990 - 12.02.2015

Ok, Someone else can help you then.