24.11.2012, 12:37
I know what means this error but how can i split this sscanf ?
pawn Код:
sscanf(resultline, "p<|>ddddddddddddddddds[24]s[32]ddddddds[32]ddddddddddds[128]ds[128]ds[128]ds[128]ds[128]dddddddddddddddddddddddddddddddddddddddffffffdds[20]dddddds[24]s[32]s[24]ddddddddddddddddd",
PlayerInfo[extraid][pLevel],
PlayerInfo[extraid][pExperience],
PlayerInfo[extraid][pClass],
PlayerInfo[extraid][pSkillPoints],
PlayerInfo[extraid][pSkill1],
PlayerInfo[extraid][pSkill2],
PlayerInfo[extraid][pSkill3],
PlayerInfo[extraid][pSkill4],
PlayerInfo[extraid][pSkill5],
PlayerInfo[extraid][pSkill6],
PlayerInfo[extraid][pAdminLevel],
PlayerInfo[extraid][pHelperLevel],
PlayerInfo[extraid][pVipLevel],
PlayerInfo[extraid][pWarns],
PlayerInfo[extraid][pFrozen],
PlayerInfo[extraid][pJob],
PlayerInfo[extraid][pContractTime],
PlayerInfo[extraid][pWhyLeft],
PlayerInfo[extraid][pLastSeen],
PlayerInfo[extraid][pMoney],
PlayerInfo[extraid][pSkin],
PlayerInfo[extraid][pAge],
PlayerInfo[extraid][pOrigin],
PlayerInfo[extraid][pCrimes],
PlayerInfo[extraid][pArrested],
PlayerInfo[extraid][pWantedLevel],
PlayerInfo[extraid][pWantedReason],
PlayerInfo[extraid][pWantedDeaths],
PlayerInfo[extraid][pInv1],
PlayerInfo[extraid][pInv2],
PlayerInfo[extraid][pInv3],
PlayerInfo[extraid][pInv4],
PlayerInfo[extraid][pInv5],
PlayerInfo[extraid][pInv6],
PlayerInfo[extraid][pInv7],
PlayerInfo[extraid][pInv8],
PlayerInfo[extraid][pInv9],
PlayerInfo[extraid][pInv10],
PlayerInfo[extraid][pNote1],
PlayerInfo[extraid][pNote1s],
PlayerInfo[extraid][pNote2],
PlayerInfo[extraid][pNote2s],
PlayerInfo[extraid][pNote3],
PlayerInfo[extraid][pNote3s],
PlayerInfo[extraid][pNote4],
PlayerInfo[extraid][pNote4s],
PlayerInfo[extraid][pNote5],
PlayerInfo[extraid][pNote5s],
PlayerInfo[extraid][pWeapon1],
PlayerInfo[extraid][pAmmo1],
PlayerInfo[extraid][pWeapon2],
PlayerInfo[extraid][pAmmo2],
PlayerInfo[extraid][pWeapon3],
PlayerInfo[extraid][pAmmo3],
PlayerInfo[extraid][pWeapon4],
PlayerInfo[extraid][pAmmo4],
PlayerInfo[extraid][pWeapon5],
PlayerInfo[extraid][pAmmo5],
PlayerInfo[extraid][pWeapon6],
PlayerInfo[extraid][pAmmo6],
PlayerInfo[extraid][pWeapon7],
PlayerInfo[extraid][pAmmo7],
PlayerInfo[extraid][pWeapon8],
PlayerInfo[extraid][pAmmo8],
PlayerInfo[extraid][pWeapon9],
PlayerInfo[extraid][pAmmo9],
PlayerInfo[extraid][pWeapon10],
PlayerInfo[extraid][pAmmo10],
PlayerInfo[extraid][pWeapon11],
PlayerInfo[extraid][pAmmo11],
PlayerInfo[extraid][pWeapon12],
PlayerInfo[extraid][pAmmo12],
PlayerInfo[extraid][pViewCmds],
PlayerInfo[extraid][pViewPms],
PlayerInfo[extraid][pAppearList],
PlayerInfo[extraid][pJailed],
PlayerInfo[extraid][pPhoneNumber],
PlayerInfo[extraid][pPhoneCredit],
PlayerInfo[extraid][pCarLic],
PlayerInfo[extraid][pFlyLic],
PlayerInfo[extraid][pBoatLic],
PlayerInfo[extraid][pFishLic],
PlayerInfo[extraid][pGunLic],
PlayerInfo[extraid][pMember],
PlayerInfo[extraid][pLeader],
PlayerInfo[extraid][pRank],
PlayerInfo[extraid][xPos],
PlayerInfo[extraid][yPos],
PlayerInfo[extraid][zPos],
PlayerInfo[extraid][Angle],
PlayerInfo[extraid][pHealth],
PlayerInfo[extraid][pArmour],
PlayerInfo[extraid][pInt],
PlayerInfo[extraid][pVw],
PlayerInfo[extraid][pRegDate],
PlayerInfo[extraid][pHours],
PlayerInfo[extraid][pMinutes],
PlayerInfo[extraid][pSeconds],
PlayerInfo[extraid][pKills],
PlayerInfo[extraid][pDeaths],
PlayerInfo[extraid][pMuteTime],
PlayerInfo[extraid][pMutedBy],
PlayerInfo[extraid][pMuteReason],
PlayerInfo[extraid][pMuteDate],
PlayerInfo[extraid][pJailTime],
PlayerInfo[extraid][pViewChat],
PlayerInfo[extraid][pFS],
PlayerInfo[extraid][pPistSkill],
PlayerInfo[extraid][pSilenSkill],
PlayerInfo[extraid][pDesertSkill],
PlayerInfo[extraid][pShotgSkill],
PlayerInfo[extraid][pSawnSkill],
PlayerInfo[extraid][pCombSkill],
PlayerInfo[extraid][pUziSkill],
PlayerInfo[extraid][pAkSkill],
PlayerInfo[extraid][pM4Skill],
PlayerInfo[extraid][pBoxiSkill],
PlayerInfo[extraid][pKneeSkill],
PlayerInfo[extraid][pKungSkill],
PlayerInfo[extraid][pGrabSkill],
PlayerInfo[extraid][pElbowSkill]);