player info
#1

Hello, Got those errors
Код:
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(56) : error 055: start of function body without function header
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(206) : error 010: invalid function or declaration
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : error 017: undefined symbol "pInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
This is the line
Код:
stock RPALN(playerid)
{
	new name[32];
	if(pInfo[playerid][pAdmin] == 1) format(name, sizeof(name), "Server Moderator"); //<- line 1855
	else if(pInfo[playerid][pAdmin] == 2) format(name, sizeof(name), "Junior Admin");
	else if(pInfo[playerid][pAdmin] == 3) format(name, sizeof(name), "General Admin");
	else if(pInfo[playerid][pAdmin] == 4) format(name, sizeof(name), "Senior Admin");
	else if(pInfo[playerid][pAdmin] == 5) format(name, sizeof(name), "Head Admin");
	else if(pInfo[playerid][pAdmin] == 6) format(name, sizeof(name), "Server Manager");
	else if(pInfo[playerid][pAdmin] == 7) format(name, sizeof(name), "Server Owner");
	else if(pInfo[playerid][pAdmin] == 8) format(name, sizeof(name), "Server Scripter");
	else if(pInfo[playerid][pMapper] == 1) format(name, sizeof(name), "Trial Mapper");
	else if(pInfo[playerid][pMapper] == 2) format(name, sizeof(name), "General Mapper");
	else if(pInfo[playerid][pMapper] == 3) format(name, sizeof(name), "Senior Mapper");
	else if(pInfo[playerid][pMapper] == 4) format(name, sizeof(name), "Asst. Head mapper");
	else if(pInfo[playerid][pMapper] == 5) format(name, sizeof(name), "Head Mapper");
	return name;
}
I changed like else if(pInfo .....

Cause it was

else If(PlayerInfo[playerid] ......
to:
else If(pInfo[playerid] ....

and i have this
Код:
enum pInfo
{
	pKey[129],
	pLevel,
	pAdmin,
	pAdminTime,
	pDonateRank,
	gPupgrade,
	pConnectTime,
	pReg,
	pSex,
	pAge,
	pOrigin,
	pCK,
	pCash,
	pHospital,
	pMuted,
 	pWeapon[13],
  	pWeaponAmmo[13],
	pPrisonReason[128],
	pPrisonedBy[MAX_PLAYER_NAME],
	pFlag[128],
	pRMuted,
	pRMutedTotal,
	pRMutedTime,
	pVMuted,
	pVMutedTime,
	pFactionModerator,
	pGangModerator,
	pExp,
	pAccount,
	pCrimes,
	pPaintTeam,
	pKills,
	pDeaths,
	pArrested,
	pWantedDeaths,
	pPhoneBook,
	pLottoNr,
	pFishes,
	pToggedVIPChat,
	pBiggestFish,
	pJob,
	pAutoTextReply[64],
	pPhonePrivacy,
	pJob2,
	pNMute,
	pNMuteTotal,
	pADMute,
	pADMuteTotal,
	pHelpMute,
	pPayCheck,
	pHeadValue,
	pJailed,
	pJailTime,
	pWRestricted,
	pMats,
	pPackages,
	pGM,
	pLeader,
	pMember,
	pDivision,
	pFMember,
	pSpeakerPhone,
	pRank,
	pChar,
	pStreetRep,
	pRepHandOut,
	pDetSkill,
	pSexSkill,
	pBoxSkill,
	pLawSkill,
	pMechSkill,
	pJackSkill,
	pCarSkill,
	pTruckSkill,
	pWantedLevel,
	pGunSkill,
	pGoods,
	pSMats,
	pPot,
	pCrack,
	pMeth,
	pSDrugs,
	pMInsure,
	pPcarkey,
	pPcarkey2,
	pPcarkey3,
	pBadgeNumber,
	pRoadblock,
	pHelper,
	pNewsSkill,
	pDrugsSkill,
	pArmsSkill,
	pSmugSkill,
	pCookSkill,
	pFishSkill,
	Float:pHealth,
	Float:pArmor,
	Float:pSArmor,
	Float:pSHealth,
	pInt,
	pLocal,
	pTeam,
	pModel,
	pPnumber,
	pPhousekey,
	pPhousekey2,
	Float:pPos_x,
	Float:pPos_y,
	Float:pPos_z,
	Float:pPos_r,
	pCarLic,
	pFlyLic,
	pBoatLic,
	pFishLic,
	pGunLic,
	pGuns[12],
	pAGuns[12],
	pCarTime,
	pPayDay,
	pPayDayHad,
	pCDPlayer,
	pWins,
	pLoses,
	pAlcoholPerk,
	pDrugPerk,
	pMiserPerk,
	pPainPerk,
	pTraderPerk,
	pTut,
	pAdminDuty,
	pWarns,
	pAdjustable,
	pMarried,
	pC4,
	pC4Get,
	pC4Used,
	pMarriedTo[128],
	pLock,
	pLockCar,
	pSprunk,
	pCigar,
	pPole,
	pSpraycan,
	pRope,
	pDice,
	pBombs,
	Robbing,
	CashLoaded,
	CashLoading,
	ROffered,
	ROfferer,
	pDuty,
	pFightStyle,
	pIP[32],
	pBanned,
	pPermaBanned,
	pDisabled,
	pAccent,
	pCHits,
	pFHits,
	pCrates,
	pVW,
	pHouseInvite,
	pClothes,
	pRenting,
	pVehicles,
	pVehFile,
	pVehActive,
	pType1,
	pTempVIP,
	pBuddyInvited,
	pVIPInviteDay,
	pTokens,
	pPaintTokens,
	pCookies,
	pType2,
	pType3,
	pType4,
	pType5,
	pDrugsTime,
	pLawyerTime,
	pGangWarn,
	pFactionBanned,
	pCSFBanned,
	pMechTime,
	pSexTime,
	pLawyerFreeTime,
	pGiftTime,
	pContractBy[32],
	pContractDetail[64],
	pBanAppealer,
 	pShopTech,
    pUndercover,
	pTogReports,
	pRadio,
	pRadioFreq,
	pDutyHours,
	pAcceptedHelp,
	pAcceptReport,
	pTrashReport,
	pInsurance,
	pTriageTime,
	pVehicleKeys,
	pVehicleKeysFrom,
	pTaxiLicense,
	pTicketTime,
	pScrewdriver,
	pSmslog,
	pSmslog0[256],
	pSmslog1[256],
	pSmslog2[256],
	pSmslog3[256],
	pSmslog4[256],
	pSmslog5[256],
	pSmslog6[256],
	pSmslog7[256],
	pSmslog8[256],
	pSmslog9[256],
	pKillLog0[256],
	pKillLog1[256],
	pKillLog2[256],
	pKillLog3[256],
	pKillLog4[256],
	pKillLog5[256],
	pKillLog6[256],
	pKillLog7[256],
	pKillLog8[256],
	pKillLog9[256],
	pWristwatch,
	pSurveillance,
	pTire,
	pFirstaid,
	pRccam,
	pReceiver,
    pMask,
    pMaskOn,
	pGPS,
	pSweep,
	pSweepLeft,
	pBugged,
	pCheckCash,
	pChecks,
	pWExists,
	Float:pWX,
	Float:pWY,
	Float:pWZ,
	pWVW,
	pWInt,
	pWValue,
	pWObject,
	pWTimer,
	pWSeeds,
	pWarrant[128],
	pJudgeJailTime,
	pJudgeJailType,
	pBeingSentenced,
	pProbationTime,
	pDMIndicators,
	pDMReport0[63],
	pDMReport1[63],
	pDMReport2[63],
	pDMReport3[63],
	pDMReport4[63],
	pDMReport5[63],
	pDMReport6[63],
	pDMReport7[63],
	pDMReport8[63],
	pDMReport9[63],
	pDMKills,
	pOrder,
	pOBlocked,
	pCallsAccepted,
	pPatientsDelivered,
	pLiveBanned,
	pFreezeBank,
	pServiceTime,
	pFirework,
	pGate[3],
};
new PlayerInfo[MAX_PLAYERS+1][pInfo];
Also line 56
Код:
new InteriorDialogInteriors[149][1];
{   // <- Line 56
    "Four Dragons' Managerial Suite",

Line 206
Код:
    "Transfender"
}; //<- Line 206
Reply
#2

Comment your RPALN and try changing it with this:
pawn Код:
stock RPALN(playerid)
{
    new name[32];
    if(PlayerInfo[playerid][pAdmin] == 1) format(name, sizeof(name), "Server Moderator"); //<- line 1855
    else if(PlayerInfo[playerid][pAdmin] == 2) format(name, sizeof(name), "Junior Admin");
    else if(PlayerInfo[playerid][pAdmin] == 3) format(name, sizeof(name), "General Admin");
    else if(PlayerInfo[playerid][pAdmin] == 4) format(name, sizeof(name), "Senior Admin");
    else if(PlayerInfo[playerid][pAdmin] == 5) format(name, sizeof(name), "Head Admin");
    else if(PlayerInfo[playerid][pAdmin] == 6) format(name, sizeof(name), "Server Manager");
    else if(PlayerInfo[playerid][pAdmin] == 7) format(name, sizeof(name), "Server Owner");
    else if(PlayerInfo[playerid][pAdmin] == 8) format(name, sizeof(name), "Server Scripter");
    else if(PlayerInfo[playerid][pMapper] == 1) format(name, sizeof(name), "Trial Mapper");
    else if(PlayerInfo[playerid][pMapper] == 2) format(name, sizeof(name), "General Mapper");
    else if(PlayerInfo[playerid][pMapper] == 3) format(name, sizeof(name), "Senior Mapper");
    else if(PlayerInfo[playerid][pMapper] == 4) format(name, sizeof(name), "Asst. Head mapper");
    else if(PlayerInfo[playerid][pMapper] == 5) format(name, sizeof(name), "Head Mapper");
    return name;
}
That's how you access the variables, the pInfo enum is just used to set the variable details (Whether it is a float, int, char or whatever)
Reply
#3

Instead pInfo, you should have PlayerInfo as you defined "PlayerInfo[MAX_PLAYERS][pInfo];"

So, it should be like this:
pawn Код:
if(PlayerInfo[playerid][pAdmin] == 1) format(name, sizeof(name), "Server Moderator");
EDIT: too late.

And about the other thing, show us the full code of this InteriorDialogInteriors
Reply
#4

then i got those errors
Код:
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(57) : error 055: start of function body without function header
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(207) : error 010: invalid function or declaration
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1854) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1856) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1857) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1858) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1859) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1860) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1861) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1862) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1863) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1864) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1865) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1866) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4264) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4296) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4326) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32983) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32993) : error 017: undefined symbol "GunsBeingRemoved"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32993) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32993) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32993) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(32993) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


20 Errors.
Reply
#5

Why is here : new PlayerInfo[MAX_PLAYERS+1][pInfo]; "+1" ?
Reply
#6

Quote:
Originally Posted by Areax
Посмотреть сообщение
Why is here : new PlayerInfo[MAX_PLAYERS+1][pInfo]; "+1" ?
It's just used to increment the MAX_PLAYERS index by 1. It's not really required though.
Reply
#7

Interiordialog
Код:
new InteriorDialogInteriors[149][1];
{
    "Four Dragons' Managerial Suite",
    "Ganton Gym",
    "Brothel",
    "Brothel2",
    "Inside Track Betting",
    "Blastin' Fools Records",
    "The Big Spread Ranch",
    "Warehouse 1",
    "Warehouse 2",
    "B Dup's Apartment",
    "B Dup's Crack Palace",
    "Wheel Arch Angels",
    "OG Loc's House",
    "Barber Shop",
    "Planning Department",
    "Las Venturas Police Department",
    "Pro-Laps",
    "Sex Shop",
    "Las Venturas Tattoo parlor",
    "Lost San Fierro Tattoo parlor",
    "24/7 (version 1)",
    "Diner 1",
    "Pizza Stack",
    "Rusty Brown's Donuts",
    "Ammu-nation",
    "Victim",
    "Loco Low Co",
    "San Fierro Police Department",
    "24/7 (version 2 - large)",
    "Below The Belt Gym (Las Venturas)",
    "Transfenders",
    "World of Coq",
    "Ammu-nation (version 2)",
    "SubUrban",
    "Denise's Bedroom",
    "Helena's Barn",
    "Barbara's Love nest",
    "San Fierro Garage",
    "Oval Stadium",
    "8-Track Stadium",
    "The Pig Pen (strip club 2)",
    "Four Dragons",
    "Liberty City",
    "Ryder's house",
    "Sweet's House",
    "RC Battlefield",
    "The Johnson House",
    "Burger shot",
    "Caligula's Casino",
    "Katie's Lovenest",
    "Barber Shop 2 (Reece's)",
    "Angel Pine Trailer",
    "24/7 (version 3)",
    "Zip",
    "The Pleasure Domes",
    "Madd Dogg's Mansion",
    "Big Smoke's Crack Palace",
    "Burning Desire Building",
    "Wu-Zi Mu's",
    "Abandoned AC tower",
    "Wardrobe/Changing room",
    "Didier Sachs",
    "Casino (Redsands West)",
    "Kickstart Stadium",
    "Club",
    "Atrium",
    "Los Santos Tattoo Parlor",
    "Safe House group 1",
    "Safe House group 2",
    "Safe House group 3",
    "Safe House group 4",
    "Sherman Dam",
    "24/7 (version 4)",
    "Jefferson Motel",
    "Jet Interior",
    "The Welcome Pump",
    "Burglary House X1",
    "Burglary House X2",
    "Burglary House X3",
    "Burglary House X4",
    "Binco",
    "4 Burglary houses",
    "Blood Bowl Stadium",
    "Budget Inn Motel Room",
    "Palamino Bank",
    "Palamino Diner",
    "Dillimore Gas Station",
    "Lil' Probe Inn",
    "Torreno's Ranch",
    "Zombotech - lobby area",
    "Crypt in LS cemetery (temple)",
    "Blueberry Liquor Store",
    "Pair of Burglary Houses",
    "Crack Den",
    "Burglary House X11",
    "Burglary House X12",
    "Ammu-nation (version 3)",
    "Jay's Diner",
    "24/7 (version 5)",
    "Warehouse 3",
    "Michelle's Love Nest*",
    "Burglary House X14",
    "Sindacco Abatoir",
    "K.A.C.C. Military Fuels Depot",
    "Area 69",
    "Burglary House X13",
    "Unused Safe House",
    "Millie's Bedroom",
    "Barber Shop",
    "Dirtbike Stadium",
    "Cobra Gym",
    "Los Santos Police Department",
    "Los Santos Airport",
    "Burglary House X15",
    "Burglary House X16",
    "Burglary House X17",
    "Bike School",
    "Francis International Airport",
    "Vice Stadium",
    "Burglary House X18",
    "Burglary House X19",
    "Zero's RC Shop",
    "Ammu-nation (version 4)",
    "Ammu-nation (version 5)",
    "Burglary House X20",
    "24/7 (version 6)",
    "Secret Valley Diner",
    "Rosenberg's Office in Caligulas",
    "Fanny Batter's Whore House",
    "Colonel Furhberger's",
    "Cluckin' Bell",
    "The Camel's Toe Safehouse",
    "Caligula's Roof",
    "Old Venturas Strip Casino",
    "Driving School",
    "Verdant Bluffs Safehouse",
    "Bike School",
    "Andromada",
    "Four Dragons' Janitor's Office",
    "Bar",
    "Burglary House X21",
    "Willowfield Safehouse",
    "Burglary House X22",
    "Burglary House X23",
    "Otto's Autos",
    "Wang Cars",
    "Loco Low",
    "Wheel Arch Angels",
    "Transfender"
};
new Float:InteriorDialogData[149][4] =
{
    {2003.1178, 1015.1948, 33.008, 351.5789},
    {770.8033, -0.7033, 1000.7267, 22.8599},
    {974.0177, -9.5937, 1001.1484, 22.6045},
    {961.9308, -51.9071, 1001.1172, 95.5381},
    {830.6016, 5.9404, 1004.1797, 125.8149},
    {1037.8276, 0.397, 1001.2845, 353.9335},
    {1212.1489, -28.5388, 1000.9531, 170.5692},
    {1290.4106, 1.9512, 1001.0201, 179.9419},
    {1412.1472, -2.2836, 1000.9241, 114.661},
    {1527.0468, -12.0236, 1002.0971, 350.0013},
    {1523.5098, -47.8211, 1002.2699, 262.7038},
    {612.2191, -123.9028, 997.9922, 266.5704},
    {512.9291, -11.6929, 1001.5653, 198.7669},
    {418.4666, -80.4595, 1001.8047, 343.2358},
    {386.5259, 173.6381, 1008.3828, 63.7399},
    {288.4723, 170.0647, 1007.1794, 22.0477},
    {206.4627, -137.7076, 1003.0938, 10.9347},
    {-100.2674, -22.9376, 1000.7188, 17.285},
    {-201.2236, -43.2465, 1002.2734, 45.8613},
    {-202.9381, -6.7006, 1002.2734, 204.2693},
    {-25.7220, -187.8216, 1003.5469, 5.0760},
    {454.9853, -107.2548, 999.4376, 309.0195},
    {372.5565, -131.3607, 1001.4922, 354.2285},
    {378.026, -190.5155, 1000.6328, 141.0245},
    {315.244, -140.8858, 999.6016, 7.4226},
    {225.0306, -9.1838, 1002.218, 85.5322},
    {611.3536, -77.5574, 997.9995, 320.9263},
    {246.0688, 108.9703, 1003.2188, 0.2922},
    {6.0856, -28.8966, 1003.5494, 5.0365},
    {773.7318, -74.6957, 1000.6542, 5.2304},
    {621.4528, -23.7289, 1000.9219, 15.6789},
    {445.6003, -6.9823, 1000.7344, 172.2105},
    {285.8361, -39.0166, 1001.5156, 0.7529},
    {204.1174, -46.8047, 1001.8047, 357.5777},
    {245.2307, 304.7632, 999.1484, 273.4364},
    {290.623, 309.0622, 999.1484, 89.9164},
    {322.5014, 303.6906, 999.1484, 8.1747},
    {-2041.2334, 178.3969, 28.8465, 156.2153},
    {-1402.6613, 106.3897, 1032.2734, 105.1356},
    {-1403.0116, -250.4526, 1043.5341, 355.8576},
    {1204.6689, -13.5429, 1000.9219, 350.0204},
    {2016.1156, 1017.1541, 996.875, 88.0055},
    {-741.8495, 493.0036, 1371.9766, 71.7782},
    {2447.8704, -1704.4509, 1013.5078, 314.5253},
    {2527.0176, -1679.2076, 1015.4986, 260.9709},
    {-1129.8909, 1057.5424, 1346.4141, 274.5268},
    {2496.0549, -1695.1749, 1014.7422, 179.2174},
    {366.0248, -73.3478, 1001.5078, 292.0084},
    {2233.9363, 1711.8038, 1011.6312, 184.3891},
    {269.6405, 305.9512, 999.1484, 215.6625},
    {414.2987, -18.8044, 1001.8047, 41.4265},
    {1.1853, -3.2387, 999.4284, 87.5718},
    {-30.9875, -89.6806, 1003.5469, 359.8401},
    {161.4048, -94.2416, 1001.8047, 0.7938},
    {-2638.8232, 1407.3395, 906.4609, 94.6794},
    {1267.8407, -776.9587, 1091.9063, 231.3418},
    {2536.5322, -1294.8425, 1044.125, 254.9548},
    {2350.1597, -1181.0658, 1027.9766, 99.1864},
    {-2158.6731, 642.09, 1052.375, 86.5402},
    {419.8936, 2537.1155, 10.0, 67.6537},
    {256.9047, -41.6537, 1002.0234, 85.8774},
    {204.1658, -165.7678, 1000.5234, 181.7583},
    {1133.35, -7.8462, 1000.6797, 165.8482},
    {-1420.4277, 1616.9221, 1052.5313, 159.1255},
    {493.1443, -24.2607, 1000.6797, 356.9864},
    {1727.2853, -1642.9451, 20.2254, 172.4193},
    {-202.842, -24.0325, 1002.2734, 252.8154},
    {2233.6919, -1112.8107, 1050.8828, 8.6483},
    {1211.2484, 1049.0234, 359.941, 170.9341},
    {2319.1272, -1023.9562, 1050.2109, 167.3959},
    {2261.0977, -1137.8833, 1050.6328, 266.88},
    {-944.2402, 1886.1536, 5.0051, 179.8548},
    {-26.1856, -140.9164, 1003.5469, 2.9087},
    {2217.281, -1150.5349, 1025.7969, 273.7328},
    {1.5491, 23.3183, 1199.5938, 359.9054},
    {681.6216, -451.8933, -25.6172, 166.166},
    {234.6087, 1187.8195, 1080.2578, 349.4844},
    {225.5707, 1240.0643, 1082.1406, 96.2852},
    {224.288, 1289.1907, 1082.1406, 359.868},
    {239.2819, 1114.1991, 1080.9922, 270.2654},
    {207.5219, -109.7448, 1005.1328, 358.62},
    {295.1391, 1473.3719, 1080.2578, 352.9526},
    {-1417.8927, 932.4482, 1041.5313, 0.7013},
    {446.3247, 509.9662, 1001.4195, 330.5671},
    {2306.3826, -15.2365, 26.7496, 274.49},
    {2331.8984, 6.7816, 26.5032, 100.2357},
    {663.0588, -573.6274, 16.3359, 264.9829},
    {-227.5703, 1401.5544, 27.7656, 269.2978},
    {-688.1496, 942.0826, 13.6328, 177.6574},
    {-1916.1268, 714.8617, 46.5625, 152.2839},
    {818.7714, -1102.8689, 25.794, 91.1439},
    {255.2083, -59.6753, 1.5703, 1.4645},
    {446.626, 1397.738, 1084.3047, 343.9647},
    {227.3922, 1114.6572, 1080.9985, 267.459},
    {227.7559, 1114.3844, 1080.9922, 266.2624},
    {261.1165, 1287.2197, 1080.2578, 178.9149},
    {291.7626, -80.1306, 1001.5156, 290.2195},
    {449.0172, -88.9894, 999.5547, 89.6608},
    {-27.844, -26.6737, 1003.5573, 184.3118},
    {2135.2004, -2276.2815, 20.6719, 318.59},
    {306.1966, 307.819, 1003.3047, 203.1354},
    {24.3769, 1341.1829, 1084.375, 8.3305},
    {963.0586, 2159.7563, 1011.0303, 175.313},
    {2548.4807, 2823.7429, 10.8203, 270.6003},
    {215.1515, 1874.0579, 13.1406, 177.5538},
    {221.6766, 1142.4962, 1082.6094, 184.9618},
    {2323.7063, -1147.6509, 1050.7101, 206.5352},
    {344.9984, 307.1824, 999.1557, 193.643},
    {411.9707, -51.9217, 1001.8984, 173.3449},
    {-1421.5618, -663.8262, 1059.5569, 170.9341},
    {773.8887, -47.7698, 1000.5859, 10.7161},
    {246.6695, 65.8039, 1003.6406, 7.9562},
    {-1864.9434, 55.7325, 1055.5276, 85.8541},
    {-262.1759, 1456.6158, 1084.3672, 82.459},
    {22.861, 1404.9165, 1084.4297, 349.6158},
    {140.3679, 1367.8837, 1083.8621, 349.2372},
    {1494.8589, 1306.48, 1093.2953, 196.065},
    {-1813.213, -58.012, 1058.9641, 335.3199},
    {-1401.067, 1265.3706, 1039.8672, 178.6483},
    {234.2826, 1065.229, 1084.2101, 4.3864},
    {-68.5145, 1353.8485, 1080.2109, 3.5742},
    {-2240.1028, 136.973, 1035.4141, 269.0954},
    {297.144, -109.8702, 1001.5156, 20.2254},
    {316.5025, -167.6272, 999.5938, 10.3031},
    {-285.2511, 1471.197, 1084.375, 85.6547},
    {-26.8339, -55.5846, 1003.5469, 3.9528},
    {442.1295, -52.4782, 999.7167, 177.9394},
    {2182.2017, 1628.5848, 1043.8723, 224.8601},
    {748.4623, 1438.2378, 1102.9531, 0.6069},
    {2807.3604, -1171.7048, 1025.5703, 193.7117},
    {366.0002, -9.4338, 1001.8516, 160.528},
    {2216.1282, -1076.3052, 1050.4844, 86.428},
    {2268.5156, 1647.7682, 1084.2344, 99.7331},
    {2236.6997, -1078.9478, 1049.0234, 2.5706},
    {-2031.1196, -115.8287, 1035.1719, 190.1877},
    {2365.1089, -1133.0795, 1050.875, 177.3947},
    {1168.512, 1360.1145, 10.9293, 196.5933},
    {315.4544, 976.5972, 1960.8511, 359.6368},
    {1893.0731, 1017.8958, 31.8828, 86.1044},
    {501.9578, -70.5648, 998.7578, 171.5706},
    {-42.5267, 1408.23, 1084.4297, 172.068},
    {2283.3118, 1139.307, 1050.8984, 19.7032},
    {84.9244, 1324.2983, 1083.8594, 159.5582},
    {260.7421, 1238.2261, 1084.2578, 84.3084},
    {-1658.1656, 1215.0002, 7.25, 103.9074},
    {-1961.6281, 295.2378, 35.4688, 264.4891},
    {616.7820, -74.8151, 997.6350, 264.4891},
    {615.2851, -124.2390, 997.6350, 264.4891},
    {617.5380, -1.9900, 1000.6829, 264.4891}
};
new InteriorDialogNames[149][] =
{
    {11},
    {5},
    {3},
    {3},
    {3},
    {3},
    {3},
    {18},
    {1},
    {3},
    {2},
    {3},
    {3},
    {3},
    {3},
    {3},
    {3},
    {3},
    {3},
    {17},
    {17},
    {5},
    {5},
    {17},
    {7},
    {5},
    {2},
    {10},
    {10},
    {7},
    {1},
    {1},
    {1},
    {1},
    {1},
    {3},
    {5},
    {1},
    {1},
    {7},
    {2},
    {10},
    {1},
    {2},
    {1},
    {10},
    {3},
    {10},
    {1},
    {2},
    {2},
    {2},
    {18},
    {18},
    {3},
    {5},
    {2},
    {5},
    {1},
    {10},
    {14},
    {14},
    {12},
    {14},
    {17},
    {18},
    {16},
    {5},
    {6},
    {9},
    {10},
    {17},
    {16},
    {15},
    {1},
    {1},
    {3},
    {2},
    {1},
    {5},
    {15},
    {15},
    {15},
    {12},
    {0},
    {0},
    {0},
    {18},
    {0},
    {0},
    {0},
    {0},
    {2},
    {5},
    {5},
    {4},
    {4},
    {4},
    {4},
    {0},
    {4},
    {10},
    {1},
    {0},
    {0},
    {4},
    {12},
    {6},
    {12},
    {4},
    {6},
    {6},
    {14},
    {4},
    {5},
    {5},
    {3},
    {14},
    {16},
    {6},
    {6},
    {6},
    {6},
    {6},
    {15},
    {6},
    {6},
    {2},
    {6},
    {8},
    {9},
    {1},
    {1},
    {2},
    {3},
    {8},
    {0},
    {9},
    {10},
    {11},
    {8},
    {11},
    {9},
    {9},
    {0},
    {0},
    {2},
    {3},
    {1}
};
idk why +1..

if i delete the +1 i get this
Код:
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(57) : error 055: start of function body without function header
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(207) : error 010: invalid function or declaration
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1853) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1854) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1855) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1856) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1857) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1858) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1859) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1860) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1861) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1862) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1863) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1864) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(1865) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4263) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4295) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(4325) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(14269) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(14286) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31257) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31258) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31259) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31260) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31261) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31262) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31263) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31264) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Documents and Settings\Lisa\Bureaublad\Radi host\samp04\gamemodes\WSRP.pwn(31265) : error 032: array index out of bounds (variable "PlayerInfo")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#8

Try like this
pawn Код:
new InteriorDialogInteriors[149][1] =
{
    "Four Dragons' Managerial Suite",
    "Ganton Gym",
    "Brothel",
    "Brothel2",
    "Inside Track Betting",
    "Blastin' Fools Records",
    "The Big Spread Ranch",
    "Warehouse 1",
    "Warehouse 2",
    "B Dup's Apartment",
    "B Dup's Crack Palace",
    "Wheel Arch Angels",
    "OG Loc's House",
    "Barber Shop",
    "Planning Department",
    "Las Venturas Police Department",
    "Pro-Laps",
    "Sex Shop",
    "Las Venturas Tattoo parlor",
    "Lost San Fierro Tattoo parlor",
    "24/7 (version 1)",
    "Diner 1",
    "Pizza Stack",
    "Rusty Brown's Donuts",
    "Ammu-nation",
    "Victim",
    "Loco Low Co",
    "San Fierro Police Department",
    "24/7 (version 2 - large)",
    "Below The Belt Gym (Las Venturas)",
    "Transfenders",
    "World of Coq",
    "Ammu-nation (version 2)",
    "SubUrban",
    "Denise's Bedroom",
    "Helena's Barn",
    "Barbara's Love nest",
    "San Fierro Garage",
    "Oval Stadium",
    "8-Track Stadium",
    "The Pig Pen (strip club 2)",
    "Four Dragons",
    "Liberty City",
    "Ryder's house",
    "Sweet's House",
    "RC Battlefield",
    "The Johnson House",
    "Burger shot",
    "Caligula's Casino",
    "Katie's Lovenest",
    "Barber Shop 2 (Reece's)",
    "Angel Pine Trailer",
    "24/7 (version 3)",
    "Zip",
    "The Pleasure Domes",
    "Madd Dogg's Mansion",
    "Big Smoke's Crack Palace",
    "Burning Desire Building",
    "Wu-Zi Mu's",
    "Abandoned AC tower",
    "Wardrobe/Changing room",
    "Didier Sachs",
    "Casino (Redsands West)",
    "Kickstart Stadium",
    "Club",
    "Atrium",
    "Los Santos Tattoo Parlor",
    "Safe House group 1",
    "Safe House group 2",
    "Safe House group 3",
    "Safe House group 4",
    "Sherman Dam",
    "24/7 (version 4)",
    "Jefferson Motel",
    "Jet Interior",
    "The Welcome Pump",
    "Burglary House X1",
    "Burglary House X2",
    "Burglary House X3",
    "Burglary House X4",
    "Binco",
    "4 Burglary houses",
    "Blood Bowl Stadium",
    "Budget Inn Motel Room",
    "Palamino Bank",
    "Palamino Diner",
    "Dillimore Gas Station",
    "Lil' Probe Inn",
    "Torreno's Ranch",
    "Zombotech - lobby area",
    "Crypt in LS cemetery (temple)",
    "Blueberry Liquor Store",
    "Pair of Burglary Houses",
    "Crack Den",
    "Burglary House X11",
    "Burglary House X12",
    "Ammu-nation (version 3)",
    "Jay's Diner",
    "24/7 (version 5)",
    "Warehouse 3",
    "Michelle's Love Nest*",
    "Burglary House X14",
    "Sindacco Abatoir",
    "K.A.C.C. Military Fuels Depot",
    "Area 69",
    "Burglary House X13",
    "Unused Safe House",
    "Millie's Bedroom",
    "Barber Shop",
    "Dirtbike Stadium",
    "Cobra Gym",
    "Los Santos Police Department",
    "Los Santos Airport",
    "Burglary House X15",
    "Burglary House X16",
    "Burglary House X17",
    "Bike School",
    "Francis International Airport",
    "Vice Stadium",
    "Burglary House X18",
    "Burglary House X19",
    "Zero's RC Shop",
    "Ammu-nation (version 4)",
    "Ammu-nation (version 5)",
    "Burglary House X20",
    "24/7 (version 6)",
    "Secret Valley Diner",
    "Rosenberg's Office in Caligulas",
    "Fanny Batter's Whore House",
    "Colonel Furhberger's",
    "Cluckin' Bell",
    "The Camel's Toe Safehouse",
    "Caligula's Roof",
    "Old Venturas Strip Casino",
    "Driving School",
    "Verdant Bluffs Safehouse",
    "Bike School",
    "Andromada",
    "Four Dragons' Janitor's Office",
    "Bar",
    "Burglary House X21",
    "Willowfield Safehouse",
    "Burglary House X22",
    "Burglary House X23",
    "Otto's Autos",
    "Wang Cars",
    "Loco Low",
    "Wheel Arch Angels",
    "Transfender",
};
Reply
#9

still same.
Reply
#10

pawn Код:
new InteriorDialogInteriors[][] =
{
    "Four Dragons' Managerial Suite",
    "Ganton Gym",
    "Brothel",
    "Brothel2",
    "Inside Track Betting",
    "Blastin' Fools Records",
    "The Big Spread Ranch",
    "Warehouse 1",
    "Warehouse 2",
    "B Dup's Apartment",
    "B Dup's Crack Palace",
    "Wheel Arch Angels",
    "OG Loc's House",
    "Barber Shop",
    "Planning Department",
    "Las Venturas Police Department",
    "Pro-Laps",
    "Sex Shop",
    "Las Venturas Tattoo parlor",
    "Lost San Fierro Tattoo parlor",
    "24/7 (version 1)",
    "Diner 1",
    "Pizza Stack",
    "Rusty Brown's Donuts",
    "Ammu-nation",
    "Victim",
    "Loco Low Co",
    "San Fierro Police Department",
    "24/7 (version 2 - large)",
    "Below The Belt Gym (Las Venturas)",
    "Transfenders",
    "World of Coq",
    "Ammu-nation (version 2)",
    "SubUrban",
    "Denise's Bedroom",
    "Helena's Barn",
    "Barbara's Love nest",
    "San Fierro Garage",
    "Oval Stadium",
    "8-Track Stadium",
    "The Pig Pen (strip club 2)",
    "Four Dragons",
    "Liberty City",
    "Ryder's house",
    "Sweet's House",
    "RC Battlefield",
    "The Johnson House",
    "Burger shot",
    "Caligula's Casino",
    "Katie's Lovenest",
    "Barber Shop 2 (Reece's)",
    "Angel Pine Trailer",
    "24/7 (version 3)",
    "Zip",
    "The Pleasure Domes",
    "Madd Dogg's Mansion",
    "Big Smoke's Crack Palace",
    "Burning Desire Building",
    "Wu-Zi Mu's",
    "Abandoned AC tower",
    "Wardrobe/Changing room",
    "Didier Sachs",
    "Casino (Redsands West)",
    "Kickstart Stadium",
    "Club",
    "Atrium",
    "Los Santos Tattoo Parlor",
    "Safe House group 1",
    "Safe House group 2",
    "Safe House group 3",
    "Safe House group 4",
    "Sherman Dam",
    "24/7 (version 4)",
    "Jefferson Motel",
    "Jet Interior",
    "The Welcome Pump",
    "Burglary House X1",
    "Burglary House X2",
    "Burglary House X3",
    "Burglary House X4",
    "Binco",
    "4 Burglary houses",
    "Blood Bowl Stadium",
    "Budget Inn Motel Room",
    "Palamino Bank",
    "Palamino Diner",
    "Dillimore Gas Station",
    "Lil' Probe Inn",
    "Torreno's Ranch",
    "Zombotech - lobby area",
    "Crypt in LS cemetery (temple)",
    "Blueberry Liquor Store",
    "Pair of Burglary Houses",
    "Crack Den",
    "Burglary House X11",
    "Burglary House X12",
    "Ammu-nation (version 3)",
    "Jay's Diner",
    "24/7 (version 5)",
    "Warehouse 3",
    "Michelle's Love Nest*",
    "Burglary House X14",
    "Sindacco Abatoir",
    "K.A.C.C. Military Fuels Depot",
    "Area 69",
    "Burglary House X13",
    "Unused Safe House",
    "Millie's Bedroom",
    "Barber Shop",
    "Dirtbike Stadium",
    "Cobra Gym",
    "Los Santos Police Department",
    "Los Santos Airport",
    "Burglary House X15",
    "Burglary House X16",
    "Burglary House X17",
    "Bike School",
    "Francis International Airport",
    "Vice Stadium",
    "Burglary House X18",
    "Burglary House X19",
    "Zero's RC Shop",
    "Ammu-nation (version 4)",
    "Ammu-nation (version 5)",
    "Burglary House X20",
    "24/7 (version 6)",
    "Secret Valley Diner",
    "Rosenberg's Office in Caligulas",
    "Fanny Batter's Whore House",
    "Colonel Furhberger's",
    "Cluckin' Bell",
    "The Camel's Toe Safehouse",
    "Caligula's Roof",
    "Old Venturas Strip Casino",
    "Driving School",
    "Verdant Bluffs Safehouse",
    "Bike School",
    "Andromada",
    "Four Dragons' Janitor's Office",
    "Bar",
    "Burglary House X21",
    "Willowfield Safehouse",
    "Burglary House X22",
    "Burglary House X23",
    "Otto's Autos",
    "Wang Cars",
    "Loco Low",
    "Wheel Arch Angels",
    "Transfender"
};
pawn Код:
stock RPALN(playerid)
{
    new name[32];
    switch(PlayerInfo[playerid][pAdmin])
    {
        case 1: format(name, sizeof(name), "Server Moderator");
        case 2: format(name, sizeof(name), "Junior Admin";
        case 3: format(name, sizeof(name), "General Admin";
        case 4: format(name, sizeof(name), "Senior Admin";
        case 5: format(name, sizeof(name), "Head Admin";
        case 6: format(name, sizeof(name), "Server Manager";
        case 7: format(name, sizeof(name), "Server Owner";
        case 8: format(name, sizeof(name), "Server Scripter";
    }
    switch(PlayerInfo[playerid][pMapper])
    {
        case 1: format(name, sizeof(name), "%s & Trial Mapper", name);
        case 2: format(name, sizeof(name), "%s & General Mapper", name);
        case 3: format(name, sizeof(name), "%s & Senior Mapper", name);
        case 4: format(name, sizeof(name), "%s & Asst. Head Mapper", name);
        case 5: format(name, sizeof(name), "%s & Head Mapper", name);
    }
    return name;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)