public OnAccountLoad(playerid) { PlayerInfo[playerid][pBankPIN] = cache_get_row_int(0,4,handle), //Line 40626 PlayerInfo[playerid][pBankMoney] = cache_get_row_int(0, 5, handle), PlayerInfo[playerid][pBankAccount] = cache_get_row_int(0, 6, handle), PlayerInfo[playerid][pLotteryTicket] = cache_get_row_int(0, 7, handle), PlayerInfo[playerid][pWinner] = cache_get_row_int(0, 8, handle), PlayerInfo[playerid][pBriefcase] = cache_get_row_int(0, 9, handle), gatekey[playerid] = cache_get_row_int(0, 10, handle), gatekey2[playerid] = cache_get_row_int(0, 11, handle), gatekey3[playerid] = cache_get_row_int(0, 12, handle), gatekey4[playerid] = cache_get_row_int(0, 13, handle), gatekey5[playerid] = cache_get_row_int(0, 14, handle), gatekey6[playerid] = cache_get_row_int(0, 15, handle), gatekey7[playerid] = cache_get_row_int(0, 16, handle), gatekey8[playerid] = cache_get_row_int(0, 17, handle), gatekey9[playerid] = cache_get_row_int(0, 18, handle), gatekey10[playerid] = cache_get_row_int(0, 19, handle), GarageKey[playerid] = cache_get_row_int(0, 20, handle), HouseKey[playerid] = cache_get_row_int(0, 21, handle), PlayerInfo[playerid][pGiftBoxes] = cache_get_row_int(0, 22, handle), gifttimer[playerid] = cache_get_row_int(0, 23, handle), PlayerInfo[playerid][pSecurityClearance] = cache_get_row_int(0, 24, handle), PlayerInfo[playerid][pRedLaser] = cache_get_row_int(0, 25, handle), PlayerInfo[playerid][pGreenLaser] = cache_get_row_int(0, 26, handle), PlayerInfo[playerid][pOrangeLaser] = cache_get_row_int(0, 27, handle), PlayerInfo[playerid][pPinkLaser] = cache_get_row_int(0, 28, handle), PlayerInfo[playerid][pYellowLaser] = cache_get_row_int(0, 29, handle), PlayerInfo[playerid][pBlueLaser] = cache_get_row_int(0, 30, handle), pistol_skill[playerid] = cache_get_row_int(0, 31, handle), sdpistol_skill[playerid] = cache_get_row_int(0, 32, handle), deagle_skill[playerid] = cache_get_row_int(0, 33, handle), shotgun_skill[playerid] = cache_get_row_int(0, 34, handle), sawnoff_skill[playerid] = cache_get_row_int(0, 35, handle), spas12_skill[playerid] = cache_get_row_int(0, 36, handle), micro_skill[playerid] = cache_get_row_int(0, 37, handle), mp5_skill[playerid] = cache_get_row_int(0, 38, handle), ak47_skill[playerid] = cache_get_row_int(0, 39, handle), m4_skill[playerid] = cache_get_row_int(0, 40, handle), PlayerInfo[playerid][pDev] = cache_get_row_int(0, 41, handle), PlayerInfo[playerid][pLevel] = cache_get_row_int(0, 42, handle), PlayerInfo[playerid][pAdmin] = cache_get_row_int(0, 43, handle), PlayerInfo[playerid][pSecKey] = cache_get_row_int(0, 37, handle), PlayerInfo[playerid][pStealthed] = cache_get_row_int(0, 38, handle), PlayerInfo[playerid][pPermBand] = cache_get_row_int(0, 39, handle), PlayerInfo[playerid][pBanReason] = cache_get_field_content(0, 40, handle), PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle), PlayerInfo[playerid][pPrisonedBy] = cache_get_field_content(0, 42, handle), PlayerInfo[playerid][pAdminJailed] = cache_get_row_int(0, 43, handle), PlayerInfo[playerid][pWarns] = cache_get_row_int(0, 44, handle), PlayerInfo[playerid][pDisabled] = cache_get_row_int(0, 45, handle), PlayerInfo[playerid][pDonateRank] = cache_get_row_int(0, 46, handle), PlayerInfo[playerid][pJoinDate][1] = cache_get_row_int(0, 47, handle), PlayerInfo[playerid][pExpireDate][1] = cache_get_row_int(0, 48, handle), PlayerInfo[playerid][pJoinDate][2] = cache_get_row_int(0, 49, handle), PlayerInfo[playerid][pExpireDate][2] = cache_get_row_int(0, 50, handle), PlayerInfo[playerid][pBanAppealer] = cache_get_row_int(0, 51, handle), PlayerInfo[playerid][pGangMod] = cache_get_row_int(0, 52, handle), PlayerInfo[playerid][pFactionMod] = cache_get_row_int(0, 53, handle), PlayerInfo[playerid][pGangDirector] = cache_get_row_int(0, 54, handle); // Line 40683 return 1; }
enum pInfo { pKey, pLevel, pAdmin, pDev, CarSelect, Text:TutorialText[2], pSecKey, pBanned, pBanReason[128], pPermBand, pStealthed, pPrisonReason[128], pPrisonedBy[32], pAdminJailed, pWarns, pDisabled, pDonateRank, pJoinDate[4], pExpireDate[4], pBanAppealer, pGangMod, pFactionMod, pGangDirector, gPupgrade, pConnectTime, pReg, pSex, pAge, pOrigin, pMuted, pExp, pCash, pAccount, pCrimes, pCrime[6], pCrimeReason0[128], pCrimeReason1[128], pCrimeReason2[128], pCrimeReason3[128], pCrimeReason4[128], pCrimeReason5[128], pCrimeReporter0[MAX_PLAYER_NAME], pCrimeReporter1[MAX_PLAYER_NAME], pCrimeReporter2[MAX_PLAYER_NAME], pCrimeReporter3[MAX_PLAYER_NAME], pCrimeReporter4[MAX_PLAYER_NAME], pCrimeReporter5[MAX_PLAYER_NAME], pCrimeDate0[32], pCrimeDate1[32], pCrimeDate2[32], pCrimeDate3[32], pCrimeDate4[32], pCrimeDate5[32], pKills, pDeaths, pCHits, pFHits, pArrested, pPhoneBook, pLottoNr, pFishes, pBiggestFish, pJob, pPayCheck, pHeadValue, pJailed, pJailTime, pProducts, pMats, pWeed, pHeroin, pMeth, pCocaine, pSeeds, pLeader, pMember, pFMember, pRank, pDetSkill, pSexSkill, pBoxSkill, pLawSkill, pMechSkill, pJackSkill, pCarSkill, pDrugsSkill, pArmsSkill, pSmugglerSkill, pMailSkill, pHouseSkill, pThieveSkill, pFishSkill, pFightingStyle, Float:pHealth, Float:pArmor, pSHealth, pInt, pLocal, pVirtualWorld, pModel, pClothes, pPhone, pSetVehSpawn, pCarLic, pFlyLic, pFlyLic2, pBoatLic, pFishLic, pGunLic, pGun0, pGun1, pGun2, pGun3, pGun4, pGun5, pGun6, pGun7, pGun8, pGun9, pGun10, pGun11, pGun12, pCarTime, pDrugsTime, pLawyerTime, pLawyerFreeTime, pMechTime, pSexTime, pPlantTime, pRepairTime, pRobTime, pPayDay, pPayDayHad, pCDPlayer, pDice, pSpraycan, pScrew, pRope, pCigars, pSprunk, pCookies, pRewardTokens, pHoursPlayed, pWT, pWTc, bool:StartedBS1, bool:StartedBS2, bool:StartedCS1, bool:StartedCS2, bool:StartedPK1, bool:StartedPK2, bool:StartedPK3, bool:StartedPK4, pBombs, pScope, pMask, Text3D:pMaskLabel, pMaskName[MAX_PLAYER_NAME], pWins, pLoses, pTut, pOnDuty, pHospital, pAdjustable, pMarried, pMarriedTo[128], pContractBy[128], pIP[16], pWantedLevel, pNewbieMuted, pDMuted, pAdMuted, pHelpmeMuted, pReportMuted, pOOCMuted, pAMuted, pBReportMuted, pSafeSpawn, Float:pSPos_x, Float:pSPos_y, Float:pSPos_z, Float:pSPos_r, pHelper, pFamed, pGlasses, pBandana, pHelmet, pRequestingBackup, pVipColor, pBlindfolds, pSpeakPhone, pCheck, pDeck, pRedLaser, pGreenLaser, pOrangeLaser, pYellowLaser, pBlueLaser, pPinkLaser, pGiftBoxes, //Counter, pBriefcase, pCookedSteak, pCookedBurger, pCookedPizza, pCookedFish, pCookedSoup, pSecurityClearance, pLotteryTicket, pWinner, pBankAccount, pBankPIN, pBankMoney, pBills, pNameChange, pNewName[24], pWood, pDate[7], pDrugDemand, pDivision, pRegisterDate[7], pWeaponRestricted, pMoveTimer, pLockCar, pVehicleKeys, pVehicleKeysFrom, pRentVehicle, Fish1, Fish2, Fish3, Fish4, FishingRod, FishingBait, pAdminName[MAX_PLAYER_NAME], pNormalName[MAX_PLAYER_NAME], }; new PlayerInfo[MAX_PLAYERS][pInfo]; new handle; new PlayerCouponVehicle[MAX_PLAYERS][MAX_COUPONS]; new PlayerCouponPercentage[MAX_PLAYERS][MAX_COUPONS];
Change
pawn Код:
pawn Код:
|
PlayerInfo[playerid][pBankPIN] = cache_get_row_int(0,4,handle); PlayerInfo[playerid][pBankMoney] = cache_get_row_int(0, 5, handle); PlayerInfo[playerid][pBankAccount] = cache_get_row_int(0, 6, handle); PlayerInfo[playerid][pLotteryTicket] = cache_get_row_int(0, 7, handle); PlayerInfo[playerid][pWinner] = cache_get_row_int(0, 8, handle); PlayerInfo[playerid][pBriefcase] = cache_get_row_int(0, 9, handle); gatekey[playerid] = cache_get_row_int(0, 10, handle); gatekey2[playerid] = cache_get_row_int(0, 11, handle); gatekey3[playerid] = cache_get_row_int(0, 12, handle); gatekey4[playerid] = cache_get_row_int(0, 13, handle); gatekey5[playerid] = cache_get_row_int(0, 14, handle); gatekey6[playerid] = cache_get_row_int(0, 15, handle); gatekey7[playerid] = cache_get_row_int(0, 16, handle); gatekey8[playerid] = cache_get_row_int(0, 17, handle); gatekey9[playerid] = cache_get_row_int(0, 18, handle); gatekey10[playerid] = cache_get_row_int(0, 19, handle); GarageKey[playerid] = cache_get_row_int(0, 20, handle); HouseKey[playerid] = cache_get_row_int(0, 21, handle); PlayerInfo[playerid][pGiftBoxes] = cache_get_row_int(0, 22, handle); gifttimer[playerid] = cache_get_row_int(0, 23, handle); PlayerInfo[playerid][pSecurityClearance] = cache_get_row_int(0, 24, handle); PlayerInfo[playerid][pRedLaser] = cache_get_row_int(0, 25, handle); PlayerInfo[playerid][pGreenLaser] = cache_get_row_int(0, 26, handle); PlayerInfo[playerid][pOrangeLaser] = cache_get_row_int(0, 27, handle); PlayerInfo[playerid][pPinkLaser] = cache_get_row_int(0, 28, handle); PlayerInfo[playerid][pYellowLaser] = cache_get_row_int(0, 29, handle); PlayerInfo[playerid][pBlueLaser] = cache_get_row_int(0, 30, handle); pistol_skill[playerid] = cache_get_row_int(0, 31, handle); sdpistol_skill[playerid] = cache_get_row_int(0, 32, handle); deagle_skill[playerid] = cache_get_row_int(0, 33, handle); shotgun_skill[playerid] = cache_get_row_int(0, 34, handle); sawnoff_skill[playerid] = cache_get_row_int(0, 35, handle); spas12_skill[playerid] = cache_get_row_int(0, 36, handle); micro_skill[playerid] = cache_get_row_int(0, 37, handle); mp5_skill[playerid] = cache_get_row_int(0, 38, handle); ak47_skill[playerid] = cache_get_row_int(0, 39, handle); m4_skill[playerid] = cache_get_row_int(0, 40, handle); PlayerInfo[playerid][pDev] = cache_get_row_int(0, 41, handle); PlayerInfo[playerid][pLevel] = cache_get_row_int(0, 42, handle); PlayerInfo[playerid][pAdmin] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pSecKey] = cache_get_row_int(0, 37, handle); PlayerInfo[playerid][pStealthed] = cache_get_row_int(0, 38, handle); PlayerInfo[playerid][pPermBand] = cache_get_row_int(0, 39, handle); //Error PlayerInfo[playerid][pBanReason] = cache_get_field_content(0, 40, handle); //Error PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle); //Error PlayerInfo[playerid][pPrisonedBy] = cache_get_field_content(0, 42, handle); PlayerInfo[playerid][pAdminJailed] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pWarns] = cache_get_row_int(0, 44, handle); PlayerInfo[playerid][pDisabled] = cache_get_row_int(0, 45, handle); PlayerInfo[playerid][pDonateRank] = cache_get_row_int(0, 46, handle); PlayerInfo[playerid][pJoinDate][1] = cache_get_row_int(0, 47, handle); PlayerInfo[playerid][pExpireDate][1] = cache_get_row_int(0, 48, handle); PlayerInfo[playerid][pJoinDate][2] = cache_get_row_int(0, 49, handle); PlayerInfo[playerid][pExpireDate][2] = cache_get_row_int(0, 50, handle); PlayerInfo[playerid][pBanAppealer] = cache_get_row_int(0, 51, handle); PlayerInfo[playerid][pGangMod] = cache_get_row_int(0, 52, handle); PlayerInfo[playerid][pFactionMod] = cache_get_row_int(0, 53, handle); PlayerInfo[playerid][pGangDirector] = cache_get_row_int(0, 54, handle);
PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle),
PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle);
Change
pawn Код:
pawn Код:
|
Change
pawn Код:
pawn Код:
|
PlayerInfo[playerid][pBankPIN] = cache_get_row_int(0,4,handle); PlayerInfo[playerid][pBankMoney] = cache_get_row_int(0, 5, handle); PlayerInfo[playerid][pBankAccount] = cache_get_row_int(0, 6, handle); PlayerInfo[playerid][pLotteryTicket] = cache_get_row_int(0, 7, handle); PlayerInfo[playerid][pWinner] = cache_get_row_int(0, 8, handle); PlayerInfo[playerid][pBriefcase] = cache_get_row_int(0, 9, handle); gatekey[playerid] = cache_get_row_int(0, 10, handle); gatekey2[playerid] = cache_get_row_int(0, 11, handle); gatekey3[playerid] = cache_get_row_int(0, 12, handle); gatekey4[playerid] = cache_get_row_int(0, 13, handle); gatekey5[playerid] = cache_get_row_int(0, 14, handle); gatekey6[playerid] = cache_get_row_int(0, 15, handle); gatekey7[playerid] = cache_get_row_int(0, 16, handle); gatekey8[playerid] = cache_get_row_int(0, 17, handle); gatekey9[playerid] = cache_get_row_int(0, 18, handle); gatekey10[playerid] = cache_get_row_int(0, 19, handle); GarageKey[playerid] = cache_get_row_int(0, 20, handle); HouseKey[playerid] = cache_get_row_int(0, 21, handle); PlayerInfo[playerid][pGiftBoxes] = cache_get_row_int(0, 22, handle); gifttimer[playerid] = cache_get_row_int(0, 23, handle); PlayerInfo[playerid][pSecurityClearance] = cache_get_row_int(0, 24, handle); PlayerInfo[playerid][pRedLaser] = cache_get_row_int(0, 25, handle); PlayerInfo[playerid][pGreenLaser] = cache_get_row_int(0, 26, handle); PlayerInfo[playerid][pOrangeLaser] = cache_get_row_int(0, 27, handle); PlayerInfo[playerid][pPinkLaser] = cache_get_row_int(0, 28, handle); PlayerInfo[playerid][pYellowLaser] = cache_get_row_int(0, 29, handle); PlayerInfo[playerid][pBlueLaser] = cache_get_row_int(0, 30, handle); pistol_skill[playerid] = cache_get_row_int(0, 31, handle); sdpistol_skill[playerid] = cache_get_row_int(0, 32, handle); deagle_skill[playerid] = cache_get_row_int(0, 33, handle); shotgun_skill[playerid] = cache_get_row_int(0, 34, handle); sawnoff_skill[playerid] = cache_get_row_int(0, 35, handle); spas12_skill[playerid] = cache_get_row_int(0, 36, handle); micro_skill[playerid] = cache_get_row_int(0, 37, handle); mp5_skill[playerid] = cache_get_row_int(0, 38, handle); ak47_skill[playerid] = cache_get_row_int(0, 39, handle); m4_skill[playerid] = cache_get_row_int(0, 40, handle); PlayerInfo[playerid][pDev] = cache_get_row_int(0, 41, handle); PlayerInfo[playerid][pLevel] = cache_get_row_int(0, 42, handle); PlayerInfo[playerid][pAdmin] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pSecKey] = cache_get_row_int(0, 37, handle); PlayerInfo[playerid][pStealthed] = cache_get_row_int(0, 38, handle); PlayerInfo[playerid][pPermBand] = cache_get_row_int(0, 39, handle); //Error PlayerInfo[playerid][pBanReason] = cache_get_field_content(0, 40, handle); //Error PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle); //Error PlayerInfo[playerid][pPrisonedBy] = cache_get_field_content(0, 42, handle); PlayerInfo[playerid][pAdminJailed] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pWarns] = cache_get_row_int(0, 44, handle); PlayerInfo[playerid][pDisabled] = cache_get_row_int(0, 45, handle); PlayerInfo[playerid][pDonateRank] = cache_get_row_int(0, 46, handle); PlayerInfo[playerid][pJoinDate][1] = cache_get_row_int(0, 47, handle); PlayerInfo[playerid][pExpireDate][1] = cache_get_row_int(0, 48, handle); PlayerInfo[playerid][pJoinDate][2] = cache_get_row_int(0, 49, handle); PlayerInfo[playerid][pExpireDate][2] = cache_get_row_int(0, 50, handle); PlayerInfo[playerid][pBanAppealer] = cache_get_row_int(0, 51, handle); PlayerInfo[playerid][pGangMod] = cache_get_row_int(0, 52, handle); PlayerInfo[playerid][pFactionMod] = cache_get_row_int(0, 53, handle); PlayerInfo[playerid][pGangDirector] = cache_get_row_int(0, 54, handle);
ERROR:
(40709) : error 035: argument type mismatch (argument 2) (40710) : error 035: argument type mismatch (argument 2) (40711) : error 035: argument type mismatch (argument 2) CODE: Код:
PlayerInfo[playerid][pBankPIN] = cache_get_row_int(0,4,handle); PlayerInfo[playerid][pBankMoney] = cache_get_row_int(0, 5, handle); PlayerInfo[playerid][pBankAccount] = cache_get_row_int(0, 6, handle); PlayerInfo[playerid][pLotteryTicket] = cache_get_row_int(0, 7, handle); PlayerInfo[playerid][pWinner] = cache_get_row_int(0, 8, handle); PlayerInfo[playerid][pBriefcase] = cache_get_row_int(0, 9, handle); gatekey[playerid] = cache_get_row_int(0, 10, handle); gatekey2[playerid] = cache_get_row_int(0, 11, handle); gatekey3[playerid] = cache_get_row_int(0, 12, handle); gatekey4[playerid] = cache_get_row_int(0, 13, handle); gatekey5[playerid] = cache_get_row_int(0, 14, handle); gatekey6[playerid] = cache_get_row_int(0, 15, handle); gatekey7[playerid] = cache_get_row_int(0, 16, handle); gatekey8[playerid] = cache_get_row_int(0, 17, handle); gatekey9[playerid] = cache_get_row_int(0, 18, handle); gatekey10[playerid] = cache_get_row_int(0, 19, handle); GarageKey[playerid] = cache_get_row_int(0, 20, handle); HouseKey[playerid] = cache_get_row_int(0, 21, handle); PlayerInfo[playerid][pGiftBoxes] = cache_get_row_int(0, 22, handle); gifttimer[playerid] = cache_get_row_int(0, 23, handle); PlayerInfo[playerid][pSecurityClearance] = cache_get_row_int(0, 24, handle); PlayerInfo[playerid][pRedLaser] = cache_get_row_int(0, 25, handle); PlayerInfo[playerid][pGreenLaser] = cache_get_row_int(0, 26, handle); PlayerInfo[playerid][pOrangeLaser] = cache_get_row_int(0, 27, handle); PlayerInfo[playerid][pPinkLaser] = cache_get_row_int(0, 28, handle); PlayerInfo[playerid][pYellowLaser] = cache_get_row_int(0, 29, handle); PlayerInfo[playerid][pBlueLaser] = cache_get_row_int(0, 30, handle); pistol_skill[playerid] = cache_get_row_int(0, 31, handle); sdpistol_skill[playerid] = cache_get_row_int(0, 32, handle); deagle_skill[playerid] = cache_get_row_int(0, 33, handle); shotgun_skill[playerid] = cache_get_row_int(0, 34, handle); sawnoff_skill[playerid] = cache_get_row_int(0, 35, handle); spas12_skill[playerid] = cache_get_row_int(0, 36, handle); micro_skill[playerid] = cache_get_row_int(0, 37, handle); mp5_skill[playerid] = cache_get_row_int(0, 38, handle); ak47_skill[playerid] = cache_get_row_int(0, 39, handle); m4_skill[playerid] = cache_get_row_int(0, 40, handle); PlayerInfo[playerid][pDev] = cache_get_row_int(0, 41, handle); PlayerInfo[playerid][pLevel] = cache_get_row_int(0, 42, handle); PlayerInfo[playerid][pAdmin] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pSecKey] = cache_get_row_int(0, 37, handle); PlayerInfo[playerid][pStealthed] = cache_get_row_int(0, 38, handle); PlayerInfo[playerid][pPermBand] = cache_get_row_int(0, 39, handle); //Error PlayerInfo[playerid][pBanReason] = cache_get_field_content(0, 40, handle); //Error PlayerInfo[playerid][pPrisonReason] = cache_get_field_content(0, 41, handle); //Error PlayerInfo[playerid][pPrisonedBy] = cache_get_field_content(0, 42, handle); PlayerInfo[playerid][pAdminJailed] = cache_get_row_int(0, 43, handle); PlayerInfo[playerid][pWarns] = cache_get_row_int(0, 44, handle); PlayerInfo[playerid][pDisabled] = cache_get_row_int(0, 45, handle); PlayerInfo[playerid][pDonateRank] = cache_get_row_int(0, 46, handle); PlayerInfo[playerid][pJoinDate][1] = cache_get_row_int(0, 47, handle); PlayerInfo[playerid][pExpireDate][1] = cache_get_row_int(0, 48, handle); PlayerInfo[playerid][pJoinDate][2] = cache_get_row_int(0, 49, handle); PlayerInfo[playerid][pExpireDate][2] = cache_get_row_int(0, 50, handle); PlayerInfo[playerid][pBanAppealer] = cache_get_row_int(0, 51, handle); PlayerInfo[playerid][pGangMod] = cache_get_row_int(0, 52, handle); PlayerInfo[playerid][pFactionMod] = cache_get_row_int(0, 53, handle); PlayerInfo[playerid][pGangDirector] = cache_get_row_int(0, 54, handle); |
cache_get_field_content(row, const field_name[], dest[], connectionHandle = 1)