14.08.2011, 18:42
I need help, how I change my FWRITE system to MySql system without lose the player accounts?
Actually the player accounts saves this:
And when the player login
If anyone can make one line or something like, to show me how I'll start to change this to MySql, I'll make thanks forever.
Att,
Actually the player accounts saves this:
pawn Код:
public OnPlayerUpdateEx(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLogado] > 0)
{
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
format(string3, sizeof(string3), "LARP/Users/%s.ini", playername3);
new File: hFile = fopen(string3, io_write);
if (hFile)
{
new var[64];
format(var, 64, "Password=%d\r\n",PlayerInfo[playerid][pKey]);fwrite(hFile, var);
format(var, 64, "Level=%d\r\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
format(var, 64, "Spawn=%d\r\n",PlayerInfo[playerid][pSpawn]);fwrite(hFile, var);
format(var, 64, "HelperLevel=%d\r\n",PlayerInfo[playerid][pHelper]);fwrite(hFile, var);
format(var, 64, "AdminLevel=%d\r\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
format(var, 64, "RegularRank=%d\r\n",PlayerInfo[playerid][pRegularRank]);fwrite(hFile, var);
format(var, 64, "UpgradePoints=%d\r\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
format(var, 64, "ConnectedTime=%d\r\n",PlayerInfo[playerid][pConnectSeconds]);fwrite(hFile, var);
format(var, 64, "Registered=%d\r\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
format(var, 64, "Sex=%d\r\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
format(var, 64, "Age=%d\r\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
format(var, 64, "Origem=%d\r\n",PlayerInfo[playerid][pOrigem]);fwrite(hFile, var);
format(var, 64, "pHaveWalkie=%d\r\n",PlayerInfo[playerid][pHaveWalkie]);fwrite(hFile, var);
format(var, 64, "Hotel=%d\r\n",PlayerInfo[playerid][pHotel]);fwrite(hFile, var);
format(var, 64, "Oculos=%d\r\n",PlayerInfo[playerid][pOculos]);fwrite(hFile, var);
format(var, 64, "SKIN1=%d\r\n",PlayerInfo[playerid][pSkin1]);fwrite(hFile, var);
format(var, 64, "SKIN2=%d\r\n",PlayerInfo[playerid][pSkin2]);fwrite(hFile, var);
format(var, 64, "Origin=%d\r\n",PlayerInfo[playerid][pEtnia]);fwrite(hFile, var);
format(var, 64, "CK=%d\r\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
format(var, 64, "Muted=%d\r\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
format(var, 64, "Frozen=%d\r\n",PlayerInfo[playerid][pFrozen]);fwrite(hFile, var);
format(var, 64, "Respect=%d\r\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
PlayerInfo[playerid][pCash] = ScriptMoney[playerid];
format(var, 64, "Money=%d\r\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
format(var, 64, "Bank=%d\r\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
format(var, 64, "Crimes=%d\r\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
format(var, 64, "Wanted=%d\r\n",PlayerInfo[playerid][pWanted]);fwrite(hFile, var);
format(var, 64, "WantedLevel=%d\r\n",PlayerInfo[playerid][pWantedLevel]);fwrite(hFile, var);
format(var, 64, "Arrested=%d\r\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
format(var, 64, "pViciado=%d\r\n",PlayerInfo[playerid][pViciado]);fwrite(hFile, var);
format(var, 64, "pCD=%d\r\n",PlayerInfo[playerid][pCD]);fwrite(hFile, var);
format(var, 64, "Investimento=%d\r\n",PlayerInfo[playerid][pInvestimento]);fwrite(hFile, var);
format(var, 64, "InvestimentoTipo=%d\r\n",PlayerInfo[playerid][pInvestimentoTipo]);fwrite(hFile, var);
format(var, 64, "MascaraJustin=%d\r\n",PlayerInfo[playerid][pMask]);fwrite(hFile, var);
format(var, 64, "MaskID=%d\r\n",PlayerInfo[playerid][pMaskNumber]);fwrite(hFile, var);
format(var, 64, "Wanted=%d\r\n",PlayerInfo[playerid][pWanted]);fwrite(hFile, var);
format(var, 64, "SemContrato=%d\r\n",PlayerInfo[playerid][pSCT]);fwrite(hFile, var);
format(var, 64, "GasQuantia=%d\r\n",PlayerInfo[playerid][pGasQuantia]);fwrite(hFile, var);
format(var, 64, "Caminhoneiro=%d\r\n",PlayerInfo[playerid][pCaminhoneiroT]);fwrite(hFile, var);
format(var, 64, "Job=%d\r\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
format(var, 64, "Paycheck=%d\r\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
format(var, 64, "tANAB=%d\r\n",PlayerInfo[playerid][pTanabolisante]);fwrite(hFile, var);
format(var, 64, "Jailed=%d\r\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
format(var, 64, "JailTime=%d\r\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
format(var, 64, "Mats=%d\r\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
format(var, 64, "Leader=%d\r\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
format(var, 64, "Member=%d\r\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
format(var, 64, "FMember=%d\r\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
format(var, 64, "Rank=%d\r\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
format(var, 64, "Char=%d\r\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
format(var, 64, "ContractTime=%d\r\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
format(var, 64, "pHealth=%.1f\r\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
GetPlayerArmour(playerid,PlayerInfo[playerid][pHealth]);
format(var, 64, "pArmour=%.1f\r\n",PlayerInfo[playerid][pArmour]);fwrite(hFile, var);
format(var, 64, "Int=%d\r\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
format(var, 64, "InteriorNr=%d\r\n",PlayerInfo[playerid][pInteriorNr]);fwrite(hFile, var);
format(var, 64, "Local=%d\r\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
format(var, 64, "Team=%d\r\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
format(var, 64, "Model=%d\r\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
format(var, 64, "PhoneNr=%d\r\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
format(var, 64, "Car=%d\r\n",PlayerInfo[playerid][pPcarkey]);fwrite(hFile, var);
format(var, 64, "Car2=%d\r\n",PlayerInfo[playerid][pPcarkey2]);fwrite(hFile, var);
format(var, 64, "House=%d\r\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
format(var, 64, "Bizz=%d\r\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
format(var, 64, "Pos_x=%.1f\r\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var);
format(var, 64, "Pos_y=%.1f\r\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var);
format(var, 64, "Pos_z=%.1f\r\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var);
format(var, 64, "CarLic=%d\r\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
format(var, 64, "FlyLic=%d\r\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var);
format(var, 64, "BoatLic=%d\r\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var);
format(var, 64, "TruckLic=%d\r\n",PlayerInfo[playerid][pTruckLic]);fwrite(hFile, var);
format(var, 64, "GunLic=%d\r\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var);
format(var, 64, "PayDay=%d\r\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var);
format(var, 64, "PayDayHad=%d\r\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var);
format(var, 64, "Watch=%d\r\n",PlayerInfo[playerid][pWatch]);fwrite(hFile, var);
format(var, 64, "AlcoholPerk=%d\r\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var);
format(var, 64, "DrugPerk=%d\r\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var);
format(var, 64, "TraderPerk=%d\r\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var);
format(var, 64, "Tutorial=%d\r\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var);
format(var, 64, "VirWorld=%d\r\n",PlayerInfo[playerid][pVirWorld]);fwrite(hFile, var);
format(var, 64, "Fuel=%d\r\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var);
format(var, 64, "pUseAccent=%d\r\n",PlayerInfo[playerid][pUseAccent]);fwrite(hFile, var);
format(var, 64, "Accent=%s\r\n",PlayerInfo[playerid][pAccent]);fwrite(hFile, var);
format(var, 64, "App=%s\r\n",PlayerInfo[playerid][pApp]);fwrite(hFile, var);
format(var, 64, "Tato=%s\r\n",PlayerInfo[playerid][pTato]);fwrite(hFile, var);
format(var, 64, "Peso=%d\r\n",PlayerInfo[playerid][pPeso]);fwrite(hFile, var);
format(var, 64, "Altura=%d\r\n",PlayerInfo[playerid][pAltura]);fwrite(hFile, var);
format(var, 64, "BandanaID=%d\r\n",PlayerInfo[playerid][pBandana]);fwrite(hFile, var);
format(var, 64, "Pescou=%d\r\n",PlayerInfo[playerid][pPescou]);fwrite(hFile, var);
format(var, 64, "Tratorou=%d\r\n",PlayerInfo[playerid][pTratorou]);fwrite(hFile, var);
//
format(var, 64, "TelNote1=%s\r\n",PlayerInfo[playerid][pTelNote1]);fwrite(hFile, var);
format(var, 64, "TelNote1s=%d\r\n",PlayerInfo[playerid][pTelNote1s]);fwrite(hFile, var);
format(var, 64, "TelNote2=%s\r\n",PlayerInfo[playerid][pTelNote2]);fwrite(hFile, var);
format(var, 64, "TelNote2s=%d\r\n",PlayerInfo[playerid][pTelNote2s]);fwrite(hFile, var);
format(var, 64, "TelNote3=%s\r\n",PlayerInfo[playerid][pTelNote3]);fwrite(hFile, var);
format(var, 64, "TelNote3s=%d\r\n",PlayerInfo[playerid][pTelNote3s]);fwrite(hFile, var);
//
format(var, 64, "Note1=%s\r\n",PlayerInfo[playerid][pNote1]);fwrite(hFile, var);
format(var, 64, "Note1s=%d\r\n",PlayerInfo[playerid][pNote1s]);fwrite(hFile, var);
format(var, 64, "Note2=%s\r\n",PlayerInfo[playerid][pNote2]);fwrite(hFile, var);
format(var, 64, "Note2s=%d\r\n",PlayerInfo[playerid][pNote2s]);fwrite(hFile, var);
format(var, 64, "Note3=%s\r\n",PlayerInfo[playerid][pNote3]);fwrite(hFile, var);
format(var, 64, "Note3s=%d\r\n",PlayerInfo[playerid][pNote3s]);fwrite(hFile, var);
format(var, 64, "Note4=%s\r\n",PlayerInfo[playerid][pNote4]);fwrite(hFile, var);
format(var, 64, "Note4s=%d\r\n",PlayerInfo[playerid][pNote4s]);fwrite(hFile, var);
format(var, 64, "Note5=%s\r\n",PlayerInfo[playerid][pNote5]);fwrite(hFile, var);
format(var, 64, "Note5s=%d\r\n",PlayerInfo[playerid][pNote5s]);fwrite(hFile, var);
format(var, 64, "InvWeapon=%d\r\n",PlayerInfo[playerid][pInvWeapon]);fwrite(hFile, var);
format(var, 64, "InvAmmo=%d\r\n",PlayerInfo[playerid][pInvAmmo]);fwrite(hFile, var);
format(var, 64, "InvWeapon2=%d\r\n",PlayerInfo[playerid][pInvWeapon2]);fwrite(hFile, var);
format(var, 64, "InvAmmo2=%d\r\n",PlayerInfo[playerid][pInvAmmo2]);fwrite(hFile, var);
format(var, 64, "InvWeapon3=%d\r\n",PlayerInfo[playerid][pInvWeapon3]);fwrite(hFile, var);
format(var, 64, "InvAmmo3=%d\r\n",PlayerInfo[playerid][pInvAmmo3]);fwrite(hFile, var);
format(var, 64, "InvWeapon4=%d\r\n",PlayerInfo[playerid][pInvWeapon4]);fwrite(hFile, var);
format(var, 64, "InvAmmo4=%d\r\n",PlayerInfo[playerid][pInvAmmo4]);fwrite(hFile, var);
format(var, 64, "InvWeapon5=%d\r\n",PlayerInfo[playerid][pInvWeapon5]);fwrite(hFile, var);
format(var, 64, "InvAmmo5=%d\r\n",PlayerInfo[playerid][pInvAmmo5]);fwrite(hFile, var);
format(var, 64, "InvWeapon6=%d\r\n",PlayerInfo[playerid][pInvWeapon6]);fwrite(hFile, var);
format(var, 64, "InvAmmo6=%d\r\n",PlayerInfo[playerid][pInvAmmo6]);fwrite(hFile, var);
format(var, 64, "Lighter=%d\r\n",PlayerInfo[playerid][pLighter]);fwrite(hFile, var);
format(var, 64, "Cigarettes=%d\r\n",PlayerInfo[playerid][pCigarettes]);fwrite(hFile, var);
format(var, 64, "pAnabolisante=%d\r\n",PlayerInfo[playerid][pAnabolisante]);fwrite(hFile, var);
format(var, 64, "OnDuty=%d\r\n",PlayerInfo[playerid][pDuty]);fwrite(hFile, var);
format(var, 64, "Warnings=%d\r\n",PlayerInfo[playerid][pWarned]);fwrite(hFile, var);
format(var, 64, "Swat=%d\r\n",PlayerInfo[playerid][pSwat]);fwrite(hFile, var);
format(var, 64, "Cabelo=%d\r\n",PlayerInfo[playerid][pCabelo]);fwrite(hFile, var);
format(var, 64, "Fighting=%d\r\n",PlayerInfo[playerid][pFS]);fwrite(hFile, var);
format(var, 64, "Boxing=%d\r\n",PlayerInfo[playerid][pBoxiSkill]);fwrite(hFile, var);
format(var, 64, "KneeHead=%d\r\n",PlayerInfo[playerid][pKneeSkill]);fwrite(hFile, var);
format(var, 64, "KungFu=%d\r\n",PlayerInfo[playerid][pKungSkill]);fwrite(hFile, var);
format(var, 64, "GrabKick=%d\r\n",PlayerInfo[playerid][pGrabSkill]);fwrite(hFile, var);
format(var, 64, "Elbow=%d\r\n",PlayerInfo[playerid][pElbowSkill]);fwrite(hFile, var);
format(var, 64, "Speedo=%d\r\n",PlayerInfo[playerid][pSpeedo]);fwrite(hFile, var);
format(var, 64, "AppearList=%d\r\n",PlayerInfo[playerid][pAppearList]);fwrite(hFile, var);
format(var, 64, "AmmunationTime=%d\r\n",PlayerInfo[playerid][pAmmuTrainTime]);fwrite(hFile, var);
format(var, 64, "PistolSkill=%d\r\n",PlayerInfo[playerid][pPistSkill]);fwrite(hFile, var);
format(var, 64, "SilencedSkill=%d\r\n",PlayerInfo[playerid][pSilenSkill]);fwrite(hFile, var);
format(var, 64, "DesertSkill=%d\r\n",PlayerInfo[playerid][pDesertSkill]);fwrite(hFile, var);
format(var, 64, "ShotgunSkill=%d\r\n",PlayerInfo[playerid][pShotgSkill]);fwrite(hFile, var);
format(var, 64, "SawnoffSkill=%d\r\n",PlayerInfo[playerid][pSawnSkill]);fwrite(hFile, var);
format(var, 64, "CombatSkill=%d\r\n",PlayerInfo[playerid][pCombSkill]);fwrite(hFile, var);
format(var, 64, "UziSkill=%d\r\n",PlayerInfo[playerid][pUziSkill]);fwrite(hFile, var);
format(var, 64, "SMGSkill=%d\r\n",PlayerInfo[playerid][pSmgSkill]);fwrite(hFile, var);
format(var, 64, "AK47Skill=%d\r\n",PlayerInfo[playerid][pAkSkill]);fwrite(hFile, var);
format(var, 64, "M4Skill=%d\r\n",PlayerInfo[playerid][pM4Skill]);fwrite(hFile, var);
format(var, 64, "ShiftName=%d\r\n",PlayerInfo[playerid][pShiftName]);fwrite(hFile, var);
format(var, 64, "Weapon=%d\r\n",PlayerInfo[playerid][pWeapon]);fwrite(hFile, var);
format(var, 64, "Ammo=%d\r\n",PlayerInfo[playerid][pAmmo]);fwrite(hFile, var);
format(var, 64, "Weapon2=%d\r\n",PlayerInfo[playerid][pWeapon2]);fwrite(hFile, var);
format(var, 64, "Ammo2=%d\r\n",PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var);
format(var, 64, "Weapon3=%d\r\n",PlayerInfo[playerid][pWeapon3]);fwrite(hFile, var);
format(var, 64, "Ammo3=%d\r\n",PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var);
format(var, 64, "Weapon4=%d\r\n",PlayerInfo[playerid][pWeapon4]);fwrite(hFile, var);
format(var, 64, "Ammo4=%d\r\n",PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var);
format(var, 64, "Weapon5=%d\r\n",PlayerInfo[playerid][pWeapon5]);fwrite(hFile, var);
format(var, 64, "Ammo5=%d\r\n",PlayerInfo[playerid][pAmmo5]);fwrite(hFile, var);
format(var, 64, "Weapon6=%d\r\n",PlayerInfo[playerid][pWeapon6]);fwrite(hFile, var);
format(var, 64, "Ammo6=%d\r\n",PlayerInfo[playerid][pAmmo6]);fwrite(hFile, var);
format(var, 64, "Weapon7=%d\r\n",PlayerInfo[playerid][pWeapon7]);fwrite(hFile, var);
format(var, 64, "Ammo7=%d\r\n",PlayerInfo[playerid][pAmmo7]);fwrite(hFile, var);
format(var, 64, "Weapon8=%d\r\n",PlayerInfo[playerid][pWeapon8]);fwrite(hFile, var);
format(var, 64, "Ammo8=%d\r\n",PlayerInfo[playerid][pAmmo8]);fwrite(hFile, var);
format(var, 64, "Weapon9=%d\r\n",PlayerInfo[playerid][pWeapon9]);fwrite(hFile, var);
format(var, 64, "Ammo9=%d\r\n",PlayerInfo[playerid][pAmmo9]);fwrite(hFile, var);
format(var, 64, "Weapon10=%d\r\n",PlayerInfo[playerid][pWeapon10]);fwrite(hFile, var);
format(var, 64, "Ammo10=%d\r\n",PlayerInfo[playerid][pAmmo10]);fwrite(hFile, var);
format(var, 64, "Weapon11=%d\r\n",PlayerInfo[playerid][pWeapon11]);fwrite(hFile, var);
format(var, 64, "Ammo11=%d\r\n",PlayerInfo[playerid][pAmmo11]);fwrite(hFile, var);
format(var, 64, "Weapon12=%d\r\n",PlayerInfo[playerid][pWeapon12]);fwrite(hFile, var);
format(var, 64, "Ammo12=%d\r\n",PlayerInfo[playerid][pAmmo12]);fwrite(hFile, var);
format(var, 64, "ChatMode=%d\r\n",PlayerInfo[playerid][pChatMode]);fwrite(hFile, var);
format(var, 64, "Punishment1=%s\r\n",PlayerInfo[playerid][pPunishment1]);fwrite(hFile, var);
format(var, 64, "Punishment2=%s\r\n",PlayerInfo[playerid][pPunishment2]);fwrite(hFile, var);
format(var, 64, "Punishment3=%s\r\n",PlayerInfo[playerid][pPunishment3]);fwrite(hFile, var);
format(var, 64, "Punishment4=%s\r\n",PlayerInfo[playerid][pPunishment4]);fwrite(hFile, var);
format(var, 64, "Punishment5=%s\r\n",PlayerInfo[playerid][pPunishment5]);fwrite(hFile, var);
format(var, 64, "Punishment6=%s\r\n",PlayerInfo[playerid][pPunishment6]);fwrite(hFile, var);
format(var, 64, "Punishment7=%s\r\n",PlayerInfo[playerid][pPunishment7]);fwrite(hFile, var);
format(var, 64, "Punishment8=%s\r\n",PlayerInfo[playerid][pPunishment8]);fwrite(hFile, var);
format(var, 64, "NextPunishment=%d\r\n",PlayerInfo[playerid][pNextPunishment]);fwrite(hFile, var);
format(var, 64, "PunishedTimes=%d\r\n",PlayerInfo[playerid][pPunished]);fwrite(hFile, var);
format(var, 64, "TazerBullets=%d\r\n",PlayerInfo[playerid][pTazerBullets]);fwrite(hFile, var);
format(var, 64, "IP=%s\r\n",PlayerInfo[playerid][pIP]);fwrite(hFile, var);
format(var, 64, "LastLogged=%s\r\n",PlayerInfo[playerid][pLastSeen]);fwrite(hFile, var);
format(var, 64, "Changed=%d\r\n",PlayerInfo[playerid][jTColete]);fwrite(hFile, var);
format(var, 64, "RegistredDate=%s\r\n",PlayerInfo[playerid][pRegistredDate]);fwrite(hFile, var);
format(var, 64, "BizzEntered=%d\r\n",BizzEntered[playerid]);fwrite(hFile, var);
format(var, 64, "HouseEntered=%d\r\n",HouseEntered[playerid]);fwrite(hFile, var);
format(var, 64, "Decoder=%d\r\n",PlayerInfo[playerid][pDecoder]);fwrite(hFile, var);
format(var, 64, "LSP=%d\r\n",PlayerInfo[playerid][pLSP]);fwrite(hFile, var);
format(var, 64, "SOSA=%d\r\n",PlayerInfo[playerid][pASOS]);fwrite(hFile, var);
format(var, 64, "Forca=%d\r\n",PlayerInfo[playerid][pForca]);fwrite(hFile, var);
format(var, 64, "Voz=%s\r\n",PlayerInfo[playerid][pVoz]);fwrite(hFile, var);
format(var, 64, "ATrab=%d\r\n",PlayerInfo[playerid][pATrab]);fwrite(hFile, var);
format(var, 64, "pRusso=%d\r\n",PlayerInfo[playerid][pRusso]);fwrite(hFile, var);
format(var, 64, "pJapones=%d\r\n",PlayerInfo[playerid][pJapones]);fwrite(hFile, var);
format(var, 64, "pEspanhol=%d\r\n",PlayerInfo[playerid][pEspanhol]);fwrite(hFile, var);
format(var, 64, "pItaliano=%d\r\n",PlayerInfo[playerid][pItaliano]);fwrite(hFile, var);
format(var, 64, "pFacul=%d\r\n",PlayerInfo[playerid][pFacul]);fwrite(hFile, var);
format(var, 64, "pMotoboy=%d\r\n",PlayerInfo[playerid][pMotoboy]);fwrite(hFile, var);
//VIP POINTS -- SAVE SEM LAG BY RICARDO BRASIL --
format(var, 64, "pVipPoints=%d\r\n",PlayerInfo[playerid][pVipPoints]);fwrite(hFile, var);
format(var, 64, "VPPDPoints=%d\r\n",PlayerInfo[playerid][pPDPoints]);fwrite(hFile, var);
format(var, 64, "VPPDPoints2=%d\r\n",PlayerInfo[playerid][pPDPoints2]);fwrite(hFile, var);
format(var, 64, "VPAutoNivel=%d\r\n",PlayerInfo[playerid][pAutoNivel]);fwrite(hFile, var);
format(var, 64, "VP2Level=%d\r\n",PlayerInfo[playerid][p2Level]);fwrite(hFile, var);
format(var, 64, "pTOnota=%d\r\n",PlayerInfo[playerid][pTOnota]);fwrite(hFile, var);
format(var, 64, "pG3000=%d\r\n",PlayerInfo[playerid][pG3000]);fwrite(hFile, var);
format(var, 64, "pG5000=%d\r\n",PlayerInfo[playerid][pG5000]);fwrite(hFile, var);
format(var, 64, "pSDEmprego=%d\r\n",PlayerInfo[playerid][pSDEmprego]);fwrite(hFile, var);
format(var, 64, "pTEstilos=%d\r\n",PlayerInfo[playerid][pTEstilos]);fwrite(hFile, var);
format(var, 64, "pG7000=%d\r\n",PlayerInfo[playerid][pG7000]);fwrite(hFile, var);
//AntiWH
format(var, 64, "pVipPoints=%d\r\n",PlayerInfo[playerid][pVipPoints]);fwrite(hFile, var);
format(var, 64, "pTratorou=%d\r\n",PlayerInfo[playerid][pTratorou]);fwrite(hFile, var);
format(var, 64, "pPescou=%d\r\n",PlayerInfo[playerid][pPescou]);fwrite(hFile, var);
format(var, 64, "pCarteirou=%d\r\n",PlayerInfo[playerid][pCarteirou]);fwrite(hFile, var);
format(var, 64, "pMultado=%d\r\n",PlayerInfo[playerid][pMultado]);fwrite(hFile, var);
//
format(var, 64, "pMaconha=%d\r\n",PlayerInfo[playerid][pMaconha]);fwrite(hFile, var);
format(var, 64, "pMaconhaM=%d\r\n",PlayerInfo[playerid][pMaconhaM]);fwrite(hFile, var);
format(var, 64, "pLSD=%d\r\n",PlayerInfo[playerid][pLSD]);fwrite(hFile, var);
format(var, 64, "pLSDM=%d\r\n",PlayerInfo[playerid][pLSDM]);fwrite(hFile, var);
format(var, 64, "pCocaina=%d\r\n",PlayerInfo[playerid][pCocaina]);fwrite(hFile, var);
format(var, 64, "pCocainaM=%d\r\n",PlayerInfo[playerid][pCocainaM]);fwrite(hFile, var);
format(var, 64, "pCrack=%d\r\n",PlayerInfo[playerid][pCrack]);fwrite(hFile, var);
format(var, 64, "pCrackM=%d\r\n",PlayerInfo[playerid][pCrackM]);fwrite(hFile, var);
format(var, 64, "pNovaDroga=%d\r\n",PlayerInfo[playerid][pNovaDroga]);fwrite(hFile, var);
format(var, 64, "pNovaDrogaNome=%s\r\n",PlayerInfo[playerid][pNovaDrogaNome]);fwrite(hFile, var);
format(var, 64, "pNovaDroga2=%d\r\n",PlayerInfo[playerid][pNovaDroga2]);fwrite(hFile, var);
format(var, 64, "pNovaDrogaNome2=%d\r\n",PlayerInfo[playerid][pNovaDrogaNome2]);fwrite(hFile, var);
format(var, 64, "pDrogaSkill=%d\r\n",PlayerInfo[playerid][pDrogaSkill]);fwrite(hFile, var);
format(var, 64, "Mistura1=%d\r\n",PlayerInfo[playerid][pMistura1]);fwrite(hFile, var);
format(var, 64, "Mistura2=%d\r\n",PlayerInfo[playerid][pMistura2]);fwrite(hFile, var);
format(var, 64, "Mistura3=%d\r\n",PlayerInfo[playerid][pMistura3]);fwrite(hFile, var);
format(var, 64, "Mistura4=%d\r\n",PlayerInfo[playerid][pMistura4]);fwrite(hFile, var);
format(var, 64, "Mistura5=%d\r\n",PlayerInfo[playerid][pMistura5]);fwrite(hFile, var);
format(var, 64, "MaconhaVicio=%d\r\n",PlayerInfo[playerid][pMaconhaVicio]);fwrite(hFile, var);
format(var, 64, "CocainaVicio=%d\r\n",PlayerInfo[playerid][pCocainaVicio]);fwrite(hFile, var);
format(var, 64, "CrackVicio=%d\r\n",PlayerInfo[playerid][pCrackVicio]);fwrite(hFile, var);
format(var, 64, "LSDVicio=%d\r\n",PlayerInfo[playerid][pLSDVicio]);fwrite(hFile, var);
format(var, 64, "pCaminhaoInCity=%d\r\n",PlayerInfo[playerid][pCaminhaoInCity]);fwrite(hFile, var);
format(var, 64, "pGuardaVidas=%d\r\n",PlayerInfo[playerid][pGuardaVidas]);fwrite(hFile, var);
format(var, 64, "AdmNome=%s\r\n",PlayerInfo[playerid][pAdmNome]);fwrite(hFile, var);
format(var, 64, "Olhos=%d\r\n",PlayerInfo[playerid][pOlhos]);fwrite(hFile, var);
format(var, 64, "HelperData=%s\r\n",PlayerInfo[playerid][pHelperData]);fwrite(hFile, var);
format(var, 64, "pLenhador=%d\r\n",PlayerInfo[playerid][pLenhador]);fwrite(hFile, var);
format(var, 64, "pLogado=%d\r\n",PlayerInfo[playerid][pLogado]);fwrite(hFile, var);
format(var, 64, "pHistoria=%d\r\n",PlayerInfo[playerid][pHistoria]);fwrite(hFile, var);
format(var, 64, "Noticia=%s\r\n",PlayerInfo[playerid][pNoticia]);fwrite(hFile, var);
format(var, 64, "pTestamento=%d\r\n",PlayerInfo[playerid][pTestamento]);fwrite(hFile, var);
format(var, 64, "pAKVP=%d\r\n",PlayerInfo[playerid][pAKVP]);fwrite(hFile, var);
format(var, 64, "pDEVP=%d\r\n",PlayerInfo[playerid][pDEVP]);fwrite(hFile, var);
format(var, 64, "pChapeuID=%d\r\n",PlayerInfo[playerid][pChapeuID]);fwrite(hFile, var);
format(var, 64, "relogio=%d\r\n",PlayerInfo[playerid][pRelogio]);fwrite(hFile, var);
format(var, 64, "senha=%d\r\n",PlayerInfo[playerid][pSenha]);fwrite(hFile, var);
format(var, 64, "nome=%d\r\n",PlayerInfo[playerid][abcNome]);fwrite(hFile, var);
fclose(hFile);
}
}
}
return 1;
}
And when the player login
pawn Код:
format(string2, sizeof(string2), "LARP/Users/%s.ini", playername2);
if (dini_Exists(string2))
{
new password2 = num_hash(password);
if(dini_Int(string2,"Password") == password2)
{
PlayerInfo[playerid][pKey] = dini_Int(string2,"Password");
PlayerInfo[playerid][pLevel] = dini_Int(string2,"Level");
PlayerInfo[playerid][pSpawn] = dini_Int(string2,"Spawn");
PlayerInfo[playerid][pHelper] = dini_Int(string2,"HelperLevel");
PlayerInfo[playerid][pAdmin] = dini_Int(string2,"AdminLevel");
PlayerInfo[playerid][pRegularRank] = dini_Int(string2,"RegularRank");
PlayerInfo[playerid][gPupgrade] = dini_Int(string2,"UpgradePoints");
PlayerInfo[playerid][pConnectSeconds] = dini_Int(string2,"ConnectedTime");
PlayerInfo[playerid][pReg] = dini_Int(string2,"Registered");
PlayerInfo[playerid][pSex] = dini_Int(string2,"Sex");
PlayerInfo[playerid][pAge] = dini_Int(string2,"Age");
PlayerInfo[playerid][pOrigem] = dini_Int(string2,"Origem");
PlayerInfo[playerid][pHaveWalkie] = dini_Int(string2,"pHaveWalkie");
PlayerInfo[playerid][pHotel] = dini_Int(string2,"Hotel");
PlayerInfo[playerid][pOculos] = dini_Int(string2,"Oculos");
PlayerInfo[playerid][pAnabU] = dini_Int(string2,"UsandoANAB");
PlayerInfo[playerid][pSkin1] = dini_Int(string2,"SKIN1");
PlayerInfo[playerid][pSkin2] = dini_Int(string2,"SKIN2");
PlayerInfo[playerid][pEtnia] = dini_Int(string2,"Origin");
PlayerInfo[playerid][pCK] = dini_Int(string2,"CK");
PlayerInfo[playerid][pMuted] = dini_Int(string2,"Muted");
PlayerInfo[playerid][pFrozen] = dini_Int(string2,"Frozen");
PlayerInfo[playerid][pExp] = dini_Int(string2,"Respect");
PlayerInfo[playerid][pCash] = dini_Int(string2,"Money");
PlayerInfo[playerid][pAccount] = dini_Int(string2,"Bank");
PlayerInfo[playerid][pCrimes] = dini_Int(string2,"Crimes");
PlayerInfo[playerid][pWanted] = dini_Int(string2,"Wanted");
PlayerInfo[playerid][pWantedLevel] = dini_Int(string2,"WantedLevel");
PlayerInfo[playerid][pArrested] = dini_Int(string2,"Arrested");
PlayerInfo[playerid][pViciado] = dini_Int(string2,"pViciado");
PlayerInfo[playerid][pCD] = dini_Int(string2,"pCD");
PlayerInfo[playerid][pInvestimento] = dini_Int(string2,"Investimento");
PlayerInfo[playerid][pInvestimentoTipo] = dini_Int(string2,"InvestimentoTipo");
//strmid(PlayerInfo[playerid][pInvestimentoNome],dini_Get(string2,"InvestimentoNome"),0,strlen(dini_Get(string2,"InvestimentoNome")),255);
PlayerInfo[playerid][pMask] = dini_Int(string2,"MascaraJustin");
PlayerInfo[playerid][pMaskNumber] = dini_Int(string2,"MaskID");
PlayerInfo[playerid][pSCT] = dini_Int(string2,"SemContrato");
PlayerInfo[playerid][pChapeuID] = dini_Int(string2, "pChapeuID");
PlayerInfo[playerid][pGasQuantia] = dini_Int(string2,"GasQuantia");
PlayerInfo[playerid][pCaminhoneiroT] = dini_Int(string2,"Caminhoneiro");
PlayerInfo[playerid][pJob] = dini_Int(string2,"Job");
PlayerInfo[playerid][pPayCheck] = dini_Int(string2,"Paycheck");
PlayerInfo[playerid][pTanabolisante] = dini_Int(string2,"tANAB");
PlayerInfo[playerid][pJailed] = dini_Int(string2,"Jailed");
PlayerInfo[playerid][pJailTime] = dini_Int(string2,"JailTime");
PlayerInfo[playerid][pMats] = dini_Int(string2,"Mats");
PlayerInfo[playerid][pLeader] = dini_Int(string2,"Leader");
PlayerInfo[playerid][pMember] = dini_Int(string2,"Member");
PlayerInfo[playerid][pFMember] = dini_Int(string2,"FMember");
PlayerInfo[playerid][pRank] = dini_Int(string2,"Rank");
PlayerInfo[playerid][pChar] = dini_Int(string2,"Char");
PlayerInfo[playerid][pContractTime] = dini_Int(string2,"ContractTime");
PlayerInfo[playerid][pHealth] = dini_Float(string2,"pHealth");
PlayerInfo[playerid][pArmour] = dini_Float(string2,"pArmour");
PlayerInfo[playerid][pInt] = dini_Int(string2,"Int");
PlayerInfo[playerid][pInteriorNr] = dini_Int(string2,"InteriorNr");
PlayerInfo[playerid][pLocal] = dini_Int(string2,"Local");
PlayerInfo[playerid][pTeam] = dini_Int(string2,"Team");
PlayerInfo[playerid][pModel] = dini_Int(string2,"Model");
PlayerInfo[playerid][pPnumber] = dini_Int(string2,"PhoneNr");
PlayerInfo[playerid][pPcarkey] = dini_Int(string2,"Car");
PlayerInfo[playerid][pPcarkey2] = dini_Int(string2,"Car2");
PlayerInfo[playerid][pPhousekey] = dini_Int(string2,"House");
PlayerInfo[playerid][pPbiskey] = dini_Int(string2,"Bizz");
PlayerInfo[playerid][pPos_x] = dini_Float(string2,"Pos_x");
PlayerInfo[playerid][pPos_y] = dini_Float(string2,"Pos_y");
PlayerInfo[playerid][pPos_z] = dini_Float(string2,"Pos_z");
PlayerInfo[playerid][pCarLic] = dini_Int(string2,"CarLic");
PlayerInfo[playerid][pFlyLic] = dini_Int(string2,"FlyLic");
PlayerInfo[playerid][pBoatLic] = dini_Int(string2,"BoatLic");
PlayerInfo[playerid][pTruckLic] = dini_Int(string2,"TruckLic");
PlayerInfo[playerid][pGunLic] = dini_Int(string2,"GunLic");
PlayerInfo[playerid][pPayDay] = dini_Int(string2,"PayDay");
PlayerInfo[playerid][pPayDayHad] = dini_Int(string2,"PayDayHad");
PlayerInfo[playerid][pWatch] = dini_Int(string2,"Watch");
PlayerInfo[playerid][pAlcoholPerk] = dini_Int(string2,"AlcoholPerk");
PlayerInfo[playerid][pDrugPerk] = dini_Int(string2,"DrugPerk");
PlayerInfo[playerid][pTraderPerk] = dini_Int(string2,"TraderPerk");
PlayerInfo[playerid][pTut] = dini_Int(string2,"Tutorial");
PlayerInfo[playerid][pVirWorld] = dini_Int(string2,"VirWorld");
PlayerInfo[playerid][pFuel] = dini_Int(string2,"Fuel");
PlayerInfo[playerid][pUseAccent] = dini_Int(string2,"pUseAccent");
strmid(PlayerInfo[playerid][pAccent],dini_Get(string2,"Accent"),0,strlen(dini_Get(string2,"Accent")),255);
strmid(PlayerInfo[playerid][pApp],dini_Get(string2,"App"),0,strlen(dini_Get(string2,"App")),255);
strmid(PlayerInfo[playerid][pTato],dini_Get(string2,"Tato"),0,strlen(dini_Get(string2,"Tato")),255);
PlayerInfo[playerid][pPeso] = dini_Int(string2,"Peso");
PlayerInfo[playerid][pAltura] = dini_Int(string2,"Altura");
PlayerInfo[playerid][pBandana] = dini_Int(string2,"BandanaID");
//
strmid(PlayerInfo[playerid][pTelNote1],dini_Get(string2,"TelNote1"),0,strlen(dini_Get(string2,"TelNote1")),255);
PlayerInfo[playerid][pTelNote1s] = dini_Int(string2,"TelNote1s");
strmid(PlayerInfo[playerid][pTelNote2],dini_Get(string2,"TelNote2"),0,strlen(dini_Get(string2,"TelNote2")),255);
PlayerInfo[playerid][pTelNote2s] = dini_Int(string2,"TelNote2s");
strmid(PlayerInfo[playerid][pTelNote3],dini_Get(string2,"TelNote3"),0,strlen(dini_Get(string2,"TelNote3")),255);
PlayerInfo[playerid][pTelNote3s] = dini_Int(string2,"TelNote3s");
//
strmid(PlayerInfo[playerid][pNote1],dini_Get(string2,"Note1"),0,strlen(dini_Get(string2,"Note1")),255);
PlayerInfo[playerid][pNote1s] = dini_Int(string2,"Note1s");
strmid(PlayerInfo[playerid][pNote2],dini_Get(string2,"Note2"),0,strlen(dini_Get(string2,"Note2")),255);
PlayerInfo[playerid][pNote2s] = dini_Int(string2,"Note2s");
strmid(PlayerInfo[playerid][pNote3],dini_Get(string2,"Note3"),0,strlen(dini_Get(string2,"Note3")),255);
PlayerInfo[playerid][pNote3s] = dini_Int(string2,"Note3s");
strmid(PlayerInfo[playerid][pNote4],dini_Get(string2,"Note4"),0,strlen(dini_Get(string2,"Note4")),255);
PlayerInfo[playerid][pNote4s] = dini_Int(string2,"Note4s");
strmid(PlayerInfo[playerid][pNote5],dini_Get(string2,"Note5"),0,strlen(dini_Get(string2,"Note5")),255);
PlayerInfo[playerid][pNote5s] = dini_Int(string2,"Note5s");
PlayerInfo[playerid][pInvWeapon] = dini_Int(string2,"InvWeapon");
PlayerInfo[playerid][pInvAmmo] = dini_Int(string2,"InvAmmo");
PlayerInfo[playerid][pInvWeapon2] = dini_Int(string2,"InvWeapon2");
PlayerInfo[playerid][pInvAmmo2] = dini_Int(string2,"InvAmmo2");
PlayerInfo[playerid][pInvWeapon3] = dini_Int(string2,"InvWeapon3");
PlayerInfo[playerid][pInvAmmo3] = dini_Int(string2,"InvAmmo3");
PlayerInfo[playerid][pInvWeapon4] = dini_Int(string2,"InvWeapon4");
PlayerInfo[playerid][pInvAmmo4] = dini_Int(string2,"InvAmmo4");
PlayerInfo[playerid][pInvWeapon5] = dini_Int(string2,"InvWeapon5");
PlayerInfo[playerid][pInvAmmo5] = dini_Int(string2,"InvAmmo5");
PlayerInfo[playerid][pInvWeapon6] = dini_Int(string2,"InvWeapon6");
PlayerInfo[playerid][pInvAmmo6] = dini_Int(string2,"InvAmmo6");
PlayerInfo[playerid][pLighter] = dini_Int(string2,"Lighter");
PlayerInfo[playerid][pCigarettes] = dini_Int(string2,"Cigarettes");
PlayerInfo[playerid][pAnabolisante] = dini_Int(string2,"pAnabolisante");
PlayerInfo[playerid][pDuty] = dini_Int(string2,"OnDuty");
PlayerInfo[playerid][pWarned] = dini_Int(string2,"Warnings");
PlayerInfo[playerid][pSwat] = dini_Int(string2,"Swat");
PlayerInfo[playerid][pCabelo] = dini_Int(string2,"Cabelo");
PlayerInfo[playerid][pFS] = dini_Int(string2,"Fighting");
PlayerInfo[playerid][pBoxiSkill] = dini_Int(string2,"Boxing");
PlayerInfo[playerid][pKneeSkill] = dini_Int(string2,"KneeHead");
PlayerInfo[playerid][pKungSkill] = dini_Int(string2,"KungFu");
PlayerInfo[playerid][pGrabSkill] = dini_Int(string2,"GrabKick");
PlayerInfo[playerid][pElbowSkill] = dini_Int(string2,"ElBow");
PlayerInfo[playerid][pSpeedo] = dini_Int(string2,"Speedo");
PlayerInfo[playerid][pAppearList] = dini_Int(string2,"AppearList");
PlayerInfo[playerid][pAmmuTrainTime] = dini_Int(string2,"AmmunationTime");
PlayerInfo[playerid][pPistSkill] = dini_Int(string2,"PistolSkill");
PlayerInfo[playerid][pSilenSkill] = dini_Int(string2,"SilencedSkill");
PlayerInfo[playerid][pDesertSkill] = dini_Int(string2,"DesertSkill");
PlayerInfo[playerid][pShotgSkill] = dini_Int(string2,"ShotgunSkill");
PlayerInfo[playerid][pSawnSkill] = dini_Int(string2,"SawnoffSkill");
PlayerInfo[playerid][pCombSkill] = dini_Int(string2,"CombatSkill");
PlayerInfo[playerid][pUziSkill] = dini_Int(string2,"UziSkill");
PlayerInfo[playerid][pSmgSkill] = dini_Int(string2,"SMGSkill");
PlayerInfo[playerid][pAkSkill] = dini_Int(string2,"AK47Skill");
PlayerInfo[playerid][pM4Skill] = dini_Int(string2,"M4Skill");
PlayerInfo[playerid][pShiftName] = dini_Int(string2,"ShiftName");
PlayerInfo[playerid][pWeapon] = dini_Int(string2,"Weapon");
PlayerInfo[playerid][pAmmo] = dini_Int(string2,"Ammo");
PlayerInfo[playerid][pWeapon2] = dini_Int(string2,"Weapon2");
PlayerInfo[playerid][pAmmo2] = dini_Int(string2,"Ammo2");
PlayerInfo[playerid][pWeapon3] = dini_Int(string2,"Weapon3");
PlayerInfo[playerid][pAmmo3] = dini_Int(string2,"Ammo3");
PlayerInfo[playerid][pWeapon4] = dini_Int(string2,"Weapon4");
PlayerInfo[playerid][pAmmo4] = dini_Int(string2,"Ammo4");
PlayerInfo[playerid][pWeapon5] = dini_Int(string2,"Weapon5");
PlayerInfo[playerid][pAmmo5] = dini_Int(string2,"Ammo5");
PlayerInfo[playerid][pWeapon6] = dini_Int(string2,"Weapon6");
PlayerInfo[playerid][pAmmo6] = dini_Int(string2,"Ammo6");
PlayerInfo[playerid][pWeapon7] = dini_Int(string2,"Weapon7");
PlayerInfo[playerid][pAmmo7] = dini_Int(string2,"Ammo7");
PlayerInfo[playerid][pWeapon8] = dini_Int(string2,"Weapon8");
PlayerInfo[playerid][pAmmo8] = dini_Int(string2,"Ammo8");
PlayerInfo[playerid][pWeapon9] = dini_Int(string2,"Weapon9");
PlayerInfo[playerid][pAmmo9] = dini_Int(string2,"Ammo9");
PlayerInfo[playerid][pWeapon10] = dini_Int(string2,"Weapon10");
PlayerInfo[playerid][pAmmo10] = dini_Int(string2,"Ammo10");
PlayerInfo[playerid][pWeapon11] = dini_Int(string2,"Weapon11");
PlayerInfo[playerid][pAmmo11] = dini_Int(string2,"Ammo11");
PlayerInfo[playerid][pWeapon12] = dini_Int(string2,"Weapon12");
PlayerInfo[playerid][pAmmo12] = dini_Int(string2,"Ammo12");
PlayerInfo[playerid][pChatMode] = dini_Int(string2,"ChatMode");
strmid(PlayerInfo[playerid][pPunishment1],dini_Get(string2,"Punishment1"),0,strlen(dini_Get(string2,"Punishment1")),255);
strmid(PlayerInfo[playerid][pPunishment2],dini_Get(string2,"Punishment2"),0,strlen(dini_Get(string2,"Punishment2")),255);
strmid(PlayerInfo[playerid][pPunishment3],dini_Get(string2,"Punishment3"),0,strlen(dini_Get(string2,"Punishment3")),255);
strmid(PlayerInfo[playerid][pPunishment4],dini_Get(string2,"Punishment4"),0,strlen(dini_Get(string2,"Punishment4")),255);
strmid(PlayerInfo[playerid][pPunishment5],dini_Get(string2,"Punishment5"),0,strlen(dini_Get(string2,"Punishment5")),255);
strmid(PlayerInfo[playerid][pPunishment6],dini_Get(string2,"Punishment6"),0,strlen(dini_Get(string2,"Punishment6")),255);
strmid(PlayerInfo[playerid][pPunishment7],dini_Get(string2,"Punishment7"),0,strlen(dini_Get(string2,"Punishment7")),255);
strmid(PlayerInfo[playerid][pPunishment8],dini_Get(string2,"Punishment8"),0,strlen(dini_Get(string2,"Punishment8")),255);
PlayerInfo[playerid][pNextPunishment] = dini_Int(string2,"NextPunishment");
PlayerInfo[playerid][pTazerBullets] = dini_Int(string2,"TazerBullets");
strmid(PlayerInfo[playerid][pIP],dini_Get(string2,"IP"),0,strlen(dini_Get(string2,"IP")),255);
strmid(PlayerInfo[playerid][pLastSeen],dini_Get(string2,"LastLogged"),0,strlen(dini_Get(string2,"LastLogged")),255);
PlayerInfo[playerid][jTColete] = dini_Int(string2,"TColete");
strmid(PlayerInfo[playerid][pRegistredDate],dini_Get(string2,"RegistredDate"),0,strlen(dini_Get(string2,"RegistredDate")),255);
BizzEntered[playerid] = dini_Int(string2,"BizzEntered");
HouseEntered[playerid] = dini_Int(string2,"HouseEntered");
PlayerInfo[playerid][pDecoder] = dini_Int(string2,"Decoder");
PlayerInfo[playerid][pLSP] = dini_Int(string2,"LSP");
PlayerInfo[playerid][pASOS] = dini_Int(string2,"SOSA");
PlayerInfo[playerid][pHaval] = dini_Int(string2,"pHAval");
PlayerInfo[playerid][pForca] = dini_Int(string2,"Forca");
strmid(PlayerInfo[playerid][pVoz],dini_Get(string2,"Voz"),0,strlen(dini_Get(string2,"Voz")),255);
PlayerInfo[playerid][pATrab] = dini_Int(string2,"ATrab");
PlayerInfo[playerid][pRusso] = dini_Int(string2,"pRusso");
PlayerInfo[playerid][pJapones] = dini_Int(string2,"pJapones");
PlayerInfo[playerid][pEspanhol] = dini_Int(string2,"pEspanhol");
PlayerInfo[playerid][pItaliano] = dini_Int(string2,"pItaliano");
PlayerInfo[playerid][pFacul] = dini_Int(string2,"pFacul");
PlayerInfo[playerid][pMotoboy] = dini_Int(string2,"pMotoboy");
//VipPointsbyrick
PlayerInfo[playerid][pVipPoints] = dini_Int(string2,"pVipPoints");
PlayerInfo[playerid][pPDPoints] = dini_Int(string2,"VPPDPoints");
PlayerInfo[playerid][pPDPoints2] = dini_Int(string2,"VPPDPoints2");
PlayerInfo[playerid][pAutoNivel] = dini_Int(string2,"VPAutoNivel");
PlayerInfo[playerid][pTOnota] = dini_Int(string2,"pTOnota");
PlayerInfo[playerid][p2Level] = dini_Int(string2,"VP4Level");
PlayerInfo[playerid][pG3000] = dini_Int(string2,"pG3000");
PlayerInfo[playerid][pG5000] = dini_Int(string2,"pG5000");
PlayerInfo[playerid][pSDEmprego] = dini_Int(string2,"pSDEmprego");
PlayerInfo[playerid][pTEstilos] = dini_Int(string2,"pTEstilos");
PlayerInfo[playerid][pG7000] = dini_Int(string2,"pG7000");
PlayerInfo[playerid][pCarteirou] = dini_Int(string2,"pCarteirou");
PlayerInfo[playerid][pTratorou] = dini_Int(string2,"pTratorou");
PlayerInfo[playerid][pPescou] = dini_Int(string2,"pPescou");
PlayerInfo[playerid][pMultado] = dini_Int(string2,"pMultado");
//
PlayerInfo[playerid][pMaconha] = dini_Int(string2,"pMaconha");
PlayerInfo[playerid][pMaconhaM] = dini_Int(string2,"pMaconhaM");
PlayerInfo[playerid][pLSD] = dini_Int(string2,"pLSD");
PlayerInfo[playerid][pLSDM] = dini_Int(string2,"pLSDM");
PlayerInfo[playerid][pCocaina] = dini_Int(string2,"pCocaina");
PlayerInfo[playerid][pCocainaM] = dini_Int(string2,"pCocainaM");
PlayerInfo[playerid][pCrack] = dini_Int(string2,"pCrack");
PlayerInfo[playerid][pCrackM] = dini_Int(string2,"pCrackM");
PlayerInfo[playerid][pNovaDroga] = dini_Int(string2,"pNovaDroga");
strmid(PlayerInfo[playerid][pNovaDrogaNome],dini_Get(string2,"pNovaDrogaNome"),0,strlen(dini_Get(string2,"pNovaDrogaNome")),255);
PlayerInfo[playerid][pNovaDroga2] = dini_Int(string2,"pNovaDroga2");
strmid(PlayerInfo[playerid][pNovaDrogaNome2],dini_Get(string2,"pNovaDrogaNome2"),0,strlen(dini_Get(string2,"pNovaDrogaNome2")),255);
PlayerInfo[playerid][pDrogaSkill] = dini_Int(string2,"pDrogaSkill");
PlayerInfo[playerid][pMistura1] = dini_Int(string2,"Mistura1");
PlayerInfo[playerid][pMistura2] = dini_Int(string2,"Mistura2");
PlayerInfo[playerid][pMistura3] = dini_Int(string2,"Mistura3");
PlayerInfo[playerid][pMistura4] = dini_Int(string2,"Mistura4");
PlayerInfo[playerid][pMistura5] = dini_Int(string2,"Mistura5");
PlayerInfo[playerid][pMaconhaVicio] = dini_Int(string2,"pMaconhaVicio");
PlayerInfo[playerid][pCocainaVicio] = dini_Int(string2,"pCocainaVicio");
PlayerInfo[playerid][pCrackVicio] = dini_Int(string2,"pCrackVicio");
PlayerInfo[playerid][pLSDVicio] = dini_Int(string2,"pLSDVicio");
PlayerInfo[playerid][pCaminhaoInCity] = dini_Int(string2,"pCaminhaoInCity");
PlayerInfo[playerid][pGuardaVidas] = dini_Int(string2, "pGuardaVidas");
strmid(PlayerInfo[playerid][pAdmNome],dini_Get(string2,"AdmNome"),0,strlen(dini_Get(string2,"AdmNome")),MAX_PLAYER_NAME);
PlayerInfo[playerid][pOlhos] = dini_Int(string2,"Olhos");
strmid(PlayerInfo[playerid][pHelperData],dini_Get(string2,"HelperData"),0,strlen(dini_Get(string2,"HelperData")),255);
PlayerInfo[playerid][pLenhador] = dini_Int(string2,"pLenhador");
PlayerInfo[playerid][pHistoria] = dini_Int(string2,"pHistoria");
strmid(PlayerInfo[playerid][pNoticia],dini_Get(string2,"Noticia"),0,strlen(dini_Get(string2,"Noticia")),128);
PlayerInfo[playerid][pTestamento] = dini_Int(string2,"pTestamento");
PlayerInfo[playerid][pDEVP] = dini_Int(string2,"pDEVP");
PlayerInfo[playerid][pAKVP] = dini_Int(string2,"pAKVP");
PlayerInfo[playerid][pChapeuID] = dini_Int(string2,"pChapeuID");
PlayerInfo[playerid][pRelogio] = dini_Int(string2,"relogio");
strmid(PlayerInfo[playerid][abcNome],dini_Get(string2,"nome"),0,strlen(dini_Get(string2,"nome")),128);
strmid(PlayerInfo[playerid][pSenha],dini_Get(string2,"senha"),0,strlen(dini_Get(string2,"senha")),128);
}
If anyone can make one line or something like, to show me how I'll start to change this to MySql, I'll make thanks forever.
Att,