05.03.2015, 21:37
(
Последний раз редактировалось nicholasramdhan; 06.03.2015 в 23:27.
)
So, I'm having a bit problem updating my script. It would appear that I keep getting this spam mismatch problem but, I'm yet to know what's causing it. I've relatively new to scripting so, if you could please help me solve this problem. It would be much grateful.
Warnings:
Script coding:
Enum of tinfo:
Warnings:
Код:
C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(233) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(234) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(235) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(236) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(237) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(238) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(239) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(240) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(241) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(242) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(243) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(244) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(245) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(246) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(247) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(248) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(249) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(250) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(251) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(252) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(253) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(254) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(255) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(256) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(257) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(258) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(259) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(260) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(261) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(262) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(263) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(264) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(265) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(266) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(267) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(268) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(269) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(270) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(271) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(272) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(273) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(274) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(275) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(276) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(277) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(278) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(279) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(280) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(281) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(282) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(283) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(284) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(285) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(286) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(287) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(288) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(289) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(290) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(291) : warning 213: tag mismatch C:\Users\***\Desktop\GWDM Script OLD\GWDMv1.2.pwn(292) : warning 213: tag mismatch
Script coding:
Код:
ew turfs[ MAX_TURFS ][ tinfo ] = { {0,"Ganton",2222.50, -1852.80, 2632.80, -1722.30, GROVE_COLOR,TEAM_GROVE,-1, 0, 0, 0, 0}, { 1, "Ganton", 2222.50, -1722.30, 2632.80, -1628.50, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 2, "Idlewood", 1812.60, -1852.80, 1971.60, -1742.30, COPS_COLOR, TEAM_COPS, -1, 0, 0, 0, 0}, { 3, "Idlewood", 1951.60, -1742.30, 2124.60, -1602.30, COPS_COLOR, TEAM_COPS, -1, 0, 0, 0, 0}, { 4, "Idlewood", 1812.60, -1602.30, 2124.60, -1449.60, COPS_COLOR, TEAM_COPS, -1, 0, 0, 0, 0}, { 5, "Idlewood", 2124.60, -1742.30, 2222.50, -1494.00, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 6, "Idlewood", 1971.60, -1852.80, 2222.50, -1742.30, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 7, "Idlewood", 1812.60, -1742.30, 1951.60, -1602.30, COPS_COLOR, TEAM_COPS, -1, 0, 0, 0, 0}, { 8, "Willow Field", 1970.60, -2179.20, 2089.00, -1852.80, AZTECAS_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0}, { 9, "Willow Field", 2089.00, -1989.90, 2324.00, -1852.80, AZTECAS_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0}, { 10, "Willow Field", 2089.00, -2235.80, 2201.80, -1989.90, AZTECAS_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0}, { 11, "Willow Field", 2324.00, -2059.20, 2541.70, -1852.80, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 12, "Jefferson", 2056.80, -1372.00, 2281.40, -1210.70, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 13, "Jefferson", 2056.80, -1210.70, 2185.30, -1126.30, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 14, "Jefferson", 2056.80, -1449.60, 2266.20, -1372.00, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 15, "East Los Santos", 2421.00, -1628.50, 2632.80, -1454.30, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 16, "East Los Santos", 2222.50, -1628.50, 2421.00, -1494.00, GROVE_COLOR, TEAM_GROVE, -1, 0, 0, 0, 0}, { 17, "East Los Santos", 2266.20, -1494.00, 2381.60, -1372.00, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 18, "East Los Santos", 2281.60, -1372.00, 2381.60, -1135.00, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 19, "East Los Santos", 2381.60, -1454.30, 2462.10, -1135.00, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 20, "East Los Santos", 2462.10, -1454.30, 2581.70, -1135.00, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 21, "East Beach", 2632.80, -1852.80, 2959.30, -1668.10, DEALERS_COLOR, TEAM_MAFIA, -1, 0, 0, 0, 0}, { 22, "East Beach", 2632.80, -1668.10, 2747.70, -1393.40, DEALERS_COLOR, TEAM_MAFIA, -1, 0, 0, 0, 0}, { 23, "East Beach", 2747.70, -1668.10, 2959.30, -1498.60, DEALERS_COLOR, TEAM_MAFIA, -1, 0, 0, 0, 0}, { 24, "East Beach", 2747.70, -1498.60, 2959.30, -1120.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 25, "Playa Del Seville", 2703.50, -2126.90, 2959.30, -1852.80, DEALERS_COLOR, TEAM_MAFIA, -1, 0, 0, 0, 0}, { 26, "El Corona", 1812.60, -2179.20, 1970.60, -1852.80, AZTECAS_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0}, { 27, "El Corona", 1692.60, -2179.20, 1812.60, -1842.20, AZTECAS_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0}, { 28, "Glen Park", 1812.60, -1350.70, 2056.80, -1100.80, BALLAS_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0}, { 29, "Los Flores", 2581.70, -1393.40, 2747.70, -1135.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 30, "Las Colinas", 1994.30, -1100.80, 2056.80, -920.80, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 31, "Las Colinas", 2056.80, -1126.30, 2126.80, -920.80, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 32, "Las Colinas", 2185.30, -1154.50, 2281.40, -934.40, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 33, "Las Colinas", 2126.80, -1126.30, 2185.30, -934.40, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 34, "Las Colinas", 2632.70, -1135.00, 2747.70, -945.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 35, "Las Colinas", 2281.40, -1135.00, 2632.70, -945.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0}, { 36, "Verona Beach", 930.20, -2006.70, 1073.20, -1804.20, BIKERS_COLOR, TEAM_BIKERS, -1, 0, 0, 0, 0}, { 37, "Verona Beach", 851.40, -1804.20, 1046.10, -1577.50, BIKERS_COLOR, TEAM_BIKERS, -1, 0, 0, 0, 0}, { 38, "Verona Beach", 1161.50, -1722.20, 1323.90, -1577.50, BIKERS_COLOR, TEAM_BIKERS, -1, 0, 0, 0, 0}, { 39, "Verona Beach", 1046.10, -1722.20, 1161.50, -1577.50, BIKERS_COLOR, TEAM_BIKERS, -1, 0, 0, 0, 0}, { 40, "Mulholland", 1169.10, -910.10, 1318.10, -768.00, RAPPERS_COLOR, TEAM_HOBOS, -1, 0, 0, 0, 0}, { 41, "Mulholland", 1318.10, -910.10, 1357.00, -768.00, RAPPERS_COLOR, TEAM_HOBOS, -1, 0, 0, 0, 0}, { 42, "Mulholland", 1357.00, -926.90, 1463.90, -768.00, RAPPERS_COLOR, TEAM_HOBOS, -1, 0, 0, 0, 0}, { 43, "Mulholland", 1185.58, -767.09, 1462.02, -641.76, RAPPERS_COLOR, TEAM_HOBOS, -1, 0, 0, 0, 0}, { 44, "Pershing Square", 1327.8929,-1729.3352,1821.7725,-1573.5878, COPS_COLOR, TEAM_COPS, -1, 0, 0, 0, 0}, { 45, "LS International", 1249.60, -2394.30, 1852.00, -2179.20, COLOR_PINK, TEAM_TRIADS, -1, 0, 0, 0, 0}, { 46, "LS International", 1852.00, -2394.30, 2089.00, -2179.20, COLOR_PINK, TEAM_TRIADS, -1, 0, 0, 0, 0}, { 47, "LS International", 1382.70, -2730.80, 2201.80, -2394.30, COLOR_PINK, TEAM_TRIADS, -1, 0, 0, 0, 0}, { 48, "Ocean Docks", 2373.70, -2697.00, 2809.20, -2330.40, HOODLUMS_COLOR, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 49, "Ocean Docks", 2201.80, -2418.30, 2324.00, -2095.00, HOODLUMS_COLOR, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 50, "Ocean Docks", 2324.00, -2302.30, 2703.50, -2145.10, HOODLUMS_COLOR, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 51, "Ocean Docks", 2089.00, -2394.30, 2201.80, -2235.80, HOODLUMS_COLOR, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 52, "Ocean Docks", 2201.80, -2730.80, 2324.00, -2418.30, HOODLUMS_COLOR, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 53, "Ocean Docks", 2703.50, -2302.30, 2959.30, -2126.90, DEALERS_COLOR, TEAM_MAFIA, -1, 0, 0, 0, 0}, { 54, "Ocean Docks", 2324.00, -2145.10, 2703.50, -2059.20, COLOR_PINK, TEAM_HOODLUMS, -1, 0, 0, 0, 0}, { 55, "Market", 787.40, -1416.20, 1072.60, -1310.20, WORKERS_COLOR, TEAM_WORKERS, -1, 0, 0, 0, 0}, { 56, "Market", 952.60, -1310.20, 1072.60, -1130.80, WORKERS_COLOR, TEAM_WORKERS, -1, 0, 0, 0, 0}, { 57, "Market", 1072.60, -1416.20, 1370.80, -1130.80, WORKERS_COLOR, TEAM_WORKERS, -1, 0, 0, 0, 0}, { 58, "Market", 926.90, -1577.50, 1370.80, -1416.20, BIKERS_COLOR, TEAM_BIKERS, -1, 0, 0, 0, 0}, { 59, "Downtown LS", 1370.80, -1384.90, 1463.90, -1170.80, WORKERS_COLOR, TEAM_WORKERS, -1, 0, 0, 0, 0}
Enum of tinfo:
Код:
enum tinfo { turfID, turfName[ 40 ], Float:zMinX, Float:zMinY, Float:zMaxX, Float:zMaxY, TurfColor, TurfOwner, TurfAttacker, TurfKills, TurfAttackKills, TurfWarStarted, MIT // Members In Turf }