error 079: inconsistent return types (array & non-array)
#1

When i compile the script i hava a lot of errors:


I search on the lines and i found:
Код:
INI_Int("HelpTime",PlayerInfo[playerid][pHelpTime]);
Код:
INI_Int("Origin",PlayerInfo[playerid][pOrigin]);
And something like that i don't put all because is same

How can i solve this?
Reply
#2

be sure that you have
Код:
#include <y_ini>
in your script, as also can you show me your Enum of PlayerInfo, and how did you defined pOrigin, show me me please so i can help
Reply
#3

Quote:
Originally Posted by xXRevolverXx
Посмотреть сообщение
be sure that you have
Код:
#include <y_ini>
in your script, as also can you show me your Enum of PlayerInfo, and how did you defined pOrigin, show me me please so i can help
I have #include <YSI\y_ini>
This is the enum:
Код:
                                                                        enum pInfo
										{
											pKey[128],
											pLevel,
											pAdmin,
											pHelper,
											pDonateRank,
											gPupgrade,
											pDisabled,
											pReportTime,
											pHelpTime,
											pConnectTime,
											pNewbieTime,
											pNewbieMuted,
											pBanned,
											pFightStyle,
											pBox,
											pMuteTime,
											pWarTime,
											pPunish,
											pFwarn,
											pReg,
											pSex,
											pAge,
											pOrigin,
											pCK,
											pMuted,
											pStats,
											pExp,
											pCash,
											pAccount,
											pCrimes,
											pKills,
											pDeaths,
											pPcarkey,
											pPcarkey2,
											pPcarkey3,
											pArrested,
											pWantedDeaths,
											pWanted,
											pPhoneBook,
											pLottoNr,
											pImprumut,
											pRob,
											pSMS,
											pCall,
											pPasaport,
											pFishes,
											pBiggestFish,
											pJob,
											pPayCheck,
											pTow,
											pHeadValue,
											pJailed,
											pJailTime,
											pMats,
											pDrugs,
											pLeader,
											pMember,
											pFMember,
											pRank,
											pChar,
											pContractTime,
											pDetSkill,
											pSexSkill,
											pStealSkill,
											pLawSkill,
											pMechSkill,
											pJackSkill,
											pCarSkill,
											pNewsSkill,
											pDrugsSkill,
											pCookSkill,
											pFishSkill,
											Float:pHealth,
											Float:pSHealth,
											pInt,
											pLocal,
											pTeam,
											pModel,
											pPnumber,
											pPhousekey,
											pWarKills,
											pPointsKills,
											pPbiskey,
											Float:pPos_x,
											Float:pPos_y,
											Float:pPos_z,
											pCarLic,
											pFlyLic,
											pBoatLic,
											pFishLic,
											pGunLic,
											pGun1,
											pGun2,
											pGun3,
											pGun4,
											pAmmo1,
											pAmmo2,
											pAmmo3,
											pAmmo4,
											pCarTime,
											pPayDay,
											pPayDayHad,
											pCDPlayer,
											pWins,
											pLoses,
											pAlcoholPerk,
											pDrugPerk,
											pMiserPerk,
											pPainPerk,
											pTraderPerk,
											pTut,
											pWarns,
											pAdjustable,
											pFuel,
											pMarried,
											pMarriedTo[128],
										};
										new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#4

try changing this
pawn Код:
pMarriedTo[128],
to
pawn Код:
pMarriedTo[128]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)