input line too long (after substitutions)
#4

What you can do is this:

pawn Код:
string[1024];
strcat(string,"UPDATE Accounts SET `Password`='%s',PlayerLevel=%i,DonateRank=%i,UpgradePoints=%i,ConnectedTime=%i,`Registered`=%i,Origin=%i,Muted=%i1");
    strcat(string,"Respect=%i,`Money`=%i,Bank=%i,Crimes=%i,Kills=%i,Deaths=%i,Arrested=%i, WantedDeaths=%i,Phonebook=%i,LottoNr=%i,Fishes=%i,BiggestFish=%i,");
    strcat(string,"Job=%i,Paycheck=%i,HeadValue=%i,Jailed=%i,JailTime=%i,Materials=%i,Drugs=%i,Leader=%i,Rank=%i,Chara=%i,ContractTime=%i,DetSkill=%i,");
    strcat(string,"SexSkill=%i, BoxSkill=%i,LawSkill=%i,MechSkill=%i,JackSkill=%i,CarSkill=%i,NewsSkill=%i,DrugsSkill=%i,CookSkill=%i,FishSkill=%i,pSHealth=%f,`pHealth`=%f,");
    strcat(string,"`Inte`=%i,Local=%i,Team=%i,Model=%i,PhoneNr=%i,House=%i,Bizz=%i,Pos_x=%f,Pos_y=%f,Pos_z=%f,CarLic=%i,FlyLic=%i,BoatLic=%i,FishLic=%i,");
    strcat(string,"GunLic=%i,Gun1=%i,Gun2=%i,Gun3=%i,Gun4=%i,Ammo1=%i,Ammo2=%i,Ammo3=%i,Ammo4=%i,CarTime=%i,PayDay=%i,PayDayHad=%i,CDPlayer=%i,Wins=%i,");
    strcat(string,"Loses=%i,AlcoholPerk=%i,DrugPerk=%i,MiserPerk=%i,PainPerk=%i,TraderPerk=%i,Tutorial=%i,Warnings=%i,Adjustable=%i,Fuel=%i,Married=%i,MarriedTo=%i,Locked=%i,Fraqcia=%i,WHERE Username = '%s'");

format(string,1024,string,PlayerInfo[playerid][pKey], PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pDonateRank],
    PlayerInfo[playerid][gPupgrade], PlayerInfo[playerid][pConnectTime], PlayerInfo[playerid][pReg], PlayerInfo[playerid][pOrigin],
    PlayerInfo[playerid][pMuted], PlayerInfo[playerid][pExp],  PlayerInfo[playerid][pCash], PlayerInfo[playerid][pAccount],
    PlayerInfo[playerid][pCrimes], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pArrested],
    PlayerInfo[playerid][pWantedDeaths], PlayerInfo[playerid][pPhoneBook], PlayerInfo[playerid][pLottoNr], PlayerInfo[playerid][pFishes],
    PlayerInfo[playerid][pBiggestFish], PlayerInfo[playerid][pJob], PlayerInfo[playerid][pPayCheck], PlayerInfo[playerid][pHeadValue],
    PlayerInfo[playerid][pJailed], PlayerInfo[playerid][pJailTime], PlayerInfo[playerid][pMats], PlayerInfo[playerid][pDrugs],
    PlayerInfo[playerid][pLeader], PlayerInfo[playerid][pMember], PlayerInfo[playerid][pRank], PlayerInfo[playerid][pChar],
    PlayerInfo[playerid][pContractTime], PlayerInfo[playerid][pDetSkill], PlayerInfo[playerid][pSexSkill], PlayerInfo[playerid][pBoxSkill],
    PlayerInfo[playerid][pLawSkill], PlayerInfo[playerid][pMechSkill], PlayerInfo[playerid][pJackSkill], PlayerInfo[playerid][pCarSkill],
    PlayerInfo[playerid][pNewsSkill], PlayerInfo[playerid][pDrugsSkill], PlayerInfo[playerid][pCookSkill], PlayerInfo[playerid][pFishSkill],
    PlayerInfo[playerid][pSHealth], PlayerInfo[playerid][pHealth], PlayerInfo[playerid][pHealth], PlayerInfo[playerid][pInt],
    PlayerInfo[playerid][pLocal], PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPnumber],
    PlayerInfo[playerid][pPhousekey], PlayerInfo[playerid][pPbiskey], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y],
    PlayerInfo[playerid][pPos_z], PlayerInfo[playerid][pCarLic], PlayerInfo[playerid][pFlyLic], PlayerInfo[playerid][pBoatLic],
    PlayerInfo[playerid][pFishLic], PlayerInfo[playerid][pGunLic], PlayerInfo[playerid][pGun1], PlayerInfo[playerid][pGun2],
    PlayerInfo[playerid][pGun3], PlayerInfo[playerid][pGun4], PlayerInfo[playerid][pAmmo1], PlayerInfo[playerid][pAmmo2],
    PlayerInfo[playerid][pAmmo3], PlayerInfo[playerid][pAmmo4], PlayerInfo[playerid][pCarTime], PlayerInfo[playerid][pPayDay],
    PlayerInfo[playerid][pPayDayHad], PlayerInfo[playerid][pCDPlayer], PlayerInfo[playerid][pWins], PlayerInfo[playerid][pLoses],
    PlayerInfo[playerid][pAlcoholPerk], PlayerInfo[playerid][pDrugPerk], PlayerInfo[playerid][pMiserPerk], PlayerInfo[playerid][pPainPerk],
    PlayerInfo[playerid][pTraderPerk], PlayerInfo[playerid][pTut], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pAdjustable],
    PlayerInfo[playerid][pFuel], PlayerInfo[playerid][pMarried], PlayerInfo[playerid][pLocked], PlayerInfo[playerid][pFac], name);
Reply


Messages In This Thread
input line too long (after substitutions) - by rati555 - 16.04.2012, 18:14
Re: input line too long (after substitutions) - by iggy1 - 16.04.2012, 18:17
Re: input line too long (after substitutions) - by AndreT - 16.04.2012, 18:37
Re: input line too long (after substitutions) - by Joe Staff - 16.04.2012, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)