26.12.2012, 14:02
Make sure the variable is global and it should be under define(s)
Can you also show us lines 472 and 478?
pawn Code:
#include <a_samp>
//rest
#undef
#define MAX_PLAYERS 50
// rest
enum pInfo
{
pKey[128],
pLevel,
pAdmin,
pGas,
//--------------------------------------------------------------------------------------------------------------------------------------------
pHelper,
//--------------------------------------------------------------------------------------------------------------------------------------------
pDonateRank,
gPupgrade,
pConnectTime,
pReg,
pSex,
pAge,
pOrigin,
pHotel,
pCK,
pMuted,
pMuteTime,
pExp,
pCash,
pAccount,
pCrimes,
pKills,
pDeaths,
pArrested,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pJob,
pPayCheck,
pHeadValue,
pJailed,
pJailTime,
pMats,
pIdzebneba,
pDrugs,
pLeader,
pHot,
pMember,
pAbonimenti,
pPDuty,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
pCookSkill,
pFishSkill,
Float:pHealth,
Float:pSHealth,
pInt,
pLocal,
pTeam,
pModel,
pPnumber,
pPhousekey,
pPcarkey,
pPcarkey2,
pPcarkey3,
pGangKey,
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,
pWatch,
pCrashed,
pWins,
pLoses,
pAlcoholPerk,
pDrugPerk,
pMiserPerk,
pPainPerk,
pTraderPerk,
pTut,
pMissionNr,
pWarns,
pVirWorld,
pFuel,
pMarried,
pMarriedTo[128],
pFishTool,
pNote1[128],
pNote1s,
pNote2[128],
pNote2s,
pNote3[128],
pNote3s,
pNote4[128],
pNote4s,
pNote5[128],
pNote5s,
pInvWeapon,
pInvAmmo,
pLighter,
pCigarettes,
pRequestingBackup,
pRoadblock,
pMask,
pMaskuse,
pHideNumber,
pSpeaker,
pLocked,
pCountry,
pVisa,
pPassport,
pHRadio,
pORadio,
// pRobed,
//pSQLID,
};
new PlayerInfo[MAX_PLAYERS][pInfo];
// Callbacks