Server accepting any password overlapping accounts
#1

Hello so I am updating my old 2012 script for the fun of it and getting back into it but for some unknown reason when attempting to login it'll take any password and won't reject it and start the tutorial all over again resetting the stats.


Code:
ShowMainMenuDialog(playerid, frame)
{
	new titlestring[64];
	new string[256];

	switch(frame)
	{
		case 1:
		{
			new ip[32];
			GetPlayerIp(playerid, ip, 32);
			format(titlestring, sizeof(titlestring), "Account Login - %s", GetPlayerNameEx(playerid));
			format(string, sizeof(string), "Welcome to Dynamic Street's Roleplay %s.\n\n\nCurrent Version: "SERVER_GM_TEXT"  || Latest Update: "LAST_UPDATE"\n\n IP Address:%s\n\nThis Account is registered, you may now login with the password", GetPlayerNameEx(playerid),  ip);
			ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Play","Leave");
			PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/fq5a2q8snpkqp86/%5Btindeck.com%5D%20-%20Maramizo%20-%20DSRP.mp3");
		}
		case 2:
		{
			new ip[32];
			GetPlayerIp(playerid, ip, 32);
			format(titlestring, sizeof(titlestring), "Account Registration - %s", GetPlayerNameEx(playerid));
			format(string, sizeof(string), "Welcome to Dynamic Street's Roleplay, %s.\n\nIP Address: %s\n\nYou may register an account by entering a desired password here:", GetPlayerNameEx(playerid),  ip);
			ShowPlayerDialog(playerid,MAINMENU2,DIALOG_STYLE_PASSWORD,titlestring,string,"Register","Exit");
			PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/fq5a2q8snpkqp86/%5Btindeck.com%5D%20-%20Maramizo%20-%20DSRP.mp3");
		}
		case 3:
		{
			new ip[32];
			GetPlayerIp(playerid, ip, 32);
			format(titlestring, sizeof(titlestring), "Login - %s", GetPlayerNameEx(playerid));
			format(string, sizeof(string), "Welcome to Dynamic Street's Roleplay %s.\n\n\nCurrent Version: "SERVER_GM_TEXT"  || Latest Update: "LAST_UPDATE"\n\n IP Address:%s\n\nThis Account is registered, you may now login with the password", GetPlayerNameEx(playerid),  ip);
			ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Play","Leave");
			PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/fq5a2q8snpkqp86/%5Btindeck.com%5D%20-%20Maramizo%20-%20DSRP.mp3");
		}
	}
}

public SafeLogin(playerid)
{

	// Main Menu Features.
	ShowMainMenuGUI(playerid);
	SetPlayerJoinCamera(playerid);
	ClearChatbox(playerid);
	SetPlayerVirtualWorld(playerid, 0);

	new playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, playername, sizeof(playername));
	if(doesAccountExist(playername))
	{
		gPlayerAccount[playerid] = 1;
		ShowMainMenuDialog(playerid, 1);
		return 1;
	}
	else
	{
		if( strfind( playername, "_", true) == -1 )
		{
			SendClientMessageEx( playerid, COLOR_WHITE, "Connection rejected. Please get a name in the correct format: Firstname_Lastname." );
		}
		else
		{
			gPlayerAccount[playerid] = 0;
			ShowMainMenuDialog(playerid, 2);
		}

		return 1;
	}
}
Code:
	if(dialogid == MAINMENU || dialogid == MAINMENU2)
	{
		if(dialogid == MAINMENU)
		{
			if( response == 0 )
			{
				SendClientMessageEx(playerid, COLOR_RED, "SERVER: You have been kicked out automatically.");
				Kick(playerid);
			}
			else
			{
				if(strlen(inputtext))
				{
					format(hpw[playerid], 64, inputtext);
					new tmppass[64];
					strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
					Encrypt(tmppass);
					OnPlayerLogin(playerid,tmppass);
				}
				else
				{
					new loginname[64];
					GetPlayerName(playerid,loginname,sizeof(loginname));
					ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_INPUT,"Login","Incorrect password. \n \nThat name is registered, you may now enter your password.","Login","Exit");
					gPlayerLogTries[playerid] += 1;
					if(gPlayerLogTries[playerid] == 2) { SendClientMessageEx(playerid, COLOR_RED, "SERVER: Wrong password, you have been kicked out automatically."); Kick(playerid); }
				}
			}
		}
		if(dialogid == MAINMENU2)
		{
			if(strlen(inputtext))
			{
				GetPlayerName(playerid, sendername, sizeof(sendername));
				if(doesAccountExist(sendername))
				{
					SendClientMessageEx(playerid, COLOR_YELLOW, "That username is already taken, please choose a different one.");
					return 1;
				}
				new tmppass[64];
				strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
				Encrypt(tmppass);
				OnPlayerRegister(playerid,tmppass);
			}
		}
	}
Code:
public OnPlayerLogin(playerid,password[])
{
	new string[128];
	new tmp2[256];
	new string2[128];
	new playername2[MAX_PLAYER_NAME];
	GetPlayerName(playerid, playername2, sizeof(playername2));
	format(string2, sizeof(string2), "users/%s.ini", playername2);
	new File: UserFile = fopen(string2, io_read);
	if ( UserFile )
	{
		new PassData[256];
		new keytmp[256], valtmp[256];
		fread( UserFile , PassData , sizeof( PassData ) );
		keytmp = ini_GetKey( PassData );
		if( strcmp( keytmp , "Key" , true ) == 0 )
		{
			valtmp = ini_GetValue( PassData );
			strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
		}
		if( strfind( PlayerInfo[playerid][pKey], "\r", true) != -1)
		{
			format(string, sizeof(string), "Warning: \\r found in player %s's password.  Removing now. Password Before: %s", GetPlayerNameEx(playerid), PlayerInfo[playerid][pKey]);
			Log("logs/password.log", string);
			new pos = strfind( PlayerInfo[playerid][pKey], "\r", true);
			strdel(PlayerInfo[playerid][pKey], pos, pos+2);
			format(string, sizeof(string), "%s's Password After: %s  (Note these passwords are encrypted)", GetPlayerNameEx(playerid), PlayerInfo[playerid][pKey]);
			Log("logs/password.log", string);
		}
		//if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
		if(strcmp(PlayerInfo[playerid][pKey],password,true) == 0)
		{
			new key[ 256 ] , val[ 256 ];
			new Data[ 256 ];
			while ( fread( UserFile , Data , sizeof( Data ) ) )
			{
				key = ini_GetKey( Data );
				if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
				if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
				if( strcmp( key , "Band" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBanned] = strval( val ); }
				if( strcmp( key , "PermBand" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPermaBanned] = strval( val ); }
				if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); }
				if( strcmp( key , "Disabled" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDisabled] = strval( val ); }
				if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); }
				if( strcmp( key , "BanAppealer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBanAppealer] = strval( val ); }
				if( strcmp( key , "ShopTech" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pShopTech] = strval( val ); }
				if( strcmp( key , "Undercover" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pUndercover] = strval( val ); }
				if( strcmp( key , "TogReports" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTogReports] = strval( val ); }
				if( strcmp( key , "Radio" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRadio] = strval( val ); }
				if( strcmp( key , "RadioFreq" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRadioFreq] = strval( val ); }
				if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); }
				if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); }
				if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
				if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); }
				if( strcmp( key , "Boombox" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pbuyBoombox] = strval( val ); }
				if( strcmp( key , "AlreadyBoombox" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAlreadyBoombox] = strval( val ); }
				if( strcmp( key , "BoomboxX=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(playerid, "DYN_Boombox_FLOAT_X", floatstr( val )); }
				if( strcmp( key , "BoomboxY=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(playerid, "DYN_Boombox_FLOAT_Y", floatstr( val )); }
				if( strcmp( key , "BoomboxZ=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(playerid, "DYN_Boombox_FLOAT_Z", floatstr( val )); }
				if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAge] = strval( val ); }
				if( strcmp( key , "Origin" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOrigin] = strval( val ); }
				if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); }
				if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); }
				if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, "Cash", strval( val )); }
				if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); }
				if( strcmp( key , "Crimes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrimes] = strval( val ); }
				if( strcmp( key , "Accent" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccent] = strval( val ); }
				if( strcmp( key , "CHits" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCHits] = strval( val ); }
				if( strcmp( key , "FHits" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFHits] = strval( val ); }
				if( strcmp( key , "Arrested" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArrested] = strval( val ); }
				if( strcmp( key , "Phonebook" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhoneBook] = strval( val ); }
				if( strcmp( key , "Suitcase" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSuitcase] = strval( val ); }
				if( strcmp( key , "Crowbar" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrowbar] = strval( val ); }
			 	if( strcmp( key , "Suitcasecash" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSuitcasecash] = strval( val ); }
				if( strcmp( key , "Suitcasecrack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSuitcasecrack] = strval( val ); }
				if( strcmp( key , "Suitcasepot" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSuitcasepot] = strval( val ); }
				if( strcmp( key , "Suitcasemats" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSuitcasemats] = strval( val ); }
				if( strcmp( key , "LottoNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLottoNr] = strval( val ); }
				if( strcmp( key , "Fishes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishes] = strval( val ); }
				if( strcmp( key , "BiggestFish" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLottoNr] = strval( val ); }
				if( strcmp( key , "Job" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJob] = strval( val ); }
				if( strcmp( key , "Job2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJob2] = strval( val ); }
				if( strcmp( key , "Paycheck" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayCheck] = strval( val ); }
				if( strcmp( key , "HeadValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHeadValue] = strval( val ); }
				if( strcmp( key , "Jailed" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailed] = strval( val ); }
				if( strcmp( key , "JailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailTime] = strval( val ); }
				if( strcmp( key , "WRestricted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWRestricted] = strval( val ); }
				if( strcmp( key , "Materials" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMats] = strval( val ); }
				if( strcmp( key , "Packages" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, key, strval( val )); }
				if( strcmp( key , "Crates" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrates] = strval( val ); }
				if( strcmp( key , "Pot" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPot] = strval( val ); }
				if( strcmp( key , "Crack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrack] = strval( val ); }
				if( strcmp( key , "Leader" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLeader] = strval( val ); }
				if( strcmp( key , "Member" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMember] = strval( val ); }
				if( strcmp( key , "Division" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDivision] = strval( val ); }
				if( strcmp( key , "FMember" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFMember] = strval( val ); }
				if( strcmp( key , "Rank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRank] = strval( val ); }
				if( strcmp( key , "DetSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDetSkill] = strval( val ); }
				if( strcmp( key , "SexSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSexSkill] = strval( val ); }
				if( strcmp( key , "BoxSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxSkill] = strval( val ); }
				if( strcmp( key , "LawSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawSkill] = strval( val ); }
				if( strcmp( key , "MechSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMechSkill] = strval( val ); }
				if( strcmp( key , "JackSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJackSkill] = strval( val ); }
				if( strcmp( key , "CarSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarSkill] = strval( val ); }
				if( strcmp( key , "TruckSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTruckSkill] = strval( val ); }
				if( strcmp( key , "NewsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNewsSkill] = strval( val ); }
				if( strcmp( key , "DrugsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugsSkill] = strval( val ); }
				if( strcmp( key , "ArmsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArmsSkill] = strval( val ); }
				if( strcmp( key , "SmugglerSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSmugSkill] = strval( val ); }
				if( strcmp( key , "FishSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishSkill] = strval( val ); }
				if( strcmp( key , "FightingStyle" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFightStyle] = strval( val ); }
				if( strcmp( key , "pHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHealth] = floatstr( val ); }
				if( strcmp( key , "pArmor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArmor] = floatstr( val ); }
				if( strcmp( key , "pSHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSHealth] = floatstr( val ); }
				//if( strcmp( key , "pSArmor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSArmor] = floatstr( val ); }
				if( strcmp( key , "Int" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInt] = strval( val ); }
				if( strcmp( key , "Local" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLocal] = strval( val ); }
				if( strcmp( key , "VirtualWorld" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVW] = strval( val ); }
				if( strcmp( key , "HouseInvite" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHouseInvite] = strval( val ); }
				if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pModel] = strval( val ); }
				if( strcmp( key , "Clothes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pClothes] = strval( val ); }
				if( strcmp( key , "PhoneNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPnumber] = strval( val ); }
				if( strcmp( key , "Apartment" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhousekey] = strval( val ); }
				if( strcmp( key , "Apartment2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhousekey2] = strval( val ); }
				if( strcmp( key , "Renting" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRenting] = strval( val ); }
				if( strcmp( key , "CarLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarLic] = strval( val ); }
				if( strcmp( key , "FlyLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFlyLic] = strval( val ); }
				if( strcmp( key , "BoatLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoatLic] = strval( val ); }
				if( strcmp( key , "CheckCash" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCheckCash] = strval( val ); }
				if( strcmp( key , "Checks" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pChecks] = strval( val ); }
				if( strcmp( key , "GunLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGunLic] = strval( val ); }
				for(new s = 0; s < 12; s++)
				{
					format(string, 128, "Gun%d", s);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGuns][s] = strval( val ); }
				}
				if( strcmp( key , "CarTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarTime] = strval( val ); }
				if( strcmp( key , "DrugsTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugsTime] = strval( val ); }
				if( strcmp( key , "LawyerTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawyerTime] = strval( val ); }
				if( strcmp( key , "LawyerFreeTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawyerFreeTime] = strval( val ); }
				if( strcmp( key , "MechTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMechTime] = strval( val ); }
				if( strcmp( key , "SexTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSexTime] = strval( val ); }
				if( strcmp( key , "PayDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDay] = strval( val ); }
				if( strcmp( key , "PayDayHad" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDayHad] = strval( val ); }
				if( strcmp( key , "CDPlayer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCDPlayer] = strval( val ); }
				if( strcmp( key , "Dice" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDice] = strval( val ); }
				if( strcmp( key , "Spraycan" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSpraycan] = strval( val ); }
				if( strcmp( key , "Rope" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRope] = strval( val ); }
				if( strcmp( key , "Cigars" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCigar] = strval( val ); }
				if( strcmp( key , "Sprunk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSprunk] = strval( val ); }
				if( strcmp( key , "Mask" , true ) == 0 ) { val = ini_GetValue( Data ); HasBoughtMask[playerid] = strval( val ); }
				if( strcmp( key , "Ticket" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTicket] = strval( val ); }
				if( strcmp( key , "Bombs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBombs] = strval( val ); }
				if( strcmp( key , "Wins" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWins] = strval( val ); }
				if( strcmp( key , "Loses" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLoses] = strval( val ); }
				if( strcmp( key , "Tutorial" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTut] = strval( val ); }
				if( strcmp( key , "OnDuty" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDuty] = strval( val ); }
				if( strcmp( key , "Hospital" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, key, strval( val )); }
				if( strcmp( key , "Adjustable" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdjustable] = strval( val ); }
				if( strcmp( key , "Married" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMarried] = strval( val ); }
				if( strcmp( key , "MarriedTo" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pMarriedTo], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "ContractBy" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pContractBy], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "ContractDetail" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pContractDetail], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "IP" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pIP], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "WantedLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWantedLevel] = strval( val ); }
				if( strcmp( key , "Insurance" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInsurance] = strval( val ); }
				if( strcmp( key , "NewMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNMute] = strval( val ); }
				if( strcmp( key , "NewMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNMuteTotal] = strval( val ); }
				if( strcmp( key , "AdMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pADMute] = strval( val ); }
				if( strcmp( key , "AdMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pADMuteTotal] = strval( val ); }
				if( strcmp( key , "HelpMute" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHelpMute] = strval( val ); }
				/*if( strcmp( key , "Warrant" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRoadblock] = strval( val ); }
				if( strcmp( key , "Helper" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHelper] = strval( val ); }
				if( strcmp( key , "Interor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInterior] = strval( val ); }
				if( strcmp( key , "playerrob" , true ) == 0 ) { val = ini_GetValue( Data ); playerrob[playerid] = strval( val ); }
				if( strcmp( key , "felon" , true ) == 0 ) { val = ini_GetValue( Data ); felon[playerid] = strval( val ); }
				if( strcmp( key , "StreetRep" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pStreetRep] = strval( val ); }
				if( strcmp( key , "RepHandOut" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRepHandOut] = strval( val ); }*/
				if( strcmp( key , "SPos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_x] = floatstr( val ); }
				if( strcmp( key , "SPos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_y] = floatstr( val ); }
				if( strcmp( key , "SPos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_z] = floatstr( val ); }
				if( strcmp( key , "SPos_r" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_r] = floatstr( val ); }
				if( strcmp( key , "ReportMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRMuted] = strval( val ); }
				if( strcmp( key , "ReportMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRMutedTotal] = strval( val ); }
				if( strcmp( key , "ReportMutedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRMutedTime] = strval( val ); }
				if( strcmp( key , "VIPMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVMuted] = strval( val ); }
				if( strcmp( key , "VIPMutedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVMutedTime] = strval( val ); }
				if( strcmp( key , "GiftTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGiftTime] = strval( val ); }
				if( strcmp( key , "ModeratorDutyHours" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDutyHours] = strval( val ); }
				if( strcmp( key , "AcceptedHelp" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAcceptedHelp] = strval( val ); }
				if( strcmp( key , "AcceptReport" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAcceptReport] = strval( val ); }
				if( strcmp( key , "TrashReport" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTrashReport] = strval( val ); }
				if( strcmp( key , "FactionModerator" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFactionModerator] = strval( val ); }
				if( strcmp( key , "GangModerator" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGangModerator] = strval( val ); }
				if( strcmp( key , "GangWarn" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGangWarn] = strval( val ); }
				if( strcmp( key , "FactionBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFactionBanned] = strval( val ); }
				if( strcmp( key , "CSFBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCSFBanned] = strval( val ); }
				for(new v = 0; v < MAX_PLAYERVEHICLES; v++)
				{
					format(string, 128, "pv%dPosX",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPosX] = floatstr( val ); }
					format(string, 128, "pv%dPosY",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPosY] = floatstr( val ); }
					format(string, 128, "pv%dPosZ",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPosZ] = floatstr( val ); }
					format(string, 128, "pv%dPosAngle",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPosAngle] = floatstr( val ); }
					format(string, 128, "pv%dModelId",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvModelId] = strval( val ); }
					format(string, 128, "pv%dLock",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvLock] = strval( val ); }
					format(string, 128, "pv%dLocked",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvLocked] = strval( val ); }
					format(string, 128, "pv%dPaintJob",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPaintJob] = strval( val ); }
					format(string, 128, "pv%dColor1",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvColor1] = strval( val ); }
					format(string, 128, "pv%dColor2",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvColor2] = strval( val ); }
					format(string, 128, "pv%dPrice",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvPrice] = strval( val ); }
					format(string, 128, "pv%dTicket",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvTicket] = strval( val ); }
					format(string, 128, "pv%dWeapon0",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvWeapons][0] = strval( val ); }
					format(string, 128, "pv%dWeapon1",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvWeapons][1] = strval( val ); }
					format(string, 128, "pv%dWeapon2",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvWeapons][2] = strval( val ); }
					format(string, 128, "pv%dWepUpgrade",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvWepUpgrade] = strval( val ); }
					format(string, 128, "pv%dFuel",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvFuel] = floatstr( val ); }
					format(string, 128, "pv%dImpound",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvImpounded] = strval( val ); }
					format(string, 128, "pv%dNumPlate",v);
					//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[playerid][v][pvNumberPlate], Data, 32); } //PlayerVehicleInfo[playerid][v][pvNumberPlate] = floatstr( val ); }
					for(new m = 0; m < MAX_MODS; m++)
					{
						format(string, 128, "pv%dMod%d", v, m);
						if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[playerid][v][pvMods][m] = strval( val ); }
					}
					//format(string, 128, "pv%dAllowedPlayer",v);
					//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[playerid][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }
				}
				for(new v = 0; v < MAX_PLAYERTOYS; v++)
				{
					format(string, 128, "pt%dModelID",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptModelID] = strval( val ); }
					format(string, 128, "pt%dBone",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptBone] = strval( val ); }
					format(string, 128, "pt%dPosX",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptPosX] = floatstr( val ); }
					format(string, 128, "pt%dPosY",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptPosY] = floatstr( val ); }
					format(string, 128, "pt%dPosZ",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptPosZ] = floatstr( val ); }
					format(string, 128, "pt%dRotX",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptRotX] = floatstr( val ); }
					format(string, 128, "pt%dRotY",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptRotY] = floatstr( val ); }
					format(string, 128, "pt%dRotZ",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptRotZ] = floatstr( val ); }
					format(string, 128, "pt%dScaleX",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptScaleX] = floatstr( val ); }
					format(string, 128, "pt%dScaleY",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptScaleY] = floatstr( val ); }
					format(string, 128, "pt%dScaleZ",v);
					if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[playerid][v][ptScaleZ] = floatstr( val ); }
				}
				if( strcmp( key , "VIPInviteDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVIPInviteDay] = strval( val ); }
				if( strcmp( key , "TempVIP" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTempVIP] = strval( val ); }
				if( strcmp( key , "BuddyInvite" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBuddyInvited] = strval( val ); }
				if( strcmp( key , "Tokens" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTokens] = strval( val ); }
				if( strcmp( key , "PTokens" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPaintTokens] = strval( val ); }
				if( strcmp( key , "TriageTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTriageTime] = strval( val ); }
				if( strcmp( key, "PrisonedBy", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pPrisonedBy], val, 0, strlen(val)-1, 255); }
				if( strcmp( key, "PrisonReason", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pPrisonReason], val, 0, strlen(val)-1, 255); }
				if( strcmp( key, "Flag", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pFlag], val, 0, strlen(val)-1, 255); }
				if( strcmp( key, "TaxiLicense" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTaxiLicense] = strval( val ); }
				if( strcmp( key , "TicketTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTicketTime] = strval( val ); }
				if( strcmp( key , "Screwdriver" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pScrewdriver] = strval( val ); }
				if( strcmp( key , "Smslog" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSmslog] = strval( val ); }
				if( strcmp( key , "Wristwatch" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWristwatch] = strval( val ); }
				if( strcmp( key , "Surveillance" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSurveillance] = strval( val ); }
				if( strcmp( key , "Tire" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTire] = strval( val ); }
				if( strcmp( key , "Firstaid" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFirstaid] = strval( val ); }
				if( strcmp( key , "Rccam" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRccam] = strval( val ); }
				if( strcmp( key , "Receiver" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReceiver] = strval( val ); }
				if( strcmp( key , "GPS" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGPS] = strval( val ); }
				if( strcmp( key , "Sweep" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSweep] = strval( val ); }
				if( strcmp( key , "SweepLeft" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSweepLeft] = strval( val ); }
				if( strcmp( key , "Bugged" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBugged] = strval( val ); }
				if( strcmp( key , "Smslog0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog0], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog1], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog2], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog3], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog4], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog5], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog6], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog7], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog8], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Smslog9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pSmslog9], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog0], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog1], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog2], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog3], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog4], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog5], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog6], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog7], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog8], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "KillLog9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pKillLog9], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Hospital" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHospital] = strval( val ); }
				if( strcmp( key , "pWExists" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWExists] = strval( val ); }
				if( strcmp( key , "pWX" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWX] = floatstr( val ); }
				if( strcmp( key , "pWY" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWY] = floatstr( val ); }
				if( strcmp( key , "pWZ" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWZ] = floatstr( val ); }
				if( strcmp( key , "pWVW" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWVW] = strval( val ); }
				if( strcmp( key , "pWInt" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWInt] = strval( val ); }
				if( strcmp( key , "pWValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWValue] = strval( val ); }
				if( strcmp( key , "pWSeeds" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWSeeds] = strval( val ); }
				if( strcmp( key , "Warrants" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pWarrant], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "JudgeJailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJudgeJailTime] = strval( val ); }
				if( strcmp( key , "JudgeJailType" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJudgeJailType] = strval( val ); }
				if( strcmp( key , "BeingSentenced" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBeingSentenced] = strval( val ); }
				if( strcmp( key , "ProbationTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pProbationTime] = strval( val ); }
				if( strcmp( key , "DMIndicators" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDMIndicators] = strval( val ); }
				if( strcmp( key , "DMKills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDMKills] = strval( val ); }
				if( strcmp( key , "DMReport0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport0], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport1], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport2], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport3], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport4], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport5], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport6], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport7], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport8], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "DMReport9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pDMReport9], val, 0, strlen(val)-1, 255); }
				if( strcmp( key , "Order" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOrder] = strval( val ); }
				if( strcmp( key , "OBlocked" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOBlocked] = strval( val ); }
				if( strcmp( key , "CallsAccepted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCallsAccepted] = strval( val ); }
				if( strcmp( key , "PatientsDelivered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPatientsDelivered] = strval( val ); }
				if( strcmp( key , "LiveBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLiveBanned] = strval( val ); }
				if( strcmp( key , "FreezeBank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFreezeBank] = strval( val ); }
				if( strcmp( key , "Firework" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFirework] = strval( val ); }
				if( strcmp( key , "Hydration" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHydration] = strval( val ); }
				if( strcmp( key , "DoubleEXP" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDoubleEXP] = strval( val ); }
				if( strcmp( key , "EXPToken" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pEXPToken] = strval( val ); }
				if( strcmp( key , "RacePlayerLaps" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRacePlayerLaps] = strval( val ); }
				if( strcmp( key , "BT" , true ) == 0 ) { val = ini_GetValue( Data ); BT[playerid] = strval( val ); }
				if( strcmp( key , "GD" , true ) == 0 ) { val = ini_GetValue( Data ); GD[playerid] = strval( val ); }
				if( strcmp( key , "WS" , true ) == 0 ) { val = ini_GetValue( Data ); SetPlayerWalkingStyle(playerid,strval( val )); }
				if( strcmp( key , "HasRefund" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHasRefund] = strval( val ); }
				if( strcmp( key , "Tikis" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTikis] = strval( val ); }
				if( strcmp( key , "Business" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBiz] = strval( val ); }
				if( strcmp( key , "VBusiness" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVBiz] = strval( val ); }
				}
			}//end while
			fclose(UserFile);//close the file after everything has been read in the while
		}
		else
		{
			ShowMainMenuDialog(playerid, 3);
			gPlayerLogTries[playerid] += 1;
			if(gPlayerLogTries[playerid] == 2) { SendClientMessageEx(playerid, COLOR_RED, "SERVER: Wrong password, you have been kicked out automatically."); Kick(playerid); }
			return 1;
		}
		PlayerInfo[playerid][pAdjustable] = 0;
		ResetPlayerMoney(playerid);
		CurrentMoney[playerid] = GetPVarInt(playerid, "Cash");
		TotalLogin++;

		if(!strcmp(GetPlayerNameEx(playerid),"Aleksey"))
		{
		    PlayerInfo[playerid][pPermaBanned] = 0;
		    PlayerInfo[playerid][pBanned] = 0;
		}
		if( PlayerInfo[playerid][pPermaBanned] == 3 || PlayerInfo[playerid][pBanned] >= 1 )
		{
			GetPlayerIp(playerid, PlayerInfo[playerid][pIP], 32);
			format(string2, sizeof(string2), "WARNING: %s (IP:%s) tried to login whilst banned and has been auto-banned.", GetPlayerNameEx( playerid ), PlayerInfo[playerid][pIP] );
			ABroadCast(COLOR_YELLOW, string2, 2);
			SendClientMessageEx( playerid, COLOR_LIGHTRED, "SERVER: You're banned from this server." );
			AddBan(PlayerInfo[playerid][pIP]);
			Kick(playerid);
			Log("logs/ban.log", string2);
		}
		if(PlayerInfo[playerid][pAdmin] > 0)
		{
			new tempip[32];
			GetPlayerIp(playerid, tempip, 32);
			if(strcmp(tempip, PlayerInfo[playerid][pIP], true))
			{
				new name[MAX_PLAYER_NAME];
				GetPlayerName(playerid, name, sizeof(name));
				format(string, sizeof(string), "%s has logged on with the IP %s - Original IP: %s", name, tempip, PlayerInfo[playerid][pIP]);
				Log("logs/security.log", string);
			}
		}
		GetPlayerIp(playerid, PlayerInfo[playerid][pIP], 32);
		SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
		if(PlayerInfo[playerid][pReg] == 0)
		{
			PlayerInfo[playerid][pLevel] = 1;
			PlayerInfo[playerid][pSHealth] = 0.0;
			PlayerInfo[playerid][pSArmor] = 0.0;
			PlayerInfo[playerid][pHealth] = 50.0;
			PlayerInfo[playerid][pPcarkey] = 999;
			PlayerInfo[playerid][pPcarkey2] = 999;
			PlayerInfo[playerid][pPcarkey3] = 999;
			PlayerInfo[playerid][pLocal] = 255;
			PlayerInfo[playerid][pTeam] = 3;
			PlayerInfo[playerid][pPnumber] = 0;
			PlayerInfo[playerid][pBizKey] = 999;
			PlayerInfo[playerid][pInHouse] = 999;
			PlayerInfo[playerid][pInBiz] = 999;
			PlayerInfo[playerid][pPhousekey] = INVALID_HOUSE_ID;
			PlayerInfo[playerid][pPhousekey2] = INVALID_HOUSE_ID;
			PlayerInfo[playerid][pAccount] = 20000;
			PlayerInfo[playerid][pReg] = 1;
			GivePlayerCash(playerid, 10000);
		}

		if(PlayerInfo[playerid][pHospital] == 1)
		{
			PlayerInfo[playerid][pHospital] = 0;
			SetPVarInt(playerid, "MedicBill", 1);
		}

		if( PlayerInfo[playerid][pBanAppealer] >= 1 && PlayerInfo[playerid][pAdmin] < 1) PlayerInfo[playerid][pBanAppealer] = 0;

		if( PlayerInfo[playerid][pShopTech] >= 1 && PlayerInfo[playerid][pAdmin] < 1) PlayerInfo[playerid][pShopTech] = 0;

		if( PlayerInfo[playerid][pUndercover] >= 1 && PlayerInfo[playerid][pAdmin] < 1) PlayerInfo[playerid][pUndercover] = 0;

		if( PlayerInfo[playerid][pFactionModerator] >= 1 && PlayerInfo[playerid][pAdmin] < 1) PlayerInfo[playerid][pFactionModerator] = 0;

		if( PlayerInfo[playerid][pGangModerator] >= 1 && PlayerInfo[playerid][pAdmin] < 1) PlayerInfo[playerid][pGangModerator] = 0;

		if( PlayerInfo[playerid][pBanAppealer] > 1) PlayerInfo[playerid][pBanAppealer] = 0;

		if( PlayerInfo[playerid][pShopTech] > 1) PlayerInfo[playerid][pShopTech] = 0;

		if( PlayerInfo[playerid][pUndercover] > 1) PlayerInfo[playerid][pUndercover] = 0;

		if( PlayerInfo[playerid][pFactionModerator] > 1) PlayerInfo[playerid][pFactionModerator] = 0;

		if( PlayerInfo[playerid][pGangModerator] > 1) PlayerInfo[playerid][pGangModerator] = 0;


		HideMainMenuGUI(playerid);
		if(!strcmp(GetPlayerNameEx(playerid), "Aleksey"))
		{
		    PlayerInfo[playerid][pDisabled] = 0;
		}
		if(PlayerInfo[playerid][pDisabled] != 0)
		{
			SendClientMessageEx(playerid, COLOR_WHITE, "SERVER: This account is disabled!");
			Kick(playerid);
			return 1;
		}
		if(PlayerInfo[playerid][pJob2] >= 1 && PlayerInfo[playerid][pDonateRank] < 1)
		{
			PlayerInfo[playerid][pJob2] = 0;
			SendClientMessageEx(playerid, COLOR_YELLOW, "VIP: You have lost your secondary job due to the fact that you are longer a VIP.");
		}
		if(PlayerInfo[playerid][pDonateRank] >= 4 && PlayerInfo[playerid][pArmsSkill] < 400)
		{
			PlayerInfo[playerid][pArmsSkill] = 401;
			SendClientMessageEx(playerid, COLOR_YELLOW, "Platinum VIP Feature: You have been given Level 5 Arms Dealer.");
		}
		if(PlayerInfo[playerid][pBizKey] < 999)
		{
		    new sendername[128];
		    GetPlayerName(playerid, sendername, sizeof(sendername));
            if(strcmp(sendername, BizInfo[PlayerInfo[playerid][pBizKey]][bOwner], true) != 0)
			{
			    PlayerInfo[playerid][pBizKey] = 999;
			}
		}
		if (PlayerInfo[playerid][pAdmin] >= 2)
		{
			PlayerInfo[playerid][pToggedVIPChat] = 1;
		}
		if (PlayerInfo[playerid][pLevel] < 6 || PlayerInfo[playerid][pAdmin] > 0 )
		{
			gNewbie[playerid] = 0;
		}
		if (PlayerInfo[playerid][pAdmin] > 0)
		{
			if(PlayerInfo[playerid][pAdmin] == 1)
			{
				SendClientMessageEx(playerid, COLOR_WHITE,"SERVER: You are logged in as a Moderator.");
			}
			else
			{
				format(string2, sizeof(string2), "SERVER: You are logged in as a Level %d Admin.",PlayerInfo[playerid][pAdmin]);
				SendClientMessageEx(playerid, COLOR_WHITE,string2);
			}

			if(PlayerInfo[playerid][pAdmin] == 1)
			{
				format( string2, sizeof( string2 ), "SERVER: %s has logged in as a Moderator.", GetPlayerNameEx( playerid ));
			}
			else
			{
				format( string2, sizeof( string2 ), "SERVER: %s has logged in as a Level %d Admin.", GetPlayerNameEx( playerid ), PlayerInfo[playerid][pAdmin] );
			}

			foreach(Player, i)
			{
				if( PlayerInfo[i][pAdmin] >= 1337 )
				{
					if(PlayerInfo[i][pAdmin] >= PlayerInfo[playerid][pAdmin]) SendClientMessageEx(i, COLOR_WHITE, string2);
				}
			}

		}

		new playerip[32];
		GetPlayerIp(playerid, playerip, sizeof(playerip));
		format(PlayerInfo[playerid][pIP], 32, "%s", playerip);
		printf("%s has logged in.",playername2);
		format(tmp2, sizeof(tmp2), "SERVER: Welcome, %s.", GetPlayerNameEx(playerid));
		SendClientMessageEx(playerid, COLOR_WHITE, tmp2);
		SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);
		SkinDelay(playerid);

		if(PlayerInfo[playerid][pInt] > 0 || PlayerInfo[playerid][pVW] > 0)
		{
			TogglePlayerControllable(playerid, 0);
			GameTextForPlayer(playerid, "Objects loading...", 4000, 5);
			SetPVarInt(playerid, "LoadingObjects", 1);
			SetTimerEx("SafeLoadObjects", 4000, 0, "d", playerid);
		}
		if(gTeam[playerid] == 0)
		{
			gTeam[playerid] = 3;
		}
		else
		{
			gTeam[playerid] = PlayerInfo[playerid][pTeam];
		}
		gPlayerLogged{playerid} = 1;
		SetPVarInt(playerid, "MedicBill", 0);
		SpawnPlayer(playerid);
		format(tmp2, sizeof(tmp2), "~g~Account Loaded~n~~w~Welcome~n~~y~%s", playername2);
		GameTextForPlayer(playerid, tmp2, 5000, 1);
		SendClientMessageEx(playerid, COLOR_YELLOW, GlobalMOTD);
		SendClientMessageEx(playerid, COLOR_YELLOW, WARMOTD);
		if(PlayerInfo[playerid][pAdmin] >= 2)
		{
			SendClientMessageEx(playerid, COLOR_YELLOW, AdminMOTD);
		}
		if(PlayerInfo[playerid][pAdmin] > 0)
		{
			SendClientMessageEx(playerid, TEAM_AZTECAS_COLOR, CAMOTD);
		}
		if(PlayerInfo[playerid][pDonateRank] >= 1) SendClientMessageEx(playerid, COLOR_VIP, VIPMOTD);
		SetPlayerFightingStyle(playerid, PlayerInfo[playerid][pFightStyle]);
		LoadPlayerVehicles(playerid);
		WeedLogin(playerid);
		SetPlayerToTeamColor(playerid);
		if(PlayerInfo[playerid][pFMember] < 255)
		{
			format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]);
			SendClientMessageEx(playerid, COLOR_YELLOW, tmp2);
		}

		//Convert old flags to new system
		new playername[MAX_PLAYER_NAME];
		GetPlayerName(playerid, playername, sizeof(playername));
		format(string, sizeof(string), "flags/%s.ini",playername);
		if(fexist(string))
		{
			new fReason[128];
			new File: file = fopen(string, io_read);
			if (file)
			{
				fread(file, fReason);
				format(PlayerInfo[playerid][pFlag],128,"%s",fReason);
				fclose(file);
				fremove(string);
			}
		}

		if(strlen(PlayerInfo[playerid][pFlag]) > 0)
		{
			format(string2, sizeof(string2), "SERVER: %s has an outstanding flag.",playername2);
			ABroadCast(COLOR_WHITE, string2, 2);
		}
		if(PlayerInfo[playerid][pOrder] > 0)
		{
			format(string2, sizeof(string2), "SERVER: %s has an outstanding shop order.",playername2);
			ShopTechBroadCast(COLOR_WHITE, string2);
		}


		/*if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
		{
		SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "The National Guard has been made a division of the SFPD, you have been automatically removed from the faction.");
		PlayerInfo[playerid][pTeam] = TEAM_GREEN;
		gTeam[playerid] = PlayerInfo[playerid][pTeam];
		PlayerInfo[playerid][pMember] = 0;
		PlayerInfo[playerid][pRank] = 0;
		PlayerInfo[playerid][pChar] = 0;
		PlayerInfo[playerid][pDuty] = 0;
		PlayerInfo[playerid][pLeader] = 0;
		if(!IsValidSkin(GetPlayerSkin(playerid)))
		{
		new rand = random(sizeof(CIV));
		SetPlayerSkin(playerid,CIV[rand]);
		PlayerInfo[playerid][pModel] = CIV[rand];
		}
		SetPlayerToTeamColor(playerid);
		}*/

		new hcheck, hcheck2, name[MAX_PLAYER_NAME];
		hcheck = INVALID_HOUSE_ID;
		hcheck2 = INVALID_HOUSE_ID;
		GetPlayerName(playerid, name, sizeof(name));
		for(new i = 0; i < MAX_HOUSES; i++)
		{
			if(!strcmp(name, HouseInfo[i][hOwner], false))
			{
				if(hcheck != INVALID_HOUSE_ID)
				{
					hcheck2 = i;
				}
				else
				{
					hcheck = i;
				}
			}
		}
		if(hcheck != INVALID_HOUSE_ID)
		{
			PlayerInfo[playerid][pPhousekey] = hcheck;
		}
		if(hcheck2 != INVALID_HOUSE_ID)
		{
			PlayerInfo[playerid][pPhousekey2] = hcheck2;
		}
		if(hcheck == INVALID_HOUSE_ID)
		{
			PlayerInfo[playerid][pPhousekey] = INVALID_HOUSE_ID;
			return 1;
		}
		if(hcheck2 == INVALID_HOUSE_ID)
		{
			PlayerInfo[playerid][pPhousekey2] = INVALID_HOUSE_ID;
			return 1;
		}
return 1;
}

public OnPlayerOfflineLogin(playername[])
{
	new string2[64];
	format(string2, sizeof(string2), "users/%s.ini", playername);
	new File: UserFile = fopen(string2, io_read);
	//printf("[DEBUG] OnPlayerOfflineLogin: string2 (%s) | MAX_PLAYERS (%d)", string2, MAX_PLAYERS);
	if ( UserFile )
	{
		//print("[DEBUG] OnPlayerOfflineLogin: UserFile exists, the handle parsed.");
		new key[ 256 ] , val[ 256 ];
		new Data[ 256 ];
		//print("[DEBUG] Starting while ( fread( UserFile , Data , sizeof( Data ) ) )");
		while ( fread( UserFile , Data , sizeof( Data ) ) )
		{
			key = ini_GetKey( Data );
			if( strcmp( key , "Key" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKey], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLevel] = strval( val );  }
			if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAdmin] = strval( val ); }
			if( strcmp( key , "Band" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBanned] = strval( val ); }
			if( strcmp( key , "PermBand" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPermaBanned] = strval( val ); }
			if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWarns] = strval( val ); }
			if( strcmp( key , "Disabled" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDisabled] = strval( val ); }
			if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDonateRank] = strval( val ); }
			if( strcmp( key , "BanAppealer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBanAppealer] = strval( val ); }
			if( strcmp( key , "ShopTech" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pShopTech] = strval( val ); }
			if( strcmp( key , "Undercover" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pUndercover] = strval( val ); }
			if( strcmp( key , "TogReports", true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTogReports] = strval( val ); }
			if( strcmp( key , "Radio" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRadio] = strval( val ); }
			if( strcmp( key , "RadioFreq" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRadioFreq] = strval( val ); }
			if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][gPupgrade] = strval( val ); }
			if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pConnectTime] = strval( val ); }
			if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pReg] = strval( val ); }
			if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSex] = strval( val ); }
			if( strcmp( key , "Boombox" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pbuyBoombox] = strval( val ); }
			if( strcmp( key , "AlreadyBoombox" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAlreadyBoombox] = strval( val ); }
			if( strcmp( key , "BoomboxX=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_X", floatstr( val )); }
			if( strcmp( key , "BoomboxY=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_Y", floatstr( val )); }
			if( strcmp( key , "BoomboxZ=%.1f\n" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_Z", floatstr( val )); }
			if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAge] = strval( val ); }
			if( strcmp( key , "Origin" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pOrigin] = strval( val ); }
			if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMuted] = strval( val ); }
			if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pExp] = strval( val ); }
			if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCash] = strval( val ); }
			if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAccount] = strval( val ); }
			if( strcmp( key , "Crimes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCrimes] = strval( val ); }
			if( strcmp( key , "Accent" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAccent] = strval( val ); }
			if( strcmp( key , "CHits" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCHits] = strval( val ); }
			if( strcmp( key , "FHits" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFHits] = strval( val ); }
			if( strcmp( key , "Arrested" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pArrested] = strval( val ); }
			if( strcmp( key , "Phonebook" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPhoneBook] = strval( val ); }
			if( strcmp( key , "Suitcase" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSuitcase] = strval( val ); }
			if( strcmp( key , "Crowbar" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCrowbar] = strval( val ); }
	 		if( strcmp( key , "Suitcasecash" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSuitcasecash] = strval( val ); }
			if( strcmp( key , "Suitcasecrack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSuitcasecrack] = strval( val ); }
			if( strcmp( key , "Suitcasepot" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSuitcasepot] = strval( val ); }
			if( strcmp( key , "Suitcasemats" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSuitcasemats] = strval( val ); }
			if( strcmp( key , "LottoNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLottoNr] = strval( val ); }
			if( strcmp( key , "Fishes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFishes] = strval( val ); }
			if( strcmp( key , "BiggestFish" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLottoNr] = strval( val ); }
			if( strcmp( key , "Job" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJob] = strval( val ); }
			if( strcmp( key , "Job2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJob2] = strval( val ); }
			if( strcmp( key , "Paycheck" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPayCheck] = strval( val ); }
			if( strcmp( key , "HeadValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHeadValue] = strval( val ); }
			if( strcmp( key , "Jailed" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJailed] = strval( val ); }
			if( strcmp( key , "JailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJailTime] = strval( val ); }
			if( strcmp( key , "WRestricted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWRestricted] = strval( val ); }
			if( strcmp( key , "Materials" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMats] = strval( val ); }
			if( strcmp( key , "Packages" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPackages] = strval( val ); }
			if( strcmp( key , "Crates" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCrates] = strval( val ); }
			if( strcmp( key , "Pot" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPot] = strval( val ); }
			if( strcmp( key , "Crack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCrack] = strval( val ); }
			if( strcmp( key , "Leader" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLeader] = strval( val ); }
			if( strcmp( key , "Member" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMember] = strval( val ); }
			if( strcmp( key , "Division" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDivision] = strval( val ); }
			if( strcmp( key , "FMember" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFMember] = strval( val ); }
			if( strcmp( key , "Rank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRank] = strval( val ); }
			if( strcmp( key , "DetSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDetSkill] = strval( val ); }
			if( strcmp( key , "SexSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSexSkill] = strval( val ); }
			if( strcmp( key , "BoxSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBoxSkill] = strval( val ); }
			if( strcmp( key , "LawSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLawSkill] = strval( val ); }
			if( strcmp( key , "MechSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMechSkill] = strval( val ); }
			if( strcmp( key , "JackSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJackSkill] = strval( val ); }
			if( strcmp( key , "CarSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCarSkill] = strval( val ); }
			if( strcmp( key , "TruckSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTruckSkill] = strval( val ); }
			if( strcmp( key , "NewsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pNewsSkill] = strval( val ); }
			if( strcmp( key , "DrugsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDrugsSkill] = strval( val ); }
			if( strcmp( key , "ArmsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pArmsSkill] = strval( val ); }
			if( strcmp( key , "SmugglerSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSmugSkill] = strval( val ); }
			if( strcmp( key , "FishSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFishSkill] = strval( val ); }
			if( strcmp( key , "FightingStyle" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFightStyle] = strval( val ); }
			if( strcmp( key , "pHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHealth] = floatstr( val ); }
			if( strcmp( key , "pArmor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pArmor] = floatstr( val ); }
			if( strcmp( key , "pSHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSHealth] = floatstr( val ); }
			//if( strcmp( key , "pSArmor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSArmor] = floatstr( val ); }
			if( strcmp( key , "Int" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pInt] = strval( val ); }
			if( strcmp( key , "Local" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLocal] = strval( val ); }
			if( strcmp( key , "VirtualWorld" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pVW] = strval( val ); }
			if( strcmp( key , "HouseInvite" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHouseInvite] = strval( val ); }
			if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pModel] = strval( val ); }
			if( strcmp( key , "Clothes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pClothes] = strval( val ); }
			if( strcmp( key , "PhoneNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPnumber] = strval( val ); }
   			if( strcmp( key , "Bizz" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPbiskey] = strval( val ); }
			if( strcmp( key , "BizKey" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBizKey] = strval( val ); }
			if( strcmp( key , "InHouse" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pInHouse] = strval( val ); }
			if( strcmp( key , "InBiz" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pInBiz] = strval( val ); }
			if( strcmp( key , "Products" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pProducts] = strval( val ); }
			if( strcmp( key , "Apartment" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPhousekey] = strval( val ); }
			if( strcmp( key , "Apartment2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPhousekey2] = strval( val ); }
			if( strcmp( key , "Renting" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRenting] = strval( val ); }
			if( strcmp( key , "CarLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCarLic] = strval( val ); }
			if( strcmp( key , "FlyLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFlyLic] = strval( val ); }
			if( strcmp( key , "BoatLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBoatLic] = strval( val ); }
			if( strcmp( key , "GunLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGunLic] = strval( val ); }
			new string[128];
			for(new s = 0; s < 12; s++)
			{
				format(string, 128, "Gun%d", s);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGuns][s] = strval( val ); }
			}
			if( strcmp( key , "CarTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCarTime] = strval( val ); }
			if( strcmp( key , "DrugsTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDrugsTime] = strval( val ); }
			if( strcmp( key , "LawyerTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLawyerTime] = strval( val ); }
			if( strcmp( key , "LawyerFreeTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLawyerFreeTime] = strval( val ); }
			if( strcmp( key , "MechTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMechTime] = strval( val ); }
			if( strcmp( key , "SexTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSexTime] = strval( val ); }
			if( strcmp( key , "PayDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPayDay] = strval( val ); }
			if( strcmp( key , "PayDayHad" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPayDayHad] = strval( val ); }
			if( strcmp( key , "CDPlayer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCDPlayer] = strval( val ); }
			if( strcmp( key , "Dice" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDice] = strval( val ); }
			if( strcmp( key , "Spraycan" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSpraycan] = strval( val ); }
			if( strcmp( key , "Rope" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRope] = strval( val ); }
			if( strcmp( key , "Cigars" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCigar] = strval( val ); }
			if( strcmp( key , "Sprunk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSprunk] = strval( val ); }
			if( strcmp( key , "Mask" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMask] = strval( val ); }
			if( strcmp( key , "Ticket" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTicket] = strval( val ); }
			if( strcmp( key , "Bombs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBombs] = strval( val ); }
			if( strcmp( key , "Wins" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWins] = strval( val ); }
			if( strcmp( key , "Loses" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLoses] = strval( val ); }
			if( strcmp( key , "Tutorial" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTut] = strval( val ); }
			if( strcmp( key , "OnDuty" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDuty] = strval( val ); }
			if( strcmp( key , "Hospital" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHospital] = strval( val ); }
			if( strcmp( key , "Adjustable" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAdjustable] = strval( val ); }
			if( strcmp( key , "Married" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pMarried] = strval( val ); }
			if( strcmp( key , "MarriedTo" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pMarriedTo], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "ContractBy" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pContractBy], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "ContractDetail" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pContractDetail], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "IP" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pIP], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "WantedLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWantedLevel] = strval( val ); }
			if( strcmp( key , "Insurance" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pInsurance] = strval( val ); }
			if( strcmp( key , "NewMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pNMute] = strval( val ); }
			if( strcmp( key , "NewMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pNMuteTotal] = strval( val ); }
			if( strcmp( key , "AdMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pADMute] = strval( val ); }
			if( strcmp( key , "AdMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pADMuteTotal] = strval( val ); }
			if( strcmp( key , "HelpMute" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHelpMute] = strval( val ); }
			/*if( strcmp( key , "Warrant" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRoadblock] = strval( val ); }
			if( strcmp( key , "Helper" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHelper] = strval( val ); }
			if( strcmp( key , "Interor" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pInterior] = strval( val ); }
			if( strcmp( key , "playerrob" , true ) == 0 ) { val = ini_GetValue( Data ); playerrob[MAX_PLAYERS] = strval( val ); }
			if( strcmp( key , "felon" , true ) == 0 ) { val = ini_GetValue( Data ); felon[MAX_PLAYERS] = strval( val ); }
			if( strcmp( key , "StreetRep" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pStreetRep] = strval( val ); }
			if( strcmp( key , "RepHandOut" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRepHandOut] = strval( val ); }*/
			if( strcmp( key , "SPos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPos_x] = floatstr( val ); }
			if( strcmp( key , "SPos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPos_y] = floatstr( val ); }
			if( strcmp( key , "SPos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPos_z] = floatstr( val ); }
			if( strcmp( key , "SPos_r" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPos_r] = floatstr( val ); }
			if( strcmp( key , "ReportMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRMuted] = strval( val ); }
			if( strcmp( key , "ReportMutedTotal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRMutedTotal] = strval( val ); }
			if( strcmp( key , "ReportMutedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRMutedTime] = strval( val ); }
			if( strcmp( key , "VIPMuted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pVMuted] = strval( val ); }
			if( strcmp( key , "VIPMutedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pVMutedTime] = strval( val ); }
			if( strcmp( key , "GiftTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGiftTime] = strval( val ); }
			if( strcmp( key , "ModeratorDutyHours" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDutyHours] = strval( val ); }
			if( strcmp( key , "AcceptedHelp" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAcceptedHelp] = strval( val ); }
			if( strcmp( key , "AcceptReport" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pAcceptReport] = strval( val ); }
			if( strcmp( key , "TrashReport" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTrashReport] = strval( val ); }
			if( strcmp( key , "FactionModerator" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFactionModerator] = strval( val ); }
			if( strcmp( key , "GangModerator" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGangModerator] = strval( val ); }
			if( strcmp( key , "GangWarn" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGangWarn] = strval( val ); }
			if( strcmp( key , "FactionBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFactionBanned] = strval( val ); }
			if( strcmp( key , "CSFBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCSFBanned] = strval( val ); printf("[DEBUG] CSFBanned: %d", PlayerInfo[MAX_PLAYERS][pCSFBanned]); }
			new v = 0;
			//printf("[DEBUG] v (%d)", v);
			format(string, 128, "pv%dPosX",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX] = floatstr( val ); }
			format(string, 128, "pv%dPosY",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY] = floatstr( val ); }
			format(string, 128, "pv%dPosZ",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ] = floatstr( val ); }
			format(string, 128, "pv%dPosAngle",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle] = floatstr( val ); }
			format(string, 128, "pv%dModelId",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId] = strval( val ); }
			format(string, 128, "pv%dLock",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLock] = strval( val ); }
			format(string, 128, "pv%dLocked",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked] = strval( val ); }
			format(string, 128, "pv%dPaintJob",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob] = strval( val ); }
			format(string, 128, "pv%dColor1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1] = strval( val ); }
			format(string, 128, "pv%dColor2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2] = strval( val ); }
			format(string, 128, "pv%dPrice",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice] = strval( val ); }
			format(string, 128, "pv%dTicket",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket] = strval( val ); }
			format(string, 128, "pv%dWeapon0",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0] = strval( val ); }
			format(string, 128, "pv%dWeapon1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1] = strval( val ); }
			format(string, 128, "pv%dWeapon2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2] = strval( val ); }
			format(string, 128, "pv%dWepUpgrade",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade] = strval( val ); }
			format(string, 128, "pv%dFuel",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel] = floatstr( val ); }
			format(string, 128, "pv%dImpound",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded] = strval( val ); }
			format(string, 128, "pv%dNumPlate",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate], Data, 32); }
			for(new m = 0; m < MAX_MODS; m++)
			{
				format(string, 128, "pv%dMod%d", v, m);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m] = strval( val ); }
			}
			//format(string, 128, "pv%dAllowedPlayer",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }
			v = 1;
			format(string, 128, "pv%dPosX",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX] = floatstr( val ); }
			format(string, 128, "pv%dPosY",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY] = floatstr( val ); }
			format(string, 128, "pv%dPosZ",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ] = floatstr( val ); }
			format(string, 128, "pv%dPosAngle",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle] = floatstr( val ); }
			format(string, 128, "pv%dModelId",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId] = strval( val ); }
			format(string, 128, "pv%dLock",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLock] = strval( val ); }
			format(string, 128, "pv%dLocked",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked] = strval( val ); }
			format(string, 128, "pv%dPaintJob",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob] = strval( val ); }
			format(string, 128, "pv%dColor1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1] = strval( val ); }
			format(string, 128, "pv%dColor2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2] = strval( val ); }
			format(string, 128, "pv%dPrice",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice] = strval( val ); }
			format(string, 128, "pv%dTicket",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket] = strval( val ); }
			format(string, 128, "pv%dWeapon0",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0] = strval( val ); }
			format(string, 128, "pv%dWeapon1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1] = strval( val ); }
			format(string, 128, "pv%dWeapon2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2] = strval( val ); }
			format(string, 128, "pv%dWepUpgrade",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade] = strval( val ); }
			format(string, 128, "pv%dFuel",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel] = floatstr( val ); }
			format(string, 128, "pv%dImpound",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded] = strval( val ); }
			format(string, 128, "pv%dNumPlate",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate], Data, 32); }
			for(new m = 0; m < MAX_MODS; m++)
			{
				format(string, 128, "pv%dMod%d", v, m);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m] = strval( val ); }
			}
			//format(string, 128, "pv%dAllowedPlayer",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }+
			v = 2;
			format(string, 128, "pv%dPosX",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX] = floatstr( val ); }
			format(string, 128, "pv%dPosY",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY] = floatstr( val ); }
			format(string, 128, "pv%dPosZ",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ] = floatstr( val ); }
			format(string, 128, "pv%dPosAngle",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle] = floatstr( val ); }
			format(string, 128, "pv%dModelId",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId] = strval( val ); }
			format(string, 128, "pv%dLock",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLock] = strval( val ); }
			format(string, 128, "pv%dLocked",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked] = strval( val ); }
			format(string, 128, "pv%dPaintJob",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob] = strval( val ); }
			format(string, 128, "pv%dColor1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1] = strval( val ); }
			format(string, 128, "pv%dColor2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2] = strval( val ); }
			format(string, 128, "pv%dPrice",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice] = strval( val ); }
			format(string, 128, "pv%dTicket",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket] = strval( val ); }
			format(string, 128, "pv%dWeapon0",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0] = strval( val ); }
			format(string, 128, "pv%dWeapon1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1] = strval( val ); }
			format(string, 128, "pv%dWeapon2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2] = strval( val ); }
			format(string, 128, "pv%dWepUpgrade",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade] = strval( val ); }
			format(string, 128, "pv%dFuel",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel] = floatstr( val ); }
			format(string, 128, "pv%dImpound",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded] = strval( val ); }
			format(string, 128, "pv%dNumPlate",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate], Data, 32); }
			for(new m = 0; m < MAX_MODS; m++)
			{
				format(string, 128, "pv%dMod%d", v, m);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m] = strval( val ); }
			}
			//format(string, 128, "pv%dAllowedPlayer",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }
			v = 3;
			format(string, 128, "pv%dPosX",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX] = floatstr( val ); }
			format(string, 128, "pv%dPosY",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY] = floatstr( val ); }
			format(string, 128, "pv%dPosZ",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ] = floatstr( val ); }
			format(string, 128, "pv%dPosAngle",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle] = floatstr( val ); }
			format(string, 128, "pv%dModelId",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId] = strval( val ); }
			format(string, 128, "pv%dLock",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLock] = strval( val ); }
			format(string, 128, "pv%dLocked",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked] = strval( val ); }
			format(string, 128, "pv%dPaintJob",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob] = strval( val ); }
			format(string, 128, "pv%dColor1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1] = strval( val ); }
			format(string, 128, "pv%dColor2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2] = strval( val ); }
			format(string, 128, "pv%dPrice",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice] = strval( val ); }
			format(string, 128, "pv%dTicket",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket] = strval( val ); }
			format(string, 128, "pv%dWeapon0",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0] = strval( val ); }
			format(string, 128, "pv%dWeapon1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1] = strval( val ); }
			format(string, 128, "pv%dWeapon2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2] = strval( val ); }
			format(string, 128, "pv%dWepUpgrade",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade] = strval( val ); }
			format(string, 128, "pv%dFuel",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel] = floatstr( val ); }
			format(string, 128, "pv%dImpound",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded] = strval( val ); }
			format(string, 128, "pv%dNumPlate",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate], Data, 32); }
			for(new m = 0; m < MAX_MODS; m++)
			{
				format(string, 128, "pv%dMod%d", v, m);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m] = strval( val ); }
			}
			//format(string, 128, "pv%dAllowedPlayer",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }
			v = 4;
			format(string, 128, "pv%dPosX",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX] = floatstr( val ); }
			format(string, 128, "pv%dPosY",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY] = floatstr( val ); }
			format(string, 128, "pv%dPosZ",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ] = floatstr( val ); }
			format(string, 128, "pv%dPosAngle",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle] = floatstr( val ); }
			format(string, 128, "pv%dModelId",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId] = strval( val ); }
			format(string, 128, "pv%dLock",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLock] = strval( val ); }
			format(string, 128, "pv%dLocked",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked] = strval( val ); }
			format(string, 128, "pv%dPaintJob",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob] = strval( val ); }
			format(string, 128, "pv%dColor1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1] = strval( val ); }
			format(string, 128, "pv%dColor2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2] = strval( val ); }
			format(string, 128, "pv%dPrice",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice] = strval( val ); }
			format(string, 128, "pv%dTicket",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket] = strval( val ); }
			format(string, 128, "pv%dWeapon0",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0] = strval( val ); }
			format(string, 128, "pv%dWeapon1",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1] = strval( val ); }
			format(string, 128, "pv%dWeapon2",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2] = strval( val ); }
			format(string, 128, "pv%dWepUpgrade",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade] = strval( val ); }
			format(string, 128, "pv%dFuel",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel] = floatstr( val ); }
			format(string, 128, "pv%dImpound",v);
			if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded] = strval( val ); }
			format(string, 128, "pv%dNumPlate",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strcpy(PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate], Data, 32); }
			for(new m = 0; m < MAX_MODS; m++)
			{
				format(string, 128, "pv%dMod%d", v, m);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m] = strval( val ); }
			}
			for(new t = 0; t < MAX_PLAYERTOYS; t++)
			{
				format(string, 128, "pt%dModelID",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptModelID] = strval( val ); }
				format(string, 128, "pt%dBone",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptBone] = strval( val ); }
				format(string, 128, "pt%dPosX",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptPosX] = floatstr( val ); }
				format(string, 128, "pt%dPosY",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptPosY] = floatstr( val ); }
				format(string, 128, "pt%dPosZ",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptPosZ] = floatstr( val ); }
				format(string, 128, "pt%dRotX",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptRotX] = floatstr( val ); }
				format(string, 128, "pt%dRotY",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptRotY] = floatstr( val ); }
				format(string, 128, "pt%dRotZ",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptRotZ] = floatstr( val ); }
				format(string, 128, "pt%dScaleX",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptScaleX] = floatstr( val ); }
				format(string, 128, "pt%dScaleY",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptScaleY] = floatstr( val ); }
				format(string, 128, "pt%dScaleZ",t);
				if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerToyInfo[MAX_PLAYERS][t][ptScaleZ] = floatstr( val ); }
			}
			//format(string, 128, "pv%dAllowedPlayer",v);
			//if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "VIPInviteDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pVIPInviteDay] = strval( val ); }
			if( strcmp( key , "TempVIP" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTempVIP] = strval( val ); }
			if( strcmp( key , "BuddyInvite" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBuddyInvited] = strval( val ); }
			if( strcmp( key , "Tokens" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTokens] = strval( val ); }
			if( strcmp( key , "PTokens" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPaintTokens] = strval( val ); }
			if( strcmp( key , "TriageTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTriageTime] = strval( val ); }
			if( strcmp( key, "PrisonReason", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pPrisonReason], val, 0, strlen(val)-1, 255); }
			if( strcmp( key, "PrisonedBy", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pPrisonedBy], val, 0, strlen(val)-1, 255); }
			if( strcmp( key, "Flag", true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pFlag], val, 0, strlen(val)-1, 255); }
			if( strcmp( key, "TaxiLicense" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTaxiLicense] = strval( val ); }
			if( strcmp( key , "TicketTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTicketTime] = strval( val ); }
			if( strcmp( key , "Screwdriver" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pScrewdriver] = strval( val ); }
			if( strcmp( key , "Smslog" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSmslog] = strval( val ); }
			if( strcmp( key , "Wristwatch" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWristwatch] = strval( val ); }
			if( strcmp( key , "Surveillance" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSurveillance] = strval( val ); }
			if( strcmp( key , "Tire" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pTire] = strval( val ); }
			if( strcmp( key , "Firstaid" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFirstaid] = strval( val ); }
			if( strcmp( key , "Rccam" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRccam] = strval( val ); }
			if( strcmp( key , "Receiver" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pReceiver] = strval( val ); }
			if( strcmp( key , "GPS" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pGPS] = strval( val ); }
			if( strcmp( key , "Sweep" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSweep] = strval( val ); }
			if( strcmp( key , "SweepLeft" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pSweepLeft] = strval( val ); }
			if( strcmp( key , "Smslog0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog0], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog1], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog2], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog3], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog4], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog5], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog6], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog7], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog8], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Smslog9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pSmslog9], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog0], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog1], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog2], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog3], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog4], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog5], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog6], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog7], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog8], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "KillLog9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pKillLog9], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "pWExists" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWExists] = strval( val ); }
			if( strcmp( key , "pWX" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWX] = floatstr( val ); }
			if( strcmp( key , "pWY" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWY] = floatstr( val ); }
			if( strcmp( key , "pWZ" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWZ] = floatstr( val ); }
			if( strcmp( key , "pWVW" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWVW] = strval( val ); }
			if( strcmp( key , "pWInt" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWInt] = strval( val ); }
			if( strcmp( key , "pWValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWValue] = strval( val ); }
			if( strcmp( key , "pWSeeds" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pWSeeds] = strval( val ); }
			if( strcmp( key , "Warrants" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pWarrant], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "JudgeJailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJudgeJailTime] = strval( val ); }
			if( strcmp( key , "JudgeJailType" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pJudgeJailType] = strval( val ); }
			if( strcmp( key , "BeingSentenced" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBeingSentenced] = strval( val ); }
			if( strcmp( key , "ProbationTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pProbationTime] = strval( val ); }
			if( strcmp( key , "DMIndicators" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDMIndicators] = strval( val ); }
			if( strcmp( key , "DMKills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDMKills] = strval( val ); }
			if( strcmp( key , "DMReport0" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport0], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport1], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport2], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport3], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport4], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport5], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport6], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport7], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport8], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "DMReport9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[MAX_PLAYERS][pDMReport9], val, 0, strlen(val)-1, 255); }
			if( strcmp( key , "Order" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pOrder] = strval( val ); }
			if( strcmp( key , "OBlocked" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pOBlocked] = strval( val ); }
			if( strcmp( key , "CallsAccepted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pCallsAccepted] = strval( val ); }
			if( strcmp( key , "PatientsDelivered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pPatientsDelivered] = strval( val ); }
			if( strcmp( key , "LiveBanned" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pLiveBanned] = strval( val ); }
			if( strcmp( key , "FreezeBank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFreezeBank] = strval( val ); }
			if( strcmp( key , "Firework" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pFirework] = strval( val ); }
			if( strcmp( key , "Hydration" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pHydration] = strval( val ); }
			if( strcmp( key , "DoubleEXP" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pDoubleEXP] = strval( val ); }
			if( strcmp( key , "EXPToken" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pEXPToken] = strval( val ); }
			if( strcmp( key , "RacePlayerLaps" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pRacePlayerLaps] = strval( val ); }
			if( strcmp( key , "BT" , true ) == 0 ) { val = ini_GetValue( Data ); BT[MAX_PLAYERS-1] = strval( val ); }
			if( strcmp( key , "GD" , true ) == 0 ) { val = ini_GetValue( Data ); GD[MAX_PLAYERS-1] = strval( val ); }
			if( strcmp( key , "WS" , true ) == 0 ) { val = ini_GetValue( Data ); SetPlayerWalkingStyle(MAX_PLAYERS-1,strval( val )); }
			if( strcmp( key , "Business" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pBiz] = strval( val ); }
			if( strcmp( key , "VBusiness" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[MAX_PLAYERS][pVBiz] = strval( val ); }
			}//end while
		fclose(UserFile);//close the file after everything has been read in the while
	}
	//printf("[DEBUG] OnPlayerOfflineLogin has completed processing file '%s'", playername);
}
public OnPlayerOfflineSave(playername[])
{
	new string3[32];
	//GetPlayerName(MAX_PLAYERS, playername, MAX_PLAYER_NAME);
	format(string3, sizeof(string3), "users/%s.ini", playername);
	new File: hFile = fopen(string3, io_write);
	if (hFile)
	{
		new var[156];
		format(var, 32, "Key=%s\n", PlayerInfo[MAX_PLAYERS][pKey]);fwrite(hFile, var);
		format(var, 32, "Level=%d\n",PlayerInfo[MAX_PLAYERS][pLevel]);fwrite(hFile, var);
		format(var, 32, "AdminLevel=%d\n",PlayerInfo[MAX_PLAYERS][pAdmin]);fwrite(hFile, var);
		format(var, 32, "Band=%d\n",PlayerInfo[MAX_PLAYERS][pBanned]);fwrite(hFile, var);
		format(var, 32, "PermBand=%d\n",PlayerInfo[MAX_PLAYERS][pPermaBanned]);fwrite(hFile, var);
		format(var, 32, "Warnings=%d\n",PlayerInfo[MAX_PLAYERS][pWarns]);fwrite(hFile, var);
		format(var, 32, "Disabled=%d\n",PlayerInfo[MAX_PLAYERS][pDisabled]);fwrite(hFile, var);
		format(var, 32, "DonateRank=%d\n",PlayerInfo[MAX_PLAYERS][pDonateRank]);fwrite(hFile, var);
		format(var, 32, "BanAppealer=%d\n",PlayerInfo[MAX_PLAYERS][pBanAppealer]);fwrite(hFile, var);
		format(var, 32, "ShopTech=%d\n",PlayerInfo[MAX_PLAYERS][pShopTech]);fwrite(hFile, var);
		format(var, 32, "Undercover=%d\n",PlayerInfo[MAX_PLAYERS][pUndercover]);fwrite(hFile, var);
		format(var, 32, "TogReports=%d\n",PlayerInfo[MAX_PLAYERS][pTogReports]);fwrite(hFile, var);
		format(var, 32, "Radio=%d\n",PlayerInfo[MAX_PLAYERS][pRadio]);fwrite(hFile, var);
		format(var, 32, "RadioFreq=%d\n",PlayerInfo[MAX_PLAYERS][pRadioFreq]);fwrite(hFile, var);
		format(var, 32, "UpgradePoints=%d\n",PlayerInfo[MAX_PLAYERS][gPupgrade]);fwrite(hFile, var);
		format(var, 32, "ConnectedTime=%d\n",PlayerInfo[MAX_PLAYERS][pConnectTime]);fwrite(hFile, var);
		format(var, 32, "Registered=%d\n",PlayerInfo[MAX_PLAYERS][pReg]);fwrite(hFile, var);
		format(var, 32, "Sex=%d\n",PlayerInfo[MAX_PLAYERS][pSex]);fwrite(hFile, var);
		format(var, 32, "Boombox=%d\n",PlayerInfo[MAX_PLAYERS][pbuyBoombox]);fwrite(hFile, var);
		format(var, 32, "AlreadyBoombox=%d\n",PlayerInfo[MAX_PLAYERS][pAlreadyBoombox]);fwrite(hFile, var);
		format(var, 32, "BoomboxX=%.1f\n",GetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_X"));fwrite(hFile, var);
		format(var, 32, "BoomboxY=%.1f\n",GetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_Y"));fwrite(hFile, var);
		format(var, 32, "BoomboxZ=%.1f\n",GetPVarFloat(MAX_PLAYERS, "DYN_Boombox_FLOAT_Z"));fwrite(hFile, var);
		format(var, 32, "Age=%d\n",PlayerInfo[MAX_PLAYERS][pAge]);fwrite(hFile, var);
		format(var, 32, "Origin=%d\n",PlayerInfo[MAX_PLAYERS][pOrigin]);fwrite(hFile, var);
		format(var, 32, "Muted=%d\n",PlayerInfo[MAX_PLAYERS][pMuted]);fwrite(hFile, var);
		format(var, 32, "Respect=%d\n",PlayerInfo[MAX_PLAYERS][pExp]);fwrite(hFile, var);
		format(var, 32, "Money=%d\n",PlayerInfo[MAX_PLAYERS][pCash]);fwrite(hFile, var);
		format(var, 32, "Bank=%d\n",PlayerInfo[MAX_PLAYERS][pAccount]);fwrite(hFile, var);
		format(var, 32, "Crimes=%d\n",PlayerInfo[MAX_PLAYERS][pCrimes]);fwrite(hFile, var);
		format(var, 32, "Accent=%d\n",PlayerInfo[MAX_PLAYERS][pAccent]);fwrite(hFile, var);
		format(var, 32, "CHits=%d\n",PlayerInfo[MAX_PLAYERS][pCHits]);fwrite(hFile, var);
		format(var, 32, "FHits=%d\n",PlayerInfo[MAX_PLAYERS][pFHits]);fwrite(hFile, var);
		format(var, 32, "Arrested=%d\n",PlayerInfo[MAX_PLAYERS][pArrested]);fwrite(hFile, var);
		format(var, 32, "Phonebook=%d\n",PlayerInfo[MAX_PLAYERS][pPhoneBook]);fwrite(hFile, var);
		format(var, 32, "Suitcase=%d\n",PlayerInfo[MAX_PLAYERS][pSuitcase]);fwrite(hFile, var);
		format(var, 32, "Crowbar=%d\n",PlayerInfo[MAX_PLAYERS][pCrowbar]);fwrite(hFile, var);
		format(var, 32, "Suitcasecash=%d\n",PlayerInfo[MAX_PLAYERS][pSuitcasecash]);fwrite(hFile, var);
		format(var, 32, "Suitcasecrack=%d\n",PlayerInfo[MAX_PLAYERS][pSuitcasecrack]);fwrite(hFile, var);
		format(var, 32, "Suitcasepot=%d\n",PlayerInfo[MAX_PLAYERS][pSuitcasepot]);fwrite(hFile, var);
		format(var, 32, "Suitcasemats=%d\n",PlayerInfo[MAX_PLAYERS][pSuitcasemats]);fwrite(hFile, var);
		format(var, 32, "LottoNr=%d\n",PlayerInfo[MAX_PLAYERS][pLottoNr]);fwrite(hFile, var);
		format(var, 32, "Fishes=%d\n",PlayerInfo[MAX_PLAYERS][pFishes]);fwrite(hFile, var);
		format(var, 32, "BiggestFish=%d\n",PlayerInfo[MAX_PLAYERS][pBiggestFish]);fwrite(hFile, var);
		format(var, 32, "Job=%d\n",PlayerInfo[MAX_PLAYERS][pJob]);fwrite(hFile, var);
		format(var, 32, "Job2=%d\n",PlayerInfo[MAX_PLAYERS][pJob2]);fwrite(hFile, var);
		format(var, 32, "Paycheck=%d\n",PlayerInfo[MAX_PLAYERS][pPayCheck]);fwrite(hFile, var);
		format(var, 32, "HeadValue=%d\n",PlayerInfo[MAX_PLAYERS][pHeadValue]);fwrite(hFile, var);
		format(var, 32, "Jailed=%d\n",PlayerInfo[MAX_PLAYERS][pJailed]);fwrite(hFile, var);
		format(var, 32, "JailTime=%d\n",PlayerInfo[MAX_PLAYERS][pJailTime]);fwrite(hFile, var);
		format(var, 32, "WRestricted=%d\n",PlayerInfo[MAX_PLAYERS][pWRestricted]);fwrite(hFile, var);
		format(var, 32, "Materials=%d\n",PlayerInfo[MAX_PLAYERS][pMats]);fwrite(hFile, var);
		format(var, 32, "Packages=%d\n",PlayerInfo[MAX_PLAYERS][pPackages]);fwrite(hFile, var);
		format(var, 32, "Crates=%d\n",PlayerInfo[MAX_PLAYERS][pCrates]);fwrite(hFile, var);
		format(var, 32, "Pot=%d\n",PlayerInfo[MAX_PLAYERS][pPot]);fwrite(hFile, var);
		format(var, 32, "Crack=%d\n",PlayerInfo[MAX_PLAYERS][pCrack]);fwrite(hFile, var);
		format(var, 32, "Leader=%d\n",PlayerInfo[MAX_PLAYERS][pLeader]);fwrite(hFile, var);
		format(var, 32, "Member=%d\n",PlayerInfo[MAX_PLAYERS][pMember]);fwrite(hFile, var);
		format(var, 32, "Division=%d\n",PlayerInfo[MAX_PLAYERS][pDivision]);fwrite(hFile, var);
		format(var, 32, "FMember=%d\n",PlayerInfo[MAX_PLAYERS][pFMember]);fwrite(hFile, var);
		format(var, 32, "Rank=%d\n",PlayerInfo[MAX_PLAYERS][pRank]);fwrite(hFile, var);
		format(var, 32, "DetSkill=%d\n",PlayerInfo[MAX_PLAYERS][pDetSkill]);fwrite(hFile, var);
		format(var, 32, "SexSkill=%d\n",PlayerInfo[MAX_PLAYERS][pSexSkill]);fwrite(hFile, var);
		format(var, 32, "BoxSkill=%d\n",PlayerInfo[MAX_PLAYERS][pBoxSkill]);fwrite(hFile, var);
		format(var, 32, "LawSkill=%d\n",PlayerInfo[MAX_PLAYERS][pLawSkill]);fwrite(hFile, var);
		format(var, 32, "MechSkill=%d\n",PlayerInfo[MAX_PLAYERS][pMechSkill]);fwrite(hFile, var);
		format(var, 32, "JackSkill=%d\n",PlayerInfo[MAX_PLAYERS][pJackSkill]);fwrite(hFile, var);
		format(var, 32, "CarSkill=%d\n",PlayerInfo[MAX_PLAYERS][pCarSkill]);fwrite(hFile, var);
		format(var, 32, "TruckSkill=%d\n",PlayerInfo[MAX_PLAYERS][pTruckSkill]);fwrite(hFile, var);
		format(var, 32, "NewsSkill=%d\n",PlayerInfo[MAX_PLAYERS][pNewsSkill]);fwrite(hFile, var);
		format(var, 32, "DrugsSkill=%d\n",PlayerInfo[MAX_PLAYERS][pDrugsSkill]);fwrite(hFile, var);
		format(var, 32, "ArmsSkill=%d\n",PlayerInfo[MAX_PLAYERS][pArmsSkill]);fwrite(hFile, var);
		format(var, 32, "SmugglerSkill=%d\n",PlayerInfo[MAX_PLAYERS][pSmugSkill]);fwrite(hFile, var);
		format(var, 32, "FishSkill=%d\n",PlayerInfo[MAX_PLAYERS][pFishSkill]);fwrite(hFile, var);
		format(var, 32, "FightingStyle=%d\n",PlayerInfo[MAX_PLAYERS][pFightStyle]);fwrite(hFile, var);
		GetPlayerHealth(MAX_PLAYERS,PlayerInfo[MAX_PLAYERS][pHealth]);
		format(var, 32, "pHealth=%.1f\n",PlayerInfo[MAX_PLAYERS][pHealth]);fwrite(hFile, var);
		GetPlayerArmour(MAX_PLAYERS,PlayerInfo[MAX_PLAYERS][pArmor]);
		format(var, 32, "pArmor=%.1f\n",PlayerInfo[MAX_PLAYERS][pArmor]);fwrite(hFile, var);
		format(var, 32, "pSHealth=%.1f\n",PlayerInfo[MAX_PLAYERS][pSHealth]);fwrite(hFile, var);
		//format(var, 32, "pSArmor=%.1f\n",PlayerInfo[MAX_PLAYERS][pSArmor]);fwrite(hFile, var);
		format(var, 32, "Int=%d\n",PlayerInfo[MAX_PLAYERS][pInt]);fwrite(hFile, var);
		format(var, 32, "Local=%d\n",PlayerInfo[MAX_PLAYERS][pLocal]);fwrite(hFile, var);
		format(var, 32, "VirtualWorld=%d\n",PlayerInfo[MAX_PLAYERS][pVW]);fwrite(hFile, var);
		format(var, 32, "HouseInvite=%d\n",PlayerInfo[MAX_PLAYERS][pHouseInvite]);fwrite(hFile, var);
		format(var, 32, "Model=%d\n",PlayerInfo[MAX_PLAYERS][pModel]);fwrite(hFile, var);
		format(var, 32, "Clothes=%d\n",PlayerInfo[MAX_PLAYERS][pClothes]);fwrite(hFile, var);
		format(var, 32, "PhoneNr=%d\n",PlayerInfo[MAX_PLAYERS][pPnumber]);fwrite(hFile, var);
		format(var, 32, "Bizz=%d\n",PlayerInfo[MAX_PLAYERS][pPbiskey]);fwrite(hFile, var);
		format(var, 32, "Bizz=%d\n",PlayerInfo[MAX_PLAYERS][pPbiskey]);fwrite(hFile, var);
		format(var, 32, "BizKey=%d\n",PlayerInfo[MAX_PLAYERS][pBizKey]);fwrite(hFile, var);
		format(var, 32, "InHouse=%d\n",PlayerInfo[MAX_PLAYERS][pInHouse]);fwrite(hFile, var);
		format(var, 32, "InBiz=%d\n",PlayerInfo[MAX_PLAYERS][pInBiz]);fwrite(hFile, var);
		format(var, 32, "Products=%d\n",PlayerInfo[MAX_PLAYERS][pProducts]);fwrite(hFile, var);
		format(var, 32, "Apartment=%d\n",PlayerInfo[MAX_PLAYERS][pPhousekey]);fwrite(hFile, var);
		format(var, 32, "Apartment2=%d\n",PlayerInfo[MAX_PLAYERS][pPhousekey2]);fwrite(hFile, var);
		format(var, 32, "Renting=%d\n",PlayerInfo[MAX_PLAYERS][pRenting]);fwrite(hFile, var);
		format(var, 32, "Vehicles=%d\n",PlayerInfo[MAX_PLAYERS][pVehicles]);fwrite(hFile, var);
		format(var, 32, "VehFile=%d\n",PlayerInfo[MAX_PLAYERS][pVehFile]);fwrite(hFile, var);
		format(var, 32, "VehActive=%d\n",PlayerInfo[MAX_PLAYERS][pVehActive]);fwrite(hFile, var);
		format(var, 32, "Type1=%d\n",PlayerInfo[MAX_PLAYERS][pType1]);fwrite(hFile, var);
		format(var, 32, "Type2=%d\n",PlayerInfo[MAX_PLAYERS][pType2]);fwrite(hFile, var);
		format(var, 32, "Type3=%d\n",PlayerInfo[MAX_PLAYERS][pType3]);fwrite(hFile, var);
		format(var, 32, "Type4=%d\n",PlayerInfo[MAX_PLAYERS][pType4]);fwrite(hFile, var);
		format(var, 32, "Type5=%d\n",PlayerInfo[MAX_PLAYERS][pType5]);fwrite(hFile, var);
		format(var, 32, "CarLic=%d\n",PlayerInfo[MAX_PLAYERS][pCarLic]);fwrite(hFile, var);
		format(var, 32, "FlyLic=%d\n",PlayerInfo[MAX_PLAYERS][pFlyLic]);fwrite(hFile, var);
		format(var, 32, "BoatLic=%d\n",PlayerInfo[MAX_PLAYERS][pBoatLic]);fwrite(hFile, var);
		format(var, 32, "FishLic=%d\n",PlayerInfo[MAX_PLAYERS][pFishLic]);fwrite(hFile, var);
		//format(var, 32, "MInsure=%d\n",PlayerInfo[MAX_PLAYERS][pMInsure]);fwrite(hFile, var);
		format(var, 32, "GunLic=%d\n",PlayerInfo[MAX_PLAYERS][pGunLic]);fwrite(hFile, var);
		for(new s = 0; s < 12; s++)
		{
			format(var, 32, "Gun%d=%d\n", s, PlayerInfo[MAX_PLAYERS][pGuns][s]);fwrite(hFile, var);
		}
		format(var, 32, "CarTime=%d\n",PlayerInfo[MAX_PLAYERS][pCarTime]);fwrite(hFile, var);
		format(var, 32, "DrugsTime=%d\n",PlayerInfo[MAX_PLAYERS][pDrugsTime]);fwrite(hFile, var);
		format(var, 32, "LawyerTime=%d\n",PlayerInfo[MAX_PLAYERS][pLawyerTime]);fwrite(hFile, var);
		format(var, 32, "LawyerFreeTime=%d\n",PlayerInfo[MAX_PLAYERS][pLawyerFreeTime]);fwrite(hFile, var);
		format(var, 32, "MechTime=%d\n",PlayerInfo[MAX_PLAYERS][pMechTime]);fwrite(hFile, var);
		format(var, 32, "SexTime=%d\n",PlayerInfo[MAX_PLAYERS][pSexTime]);fwrite(hFile, var);
		format(var, 32, "PayDay=%d\n",PlayerInfo[MAX_PLAYERS][pPayDay]);fwrite(hFile, var);
		format(var, 32, "PayDayHad=%d\n",PlayerInfo[MAX_PLAYERS][pPayDayHad]);fwrite(hFile, var);
		format(var, 32, "CDPlayer=%d\n",PlayerInfo[MAX_PLAYERS][pCDPlayer]);fwrite(hFile, var);
		format(var, 32, "Dice=%d\n",PlayerInfo[MAX_PLAYERS][pDice]);fwrite(hFile, var);
		format(var, 32, "Spraycan=%d\n",PlayerInfo[MAX_PLAYERS][pSpraycan]);fwrite(hFile, var);
		format(var, 32, "Rope=%d\n",PlayerInfo[MAX_PLAYERS][pRope]);fwrite(hFile, var);
		format(var, 32, "Cigars=%d\n",PlayerInfo[MAX_PLAYERS][pCigar]);fwrite(hFile, var);
		format(var, 32, "Sprunk=%d\n",PlayerInfo[MAX_PLAYERS][pSprunk]);fwrite(hFile, var);
		format(var, 32, "Mask=%d\n", PlayerInfo[MAX_PLAYERS][pMask]);fwrite(hFile, var);
		format(var, 32, "Ticket=%d\n", PlayerInfo[MAX_PLAYERS][pTicket]);fwrite(hFile, var);
		format(var, 32, "Bombs=%d\n",PlayerInfo[MAX_PLAYERS][pBombs]);fwrite(hFile, var);
		format(var, 32, "Wins=%d\n",PlayerInfo[MAX_PLAYERS][pWins]);fwrite(hFile, var);
		format(var, 32, "Loses=%d\n",PlayerInfo[MAX_PLAYERS][pLoses]);fwrite(hFile, var);
		format(var, 32, "Tutorial=%d\n",PlayerInfo[MAX_PLAYERS][pTut]);fwrite(hFile, var);
		format(var, 32, "On‌Duty=%d\n",PlayerInfo[MAX_PLAYERS][pDuty]);fwrite(hFile, var);
		format(var, 32, "Hospital=%d\n",PlayerInfo[MAX_PLAYERS][pHospital]);fwrite(hFile, var);
		format(var, 32, "Adjustable=%d\n",PlayerInfo[MAX_PLAYERS][pAdjustable]);fwrite(hFile, var);
		format(var, 32, "Married=%d\n",PlayerInfo[MAX_PLAYERS][pMarried]);fwrite(hFile, var);
		format(var, 32, "MarriedTo=%s\n",PlayerInfo[MAX_PLAYERS][pMarriedTo]);fwrite(hFile, var);
		format(var, 32, "ContractBy=%s\n",PlayerInfo[MAX_PLAYERS][pContractBy]);fwrite(hFile, var);
		format(var, 64, "ContractDetail=%s\n",PlayerInfo[MAX_PLAYERS][pContractDetail]);fwrite(hFile, var);
		format(var, 32, "IP=%s\n",PlayerInfo[MAX_PLAYERS][pIP]);fwrite(hFile, var);
		format(var, 32, "WantedLevel=%d\n",PlayerInfo[MAX_PLAYERS][pWantedLevel]);fwrite(hFile, var);
		format(var, 32, "Insurance=%d\n",PlayerInfo[MAX_PLAYERS][pInsurance]);fwrite(hFile, var);
		//format(var, 32, "BadgeNumber=%d\n",PlayerInfo[MAX_PLAYERS][pBadgeNumber]);fwrite(hFile, var);
		//format(var, 32, "Warrant=%d\n",PlayerInfo[MAX_PLAYERS][pRoadblock]);fwrite(hFile, var);
		format(var, 32, "NewMuted=%d\n",PlayerInfo[MAX_PLAYERS][pNMute]);fwrite(hFile, var);
		format(var, 32, "NewMutedTotal=%d\n",PlayerInfo[MAX_PLAYERS][pNMuteTotal]);fwrite(hFile, var);
		format(var, 32, "AdMuted=%d\n",PlayerInfo[MAX_PLAYERS][pADMute]);fwrite(hFile, var);
		format(var, 32, "AdMutedTotal=%d\n",PlayerInfo[MAX_PLAYERS][pADMuteTotal]);fwrite(hFile, var);
		format(var, 32, "HelpMute=%d\n",PlayerInfo[MAX_PLAYERS][pHelpMute]);fwrite(hFile, var);
		//format(var, 32, "Helper=%d\n",PlayerInfo[MAX_PLAYERS][pHelper]);fwrite(hFile, var);
		format(var, 32, "SPos_x=%.1f\n",PlayerInfo[MAX_PLAYERS][pPos_x]);fwrite(hFile, var);
		format(var, 32, "SPos_y=%.1f\n",PlayerInfo[MAX_PLAYERS][pPos_y]);fwrite(hFile, var);
		format(var, 32, "SPos_z=%.1f\n",PlayerInfo[MAX_PLAYERS][pPos_z]);fwrite(hFile, var);
		format(var, 32, "SPos_r=%.1f\n",PlayerInfo[MAX_PLAYERS][pPos_r]);fwrite(hFile, var);
		format(var, 32, "ReportMuted=%d\n",PlayerInfo[MAX_PLAYERS][pRMuted]);fwrite(hFile, var);
		format(var, 32, "ReportMutedTotal=%d\n",PlayerInfo[MAX_PLAYERS][pRMutedTotal]);fwrite(hFile, var);
		format(var, 32, "ReportMutedTime=%d\n",PlayerInfo[MAX_PLAYERS][pRMutedTime]);fwrite(hFile, var);
		format(var, 32, "GiftTime=%d\n",PlayerInfo[MAX_PLAYERS][pGiftTime]);fwrite(hFile, var);
		format(var, 32, "ModeratorDutyHours=%d\n",PlayerInfo[MAX_PLAYERS][pDutyHours]);fwrite(hFile, var);
		format(var, 32, "AcceptedHelp=%d\n",PlayerInfo[MAX_PLAYERS][pAcceptedHelp]);fwrite(hFile, var);
		format(var, 32, "AcceptReport=%d\n",PlayerInfo[MAX_PLAYERS][pAcceptReport]);fwrite(hFile, var);
		format(var, 32, "TrashReport=%d\n",PlayerInfo[MAX_PLAYERS][pTrashReport]);fwrite(hFile, var);
		format(var, 32, "FactionModerator=%d\n",PlayerInfo[MAX_PLAYERS][pFactionModerator]);fwrite(hFile, var);
		format(var, 32, "GangModerator=%d\n",PlayerInfo[MAX_PLAYERS][pGangModerator]);fwrite(hFile, var);
		format(var, 32, "GangWarn=%d\n",PlayerInfo[MAX_PLAYERS][pGangWarn]);fwrite(hFile, var);
		format(var, 32, "FactionBanned=%d\n",PlayerInfo[MAX_PLAYERS][pFactionBanned]);fwrite(hFile, var);
		format(var, 32, "CSFBanned=%d\n",PlayerInfo[MAX_PLAYERS][pCSFBanned]);fwrite(hFile, var);
		new v = 0;
		format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX]);fwrite(hFile, var);
		format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY]);fwrite(hFile, var);
		format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ]);fwrite(hFile, var);
		format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle]);fwrite(hFile, var);
		format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId]);fwrite(hFile, var);
		format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLock]);fwrite(hFile, var);
		format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked]);fwrite(hFile, var);
		format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob]);fwrite(hFile, var);
		format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1]);fwrite(hFile, var);
		format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2]);fwrite(hFile, var);
		format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice]);fwrite(hFile, var);
		format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2]);fwrite(hFile, var);
		format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade]);fwrite(hFile, var);
		format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel]);fwrite(hFile, var);
		format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded]);fwrite(hFile, var);
		//format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate]);fwrite(hFile, var);
		for(new m = 0; m < MAX_MODS; m++)
		{
			format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m]);fwrite(hFile, var);
		}
		//format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer]);fwrite(hFile, var);
		v = 1;
		format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX]);fwrite(hFile, var);
		format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY]);fwrite(hFile, var);
		format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ]);fwrite(hFile, var);
		format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle]);fwrite(hFile, var);
		format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId]);fwrite(hFile, var);
		format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLock]);fwrite(hFile, var);
		format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked]);fwrite(hFile, var);
		format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob]);fwrite(hFile, var);
		format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1]);fwrite(hFile, var);
		format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2]);fwrite(hFile, var);
		format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice]);fwrite(hFile, var);
		format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2]);fwrite(hFile, var);
		format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade]);fwrite(hFile, var);
		format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel]);fwrite(hFile, var);
		format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded]);fwrite(hFile, var);
		//format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate]);fwrite(hFile, var);
		for(new m = 0; m < MAX_MODS; m++)
		{
			format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m]);fwrite(hFile, var);
		}
		//format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer]);fwrite(hFile, var);
		v = 2;
		format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX]);fwrite(hFile, var);
		format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY]);fwrite(hFile, var);
		format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ]);fwrite(hFile, var);
		format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle]);fwrite(hFile, var);
		format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId]);fwrite(hFile, var);
		format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLock]);fwrite(hFile, var);
		format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked]);fwrite(hFile, var);
		format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob]);fwrite(hFile, var);
		format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1]);fwrite(hFile, var);
		format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2]);fwrite(hFile, var);
		format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice]);fwrite(hFile, var);
		format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2]);fwrite(hFile, var);
		format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade]);fwrite(hFile, var);
		format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel]);fwrite(hFile, var);
		format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded]);fwrite(hFile, var);
		//format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate]);fwrite(hFile, var);
		for(new m = 0; m < MAX_MODS; m++)
		{
			format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m]);fwrite(hFile, var);
		}
		//format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer]);fwrite(hFile, var);
		v = 3;
		format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX]);fwrite(hFile, var);
		format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY]);fwrite(hFile, var);
		format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ]);fwrite(hFile, var);
		format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle]);fwrite(hFile, var);
		format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId]);fwrite(hFile, var);
		format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLock]);fwrite(hFile, var);
		format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked]);fwrite(hFile, var);
		format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob]);fwrite(hFile, var);
		format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1]);fwrite(hFile, var);
		format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2]);fwrite(hFile, var);
		format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice]);fwrite(hFile, var);
		format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2]);fwrite(hFile, var);
		format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade]);fwrite(hFile, var);
		format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel]);fwrite(hFile, var);
		format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded]);fwrite(hFile, var);
		//format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate]);fwrite(hFile, var);
		for(new m = 0; m < MAX_MODS; m++)
		{
			format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m]);fwrite(hFile, var);
		}
		//format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer]);fwrite(hFile, var);
		v = 4;
		format(var, 32, "pv%dPosX=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosX]);fwrite(hFile, var);
		format(var, 32, "pv%dPosY=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosY]);fwrite(hFile, var);
		format(var, 32, "pv%dPosZ=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosZ]);fwrite(hFile, var);
		format(var, 32, "pv%dPosAngle=%.1f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPosAngle]);fwrite(hFile, var);
		format(var, 32, "pv%dModelId=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvModelId]);fwrite(hFile, var);
		format(var, 32, "pv%dLock=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLock]);fwrite(hFile, var);
		format(var, 32, "pv%dLocked=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvLocked]);fwrite(hFile, var);
		format(var, 32, "pv%dPaintJob=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPaintJob]);fwrite(hFile, var);
		format(var, 32, "pv%dColor1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor1]);fwrite(hFile, var);
		format(var, 32, "pv%dColor2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvColor2]);fwrite(hFile, var);
		format(var, 32, "pv%dPrice=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvPrice]);fwrite(hFile, var);
		format(var, 32, "pv%dTicket=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvTicket]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon0=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][0]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon1=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][1]);fwrite(hFile, var);
		format(var, 32, "pv%dWeapon2=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWeapons][2]);fwrite(hFile, var);
		format(var, 32, "pv%dWepUpgrade=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvWepUpgrade]);fwrite(hFile, var);
		format(var, 32, "pv%dFuel=%.2f\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvFuel]);fwrite(hFile, var);
		format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvImpounded]);fwrite(hFile, var);
		//format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvNumberPlate]);fwrite(hFile, var);
		for(new m = 0; m < MAX_MODS; m++)
		{
			format(var, 32, "pv%dMod%d=%d\n", v, m, PlayerVehicleInfo[MAX_PLAYERS][v][pvMods][m]);fwrite(hFile, var);
		}
		//format(var, 32, "pv%dAllowedPlayer=%s\n", v, PlayerVehicleInfo[MAX_PLAYERS][v][pvAllowPlayer]);fwrite(hFile, var);
		for(v = 0; v < MAX_PLAYERTOYS; v++)
		{
			format(var, 32, "pt%dModelID=%d\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptModelID]);fwrite(hFile, var);
			format(var, 32, "pt%dBone=%d\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptBone]);fwrite(hFile, var);
			format(var, 32, "pt%dPosX=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptPosX]);fwrite(hFile, var);
			format(var, 32, "pt%dPosY=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptPosY]);fwrite(hFile, var);
			format(var, 32, "pt%dPosZ=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptPosZ]);fwrite(hFile, var);
			format(var, 32, "pt%dRotX=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptRotX]);fwrite(hFile, var);
			format(var, 32, "pt%dRotY=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptRotY]);fwrite(hFile, var);
			format(var, 32, "pt%dRotZ=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptRotZ]);fwrite(hFile, var);
			format(var, 32, "pt%dScaleX=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptScaleX]);fwrite(hFile, var);
 			format(var, 32, "pt%dScaleY=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptScaleY]);fwrite(hFile, var);
			format(var, 32, "pt%dScaleZ=%.5f\n", v, PlayerToyInfo[MAX_PLAYERS][v][ptScaleZ]);fwrite(hFile, var);
 		}
		format(var, 32, "VIPInviteDay=%d\n",PlayerInfo[MAX_PLAYERS][pVIPInviteDay]);fwrite(hFile, var);
		format(var, 32, "TempVIP=%d\n",PlayerInfo[MAX_PLAYERS][pTempVIP]);fwrite(hFile, var);
		format(var, 32, "BuddyInvite=%d\n",PlayerInfo[MAX_PLAYERS][pBuddyInvited]);fwrite(hFile, var);
		format(var, 32, "Tokens=%d\n",PlayerInfo[MAX_PLAYERS][pTokens]);fwrite(hFile, var);
		format(var, 32, "PTokens=%d\n",PlayerInfo[MAX_PLAYERS][pPaintTokens]);fwrite(hFile, var);
		format(var, 32, "TriageTime=%d\n",PlayerInfo[MAX_PLAYERS][pTriageTime]);fwrite(hFile, var);
		format(var, 128, "PrisonReason=%s\n",PlayerInfo[MAX_PLAYERS][pPrisonReason]);fwrite(hFile, var);
		format(var, 32, "PrisonedBy=%s\n",PlayerInfo[MAX_PLAYERS][pPrisonedBy]);fwrite(hFile, var);
		format(var, 128, "Flag=%s\n",PlayerInfo[MAX_PLAYERS][pFlag]);fwrite(hFile, var);
		format(var, 32, "TaxiLicense=%d\n",PlayerInfo[MAX_PLAYERS][pTaxiLicense]);fwrite(hFile, var);
		format(var, 32, "TicketTime=%d\n",PlayerInfo[MAX_PLAYERS][pTicketTime]);fwrite(hFile, var);
		format(var, 32, "Screwdriver=%d\n",PlayerInfo[MAX_PLAYERS][pScrewdriver]);fwrite(hFile, var);
		format(var, 32, "Smslog=%d\n",PlayerInfo[MAX_PLAYERS][pSmslog]);fwrite(hFile, var);
		format(var, 32, "Wristwatch=%d\n",PlayerInfo[MAX_PLAYERS][pWristwatch]);fwrite(hFile, var);
		format(var, 32, "Surveillance=%d\n",PlayerInfo[MAX_PLAYERS][pSurveillance]);fwrite(hFile, var);
		format(var, 32, "Tire=%d\n",PlayerInfo[MAX_PLAYERS][pTire]);fwrite(hFile, var);
		format(var, 32, "Firstaid=%d\n",PlayerInfo[MAX_PLAYERS][pFirstaid]);fwrite(hFile, var);
		format(var, 32, "Rccam=%d\n",PlayerInfo[MAX_PLAYERS][pRccam]);fwrite(hFile, var);
		format(var, 32, "Receiver=%d\n",PlayerInfo[MAX_PLAYERS][pReceiver]);fwrite(hFile, var);
		format(var, 32, "GPS=%d\n",PlayerInfo[MAX_PLAYERS][pGPS]);fwrite(hFile, var);
		format(var, 32, "Sweep=%d\n",PlayerInfo[MAX_PLAYERS][pSweep]);fwrite(hFile, var);
		format(var, 32, "SweepLeft=%d\n",PlayerInfo[MAX_PLAYERS][pSweepLeft]);fwrite(hFile, var);
		format(var, 32, "Bugged=%d\n",PlayerInfo[MAX_PLAYERS][pBugged]);fwrite(hFile, var);
		format(var, 256, "Smslog0=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog0]);fwrite(hFile, var);
		format(var, 256, "Smslog1=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog1]);fwrite(hFile, var);
		format(var, 256, "Smslog2=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog2]);fwrite(hFile, var);
		format(var, 256, "Smslog3=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog3]);fwrite(hFile, var);
		format(var, 256, "Smslog4=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog4]);fwrite(hFile, var);
		format(var, 256, "Smslog5=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog5]);fwrite(hFile, var);
		format(var, 256, "Smslog6=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog6]);fwrite(hFile, var);
		format(var, 256, "Smslog7=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog7]);fwrite(hFile, var);
		format(var, 256, "Smslog8=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog8]);fwrite(hFile, var);
		format(var, 256, "Smslog9=%s\n",PlayerInfo[MAX_PLAYERS][pSmslog9]);fwrite(hFile, var);
		format(var, 256, "KillLog0=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog0]);fwrite(hFile, var);
		format(var, 256, "KillLog1=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog1]);fwrite(hFile, var);
		format(var, 256, "KillLog2=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog2]);fwrite(hFile, var);
		format(var, 256, "KillLog3=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog3]);fwrite(hFile, var);
		format(var, 256, "KillLog4=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog4]);fwrite(hFile, var);
		format(var, 256, "KillLog5=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog5]);fwrite(hFile, var);
		format(var, 256, "KillLog6=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog6]);fwrite(hFile, var);
		format(var, 256, "KillLog7=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog7]);fwrite(hFile, var);
		format(var, 256, "KillLog8=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog8]);fwrite(hFile, var);
		format(var, 256, "KillLog9=%s\n",PlayerInfo[MAX_PLAYERS][pKillLog9]);fwrite(hFile, var);
		format(var, 32, "pWExists=%d\n",PlayerInfo[MAX_PLAYERS][pWExists]);fwrite(hFile, var);
		format(var, 32, "pWX=%f\n",PlayerInfo[MAX_PLAYERS][pWX]);fwrite(hFile, var);
		format(var, 32, "pWY=%f\n",PlayerInfo[MAX_PLAYERS][pWY]);fwrite(hFile, var);
		format(var, 32, "pWZ=%f\n",PlayerInfo[MAX_PLAYERS][pWZ]);fwrite(hFile, var);
		format(var, 32, "pWVW=%d\n",PlayerInfo[MAX_PLAYERS][pWVW]);fwrite(hFile, var);
		format(var, 32, "pWInt=%d\n",PlayerInfo[MAX_PLAYERS][pWInt]);fwrite(hFile, var);
		format(var, 32, "pWValue=%d\n",PlayerInfo[MAX_PLAYERS][pWValue]);fwrite(hFile, var);
		format(var, 32, "pWSeeds=%d\n",PlayerInfo[MAX_PLAYERS][pWSeeds]);fwrite(hFile, var);
		format(var, 128, "Warrants=%s\n",PlayerInfo[MAX_PLAYERS][pWarrant]);fwrite(hFile, var);
		format(var, 32, "JudgeJailTime=%d\n",PlayerInfo[MAX_PLAYERS][pJudgeJailTime]);fwrite(hFile, var);
		format(var, 32, "JudgeJailType=%d\n",PlayerInfo[MAX_PLAYERS][pJudgeJailType]);fwrite(hFile, var);
		format(var, 32, "BeingSentenced=%d\n",PlayerInfo[MAX_PLAYERS][pBeingSentenced]);fwrite(hFile, var);
		format(var, 32, "ProbationTime=%d\n",PlayerInfo[MAX_PLAYERS][pProbationTime]);fwrite(hFile, var);
		format(var, 32, "DMIndicators=%d\n",PlayerInfo[MAX_PLAYERS][pDMIndicators]);fwrite(hFile, var);
		format(var, 32, "DMKills=%d\n",PlayerInfo[MAX_PLAYERS][pDMKills]);fwrite(hFile, var);
		format(var, 63, "DMReport0=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport0]);fwrite(hFile, var);
		format(var, 63, "DMReport1=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport1]);fwrite(hFile, var);
		format(var, 63, "DMReport2=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport2]);fwrite(hFile, var);
		format(var, 63, "DMReport3=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport3]);fwrite(hFile, var);
		format(var, 63, "DMReport4=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport4]);fwrite(hFile, var);
		format(var, 63, "DMReport5=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport5]);fwrite(hFile, var);
		format(var, 63, "DMReport6=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport6]);fwrite(hFile, var);
		format(var, 63, "DMReport7=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport7]);fwrite(hFile, var);
		format(var, 63, "DMReport8=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport8]);fwrite(hFile, var);
		format(var, 63, "DMReport9=%s\n",PlayerInfo[MAX_PLAYERS][pDMReport9]);fwrite(hFile, var);
		format(var, 32, "Order=%d\n",PlayerInfo[MAX_PLAYERS][pOrder]);fwrite(hFile, var);
		format(var, 32, "OBlocked=%d\n",PlayerInfo[MAX_PLAYERS][pOBlocked]);fwrite(hFile, var);
		format(var, 32, "CallsAccepted=%d\n",PlayerInfo[MAX_PLAYERS][pCallsAccepted]);fwrite(hFile, var);
		format(var, 32, "PatientsDelivered=%d\n",PlayerInfo[MAX_PLAYERS][pPatientsDelivered]);fwrite(hFile, var);
		format(var, 32, "LiveBanned=%d\n",PlayerInfo[MAX_PLAYERS][pLiveBanned]);fwrite(hFile, var);
		format(var, 32, "FreezeBank=%d\n",PlayerInfo[MAX_PLAYERS][pFreezeBank]);fwrite(hFile, var);
		format(var, 32, "Firework=%d\n",PlayerInfo[MAX_PLAYERS][pFirework]);fwrite(hFile, var);
		format(var, 32, "Hydration=%d\n",PlayerInfo[MAX_PLAYERS][pHydration]);fwrite(hFile, var);
		format(var, 32, "DoubleEXP=%d\n",PlayerInfo[MAX_PLAYERS][pDoubleEXP]);fwrite(hFile, var);
		format(var, 32, "EXPToken=%d\n",PlayerInfo[MAX_PLAYERS][pEXPToken]);fwrite(hFile, var);
		format(var, 32, "RacePlayerLaps=%d\n",PlayerInfo[MAX_PLAYERS][pRacePlayerLaps]);fwrite(hFile, var);
		format(var, 32, "BT=%d\n",BT[MAX_PLAYERS-1]);fwrite(hFile, var);
		format(var, 32, "GD=%d\n",GD[MAX_PLAYERS-1]);fwrite(hFile, var);
		//format(var, 32, "WS=%d\n",WS[playerid]);fwrite(hFile, var);
		//format(var, 34, "Accent=%d\n",PlayerInfo[MAX_PLAYERS][pAccent]);fwrite(hFile, var);
		fclose(hFile);
	}
	return 1;
}

//----- End of file handling for players
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)