D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(76) : error 017: undefined symbol "gTeam" D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(76) : warning 215: expression has no effect D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(76) : error 001: expected token: ";", but found "]" D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(76) : error 029: invalid expression, assumed zero D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(76) : fatal error 107: too many error messages on one line
#include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" FilterScript by Verlaj"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else //Max Allowed Zones #define MAX_GANGZONES 15 //Colors #define COLOR_COPS 0x0080FFFF #define COLOR_BALLA 0xFF00FFFF #define COLOR_BALLAS 0xFF00FFFF #define COLOR_VEGOSS 0xFFFF00FF #define COLOR_GROVE 0x00FF00FF #define COLOR_GROVES 0x00FF00FF #define COLOR_VEGOS 0xFFFF00FF #define COLOR_AZTECS 0x00FFFFFF #define GROVE #define GROVES #define BALLA #define BALLAS #define COPS #define VEGOS #define VEGOSS #define AZTECS #define OTHERS #define ADMINS main() { print("\n----------------------------------"); print(" LSDM by Verlaj"); print("----------------------------------\n"); } #endif new Grove; new Groves; new Balla; new Ballas; new Cops; new Vegos; new Vegoss; new Aztecs; new Others; new Admins; new Checkpoint[MAX_PLAYERS]; new timer; forward SetZone(playerid); public SetZone(playerid) { SetPlayerScore(playerid,GetPlayerScore(playerid)+5 ); GivePlayerMoney(playerid,6000); SendClientMessage(playerid, COLOR_BALLA,"You've capture the zone and receive 500 $ and 5 score"); if(gTeam[playerid] == COPS) { GangZoneShowForAll(COPS,COLOR_COPS); } if(gTeam[playerid] == TEAM_BALLA) { GangZoneShowForAll(BALLA,COLOR_BALLA); } if(gTeam[playerid] == TEAM_BALLAS) { GangZoneShowForAll(BALLAS,COLOR_BALLAS); } if(gTeam[playerid] == TEAM_GROVE) { GangZoneShowForAll(GROVE,COLOR_GROVE); } if(gTeam[playerid] == TEAM_GROVES) { GangZoneShowForAll(GROVES,COLOR_GROVES); } if(gTeam[playerid] == TEAM_VEGOS) { GangZoneShowForAll(VEGOS,COLOR_VEGOS); } if(gTeam[playerid] == TEAM_VEGOSS) { GangZoneShowForAll(VEGOSS,COLOR_VEGOSS); } if(gTeam[playerid] == TEAM_AZTECS) { GangZoneShowForAll(AZTECS,COLOR_AZTECS); } return 1; } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("LS Gangwar"); //classes AddPlayerClass(280,1553.1122,-1676.5267,16.1953,87.1886,0,0,0,0,0,0); // AddPlayerClass(285,1552.4463,-1674.9934,16.1953,87.1886,0,0,0,0,0,0); // AddPlayerClass(286,1552.6124,-1673.4362,16.1953,87.1886,0,0,0,0,0,0); // //Gangs Grove = GangZoneCreate(2121.136, -1792.399, 2562.265, -1508.161); Groves = GangZoneCreate(2113.53, -2072.688, 2505.222, -1756.869); Balla = GangZoneCreate(1881.557, -1452.893, 2417.757, -1156.812); Ballas = GangZoneCreate(1824.515, -1977.943, 2124.939, -1559.482); Cops = GangZoneCreate(1352.963, -1831.876, 1820.712, -1448.945); Vegos = GangZoneCreate(1957.614, -1156.812, 2699.167, -939.6865); Vegoss = GangZoneCreate(2714.378, -2179.277, 2851.281, -1093.648); Aztecs = GangZoneCreate(1535.499, -2187.173, 2193.39, -1950.308); Others = GangZoneCreate(337.6059, -1867.406, 1581.133, -912.0523); Admins = GangZoneCreate(1003.102, -2487.201, 1660.993, -1910.831); //vehicles AddStaticVehicle(451,2496.8591,-2021.2996,13.2537,357.2657,86,36); // LS AddStaticVehicle(468,2281.6221,-2029.4756,13.2540,172.4969,86,36); // LS AddStaticVehicle(477,2265.6465,-2029.9121,13.2542,65.5669,86,36); // LS AddStaticVehicle(477,2169.2891,-1977.4875,13.2604,51.1072,86,36); // LS AddStaticVehicle(496,2139.0198,-1969.3490,13.2679,80.6192,86,36); // LS AddStaticVehicle(480,2164.3052,-2079.2617,13.2562,226.2545,86,36); // LS AddStaticVehicle(496,2176.5696,-2178.0122,13.2529,142.1801,86,36); // LS AddStaticVehicle(451,2105.9785,-2291.1802,13.1683,180.4597,86,36); // LS AddStaticVehicle(496,1994.5508,-1598.0796,13.2739,223.9955,86,36); // LS AddStaticVehicle(480,2007.7089,-1696.3993,13.2586,182.0318,86,36); // LS AddStaticVehicle(480,1983.5963,-1727.4553,15.6738,274.3444,86,36); // LS AddStaticVehicle(401,1932.5048,-1769.3558,13.1268,177.6216,86,36); // LS AddStaticVehicle(436,1932.1965,-1780.0702,13.1673,177.9055,86,36); // LS AddStaticVehicle(451,1908.9287,-1784.9623,13.1682,0.0299,86,36); // LS AddStaticVehicle(560,1794.3892,-1604.0139,13.2529,76.9403,86,36); // LS AddStaticVehicle(560,1726.4248,-1600.7531,13.1564,88.2585,86,36); // LS AddStaticVehicle(402,1665.6891,-1582.4607,13.2545,65.0231,86,36); // LS AddStaticVehicle(602,1565.2382,-1596.8497,13.1674,90.0225,86,36); // LS AddStaticVehicle(451,1449.2327,-1587.8234,13.1674,89.0945,86,36); // LS AddStaticVehicle(415,1424.5813,-1677.6750,13.1688,179.6884,86,36); // LS AddStaticVehicle(400,1493.1000,-1737.7424,13.1682,265.0956,86,36); // LS AddStaticVehicle(497,1575.7141,-1620.2191,13.2545,182.4500,86,36); // police helicopter AddStaticVehicle(497,1560.9706,-1620.5524,13.2540,176.5686,86,36); // police helicopter AddStaticVehicle(427,1602.0443,-1691.9637,5.5975,272.5448,86,36); // police van AddStaticVehicle(427,1592.0000,-1708.4974,5.5972,358.3158,86,36); // police van AddStaticVehicle(596,1570.9933,-1709.4912,5.5971,178.6993,86,36); // police car ls AddStaticVehicle(596,1544.5662,-1675.6193,5.5977,271.5327,86,36); // police car ls AddStaticVehicle(412,1565.6331,-1821.4043,13.0886,179.0826,86,36); // LS AddStaticVehicle(409,1466.6803,-1868.4609,13.0887,88.4936,86,36); // LS AddStaticVehicle(402,1325.0143,-1844.6808,13.2509,48.7858,86,36); // LS AddStaticVehicle(402,1279.2545,-1720.7682,13.2527,87.6877,86,36); // LS AddStaticVehicle(420,1188.8795,-1706.7960,13.2022,89.6439,86,36); // LS AddStaticVehicle(559,1144.5472,-1752.5074,13.3002,101.4055,86,36); // LS AddStaticVehicle(436,1062.9872,-1757.6853,13.1234,88.5622,86,36); // LS AddStaticVehicle(533,1062.4152,-1769.9504,13.0754,273.2372,74,1); // ls car AddStaticVehicle(480,1082.8860,-1763.9503,13.1445,269.2926,12,12); // ls car AddStaticVehicle(559,1084.6826,-1754.6135,13.1585,90.5726,12,12); // ls car AddStaticVehicle(415,1083.1296,-1772.5614,13.1235,272.4908,25,1); // ls car AddStaticVehicle(421,1098.0341,-1772.6879,13.1193,271.0224,25,1); // ls car AddStaticVehicle(411,901.8204,-1766.4202,13.2342,90.3815,25,1); // ls car AddStaticVehicle(429,782.8649,-1790.0121,12.9304,259.8007,25,1); // LS AddStaticVehicle(411,759.2559,-1839.8706,6.9341,74.0454,25,1); // LS AddStaticVehicle(415,887.0589,-1857.6451,9.0260,268.3442,25,1); // LS AddStaticVehicle(560,748.3141,-1691.3063,4.2399,359.8724,69,1); // LS AddStaticVehicle(603,745.5906,-1580.7368,13.9657,80.5562,69,1); // LS AddStaticVehicle(560,688.1830,-1599.5669,13.9359,358.5336,69,1); // LS AddStaticVehicle(603,690.9634,-1570.8779,14.0806,176.6341,69,1); // LS AddStaticVehicle(412,640.3120,-1711.7786,14.1731,178.5743,69,1); // LS AddStaticVehicle(603,526.5825,-1709.1243,12.7418,81.2367,69,1); // LS AddStaticVehicle(534,395.9615,-1724.4238,7.8183,92.5811,3,8); // LS AddStaticVehicle(522,247.3374,-1739.5638,3.8562,61.4114,3,8); // LS AddStaticVehicle(461,189.1476,-1685.1014,13.2307,22.1722,3,8); // LS AddStaticVehicle(477,187.7341,-1681.5549,13.6480,21.8671,3,8); // LS AddStaticVehicle(522,183.9197,-1671.9285,14.5315,22.0002,3,8); // LS AddStaticVehicle(506,406.3984,-1364.2295,14.4618,329.0887,3,8); // LS AddStaticVehicle(401,405.0511,-1363.7410,14.5843,329.1442,6,6); // LS AddStaticVehicle(451,2506.5808,-1677.9761,13.1246,156.2793,86,36); // LS cars AddStaticVehicle(429,2501.7097,-1656.4264,13.0928,259.4068,86,36); // LS cars AddStaticVehicle(526,2375.0625,-1641.7115,13.1635,177.2939,86,36); // LS cars AddStaticVehicle(602,2299.6892,-1642.0713,14.3627,174.7084,86,36); // LS cars AddStaticVehicle(560,2285.6404,-1677.4661,14.1013,355.8858,86,36); // LS cars AddStaticVehicle(482,2187.2156,-1787.2401,13.0378,251.9404,86,36); // LS cars AddStaticVehicle(402,2164.0281,-1793.5435,13.0162,179.7659,86,36); // LS cars AddStaticVehicle(510,2504.4998,-1693.5536,13.1625,359.8951,46,46); // bike Grovestreet AddStaticVehicle(510,2507.5952,-1691.6656,13.1622,261.4576,46,46); // bike Grovestreet AddStaticVehicle(510,2503.8530,-1698.1868,13.1650,129.7625,46,46); // bike Grovestreet AddStaticVehicle(510,2505.9917,-1697.5675,13.1594,63.0064,46,46); // bike Grovestreet AddStaticVehicle(510,2503.6643,-1694.0337,13.1639,29.4034,46,46); // bike Grovestreet AddStaticVehicle(510,2508.0681,-1692.3827,13.1633,206.9718,46,46); // bike Grovestreet AddStaticVehicle(510,2503.8235,-1692.9709,13.1638,1.0323,46,46); // bike Grovestreet AddStaticVehicle(599,-2160.3623,-2393.3447,30.7326,233.0945,0,1); // Police ranger Angel Pine AddStaticVehicle(599,-2155.0630,-2397.3110,30.7294,231.0169,0,1); // Police ranger Angel Pine AddStaticVehicle(468,-2214.7917,-2406.0457,30.6478,227.7035,46,46); // sanchez Angel Pine AddStaticVehicle(468,-2207.4939,-2438.1301,30.2854,122.6755,46,46); // sanchez Angel Pine AddStaticVehicle(468,-2176.2104,-2361.4805,30.2937,355.1445,46,46); // sanchez Angel Pine AddStaticVehicle(532,-2217.5742,-2369.6331,32.8193,316.1729,0,0); // combine havester Angel Pine AddStaticVehicle(532,-2121.6841,-2549.7708,32.3119,25.8474,0,0); // combine havester Angel Pine AddStaticVehicle(497,-2178.4746,-2405.9463,35.4743,215.7232,0,1); // police heli Angel Pine AddStaticVehicle(604,-2166.1445,-2426.1565,30.3668,319.5309,78,76); // glendale shit angel pine AddStaticVehicle(604,-2128.7117,-2454.0200,30.2853,305.9273,78,76); // glendale shit angel pine AddStaticVehicle(604,-2063.6450,-2517.4172,30.1653,60.6724,78,76); // glendale shit angel pine AddStaticVehicle(605,-2153.0334,-2549.2056,30.4385,319.8821,32,8); // sadler shit agel pine AddStaticVehicle(605,-2219.9324,-2459.5286,30.3600,49.9390,32,8); // sadler shit agel pine AddStaticVehicle(605,-2093.8445,-2239.1809,30.5943,94.4316,32,8); // sadler shit agel pine AddStaticVehicle(605,-485.4768,-489.0304,25.3360,178.7128,43,8); // car road AddStaticVehicle(605,-518.9233,-488.1432,25.3483,356.9462,43,8); // car road AddStaticVehicle(526,-31.0793,-280.3458,5.1929,87.7064,9,39); // car AddStaticVehicle(526,-2.2456,-300.7471,5.1912,267.8522,9,39); // car AddStaticVehicle(526,1.2259,-224.4094,5.1964,182.6120,9,39); // car AddStaticVehicle(532,-4.1158,-90.9087,3.9590,325.7426,0,0); // combine havester blueberry AddStaticVehicle(532,28.4542,-63.9843,3.0002,250.2493,0,0); // combine havester blueberry AddStaticVehicle(497,171.8890,-37.1138,1.7553,241.4102,0,1); // police heli blueberry AddStaticVehicle(599,203.0925,-66.5107,1.6887,270.4514,0,1); // police ranger blueberry AddStaticVehicle(599,215.0957,-66.5248,1.6887,270.1732,0,1); // police ranger blueberry AddStaticVehicle(604,245.1485,-85.5577,1.7047,80.2291,2,76); // glendale shit blueberry AddStaticVehicle(604,220.5743,-158.9865,1.3200,175.0489,2,76); // glendale shit blueberry AddStaticVehicle(604,201.5273,-148.5034,1.3211,340.1321,2,76); // glendale shit blueberry AddStaticVehicle(605,244.3703,-152.1362,1.3911,88.5313,67,8); // sadler shit blueberry AddStaticVehicle(605,217.9820,-207.0455,1.3192,90.4048,67,8); // sadler shit blueberry AddStaticVehicle(605,104.4021,-203.0794,1.3996,85.4501,67,8); // sadler shit blueberry AddStaticVehicle(605,59.9480,-268.2338,1.3966,30.7319,67,8); // sadler shit blueberry AddStaticVehicle(468,60.5071,-225.9973,1.2410,299.1859,53,53); // sanchez blueberry AddStaticVehicle(468,127.2450,-167.5363,1.2475,337.0997,53,53); // sanchez blueberry AddStaticVehicle(468,159.1464,-135.2944,1.2435,283.4706,53,53); // sanchez blueberry AddStaticVehicle(468,203.3507,-27.9562,1.2399,103.0357,53,53); // sanchez blueberry AddStaticVehicle(468,247.5081,-15.4976,1.4545,357.7925,53,53); // sanchez blueberry AddStaticVehicle(468,797.6225,-550.8489,16.0042,181.0363,3,3); // sanchez dilimore AddStaticVehicle(468,814.7634,-601.1871,16.0053,295.8592,3,3); // sanchez dilimore AddStaticVehicle(468,839.1171,-556.8467,16.0052,76.5420,3,3); // sanchez dilimore AddStaticVehicle(605,814.2615,-537.4205,16.1556,359.9836,11,11); // dilimore AddStaticVehicle(605,748.6735,-524.9669,16.0785,89.4517,11,11); // dilimore AddStaticVehicle(605,715.9291,-570.9590,16.0725,180.3826,11,11); // dilimore AddStaticVehicle(605,696.7848,-604.3859,16.0825,92.1870,11,11); // dilimore AddStaticVehicle(604,675.2267,-557.8617,16.0778,358.9798,16,76); // dilimore AddStaticVehicle(604,647.8820,-525.2220,16.0005,89.3928,16,76); // dilimore AddStaticVehicle(599,612.7402,-597.1592,17.4233,272.0689,0,1); // dilimore AddStaticVehicle(599,611.2703,-601.8851,17.4168,272.1797,0,1); // dilimore AddStaticVehicle(497,632.1176,-606.4423,16.5140,284.2342,0,1); // dilimore AddStaticVehicle(497,1358.8604,428.0706,19.7350,263.3812,0,1); // montgomery AddStaticVehicle(599,1363.7592,404.0303,19.6852,155.8014,0,1); // montgomery AddStaticVehicle(599,1368.1619,414.1598,19.6932,156.4077,0,1); // montgomery AddStaticVehicle(605,1363.0800,473.6211,20.0136,149.0137,8,90); // montgomery AddStaticVehicle(605,1349.2429,360.3071,19.4061,155.5654,8,90); // montgomery AddStaticVehicle(605,1303.0327,325.7499,19.2950,59.8205,8,90); // montgomery AddStaticVehicle(604,1292.0248,269.0793,19.2215,336.7788,25,76); // montgomery AddStaticVehicle(604,1340.9180,220.3899,19.2069,249.0420,25,76); // montgomery AddStaticVehicle(468,1279.3047,240.7904,19.2201,173.3659,6,6); // montgomery AddStaticVehicle(468,1255.5380,271.0032,19.2241,71.4516,6,6); // montgomery AddStaticVehicle(468,1202.6055,269.1229,19.2231,208.0226,6,6); // montgomery AddStaticVehicle(532,1182.6537,285.1873,20.2037,222.0399,0,0); // montgomery AddStaticVehicle(532,1180.7285,254.4703,20.2944,165.8439,0,0); // montgomery AddStaticVehicle(605,1974.5085,205.1912,29.0968,0.7670,83,13); // car AddStaticVehicle(605,2327.5566,-114.1786,26.7550,0.2699,61,8); // palomino creek AddStaticVehicle(605,2270.6511,-85.1044,26.3365,169.2517,61,8); // palomino creek AddStaticVehicle(605,2206.7986,-78.3125,26.6819,270.5248,61,8); // palomino creek AddStaticVehicle(604,2228.8225,-41.9547,26.1417,352.4332,67,76); // palomino creek AddStaticVehicle(604,2278.9272,-23.0773,26.1441,264.0753,67,76); // palomino creek AddStaticVehicle(604,2298.5625,59.0802,26.1475,357.1157,67,76); // palomino creek AddStaticVehicle(468,2240.0229,99.3105,26.1553,84.8841,46,46); // palomino creek AddStaticVehicle(468,2232.4631,148.7375,26.1554,301.7268,46,46); // palomino creek AddStaticVehicle(468,2295.3044,154.5676,26.6153,19.6971,46,46); // palomino creek AddStaticVehicle(599,2242.3757,46.3838,26.5928,88.1854,0,1); // palomino creek AddStaticVehicle(599,2258.5608,45.6588,26.5944,87.5888,0,1); // palomino creek AddStaticVehicle(497,2247.5293,35.1177,26.5850,359.9805,0,1); // palomino creek AddStaticVehicle(599,-140.6365,1219.3903,19.9327,269.9780,0,1); // fort carson AddStaticVehicle(599,-153.0243,1220.2010,19.9631,263.9799,0,1); // fort carson AddStaticVehicle(497,-168.1041,1218.9374,19.9153,0.0071,0,1); // palomino creek AddStaticVehicle(605,-194.1460,1157.6355,19.6139,2.1959,43,8); // palomino creek AddStaticVehicle(605,-147.2719,1152.9304,19.4828,274.8332,43,8); // palomino creek AddStaticVehicle(605,-86.3220,1121.6538,19.5602,181.7799,43,8); // palomino creek AddStaticVehicle(604,-104.8593,1074.9298,19.3782,10.5199,68,76); // palomino creek AddStaticVehicle(604,-170.1641,1100.2444,19.3389,85.6878,68,76); // palomino creek AddStaticVehicle(604,-251.7673,1094.7736,19.3359,91.0642,68,76); // palomino creek AddStaticVehicle(604,-280.7575,1128.1713,19.3996,17.9889,68,76); // palomino creek AddStaticVehicle(468,-272.2038,1176.6713,19.2634,329.1276,3,3); // palomino creek AddStaticVehicle(468,-194.8406,1196.7444,19.2540,266.9537,3,3); // palomino creek AddStaticVehicle(468,-817.7988,1457.7460,13.8245,3.7019,6,6); // las barancas AddStaticVehicle(468,-842.0606,1500.5693,18.7236,353.2682,6,6); // las barancas AddStaticVehicle(468,-854.0262,1540.7268,22.5706,26.4869,6,6); // las barancas AddStaticVehicle(468,-887.3462,1582.1420,26.3799,39.2419,6,6); // las barancas AddStaticVehicle(468,-1488.9741,2594.6328,55.4353,0.1539,46,46); // el que AddStaticVehicle(468,-1500.8629,2628.3179,55.3558,10.9711,46,46); // el que AddStaticVehicle(468,-1531.5784,2662.3711,55.5053,87.5203,46,46); // el que AddStaticVehicle(468,-2292.7019,2370.6023,5.0610,31.9660,53,53); // bayside marina AddStaticVehicle(468,-2356.2710,2364.4392,4.8852,112.7306,53,53); // bayside marina AddStaticVehicle(468,-2432.3198,2329.2690,4.6676,107.3764,53,53); // bayside marina AddStaticVehicle(468,-2501.2129,2336.3030,4.5283,80.6930,53,53); // bayside marina AddStaticVehicle(468,-2565.4133,2303.9666,4.5055,171.3426,53,53); // bayside marina AddStaticVehicle(468,-2536.5239,2403.3396,14.6140,333.3903,53,53); // bayside marina AddStaticVehicle(468,-2495.4507,2419.0583,16.2810,286.5972,53,53); // bayside marina AddStaticVehicle(400,2004.4799,-2220.1111,13.6392,10.0702,123,1); // LS airport AddStaticVehicle(400,1951.8643,-2171.8948,13.5571,271.4756,123,1); // LS airport AddStaticVehicle(460,1934.8420,-2780.1599,1.6647,139.0067,1,9); // LS airport AddStaticVehicle(476,1992.8267,-2253.3091,14.2767,91.1008,7,6); // LS airport AddStaticVehicle(476,1994.2731,-2316.2756,14.2581,94.8609,7,6); // LS airport AddStaticVehicle(476,1989.3077,-2382.7236,14.2600,85.3070,7,6); // LS airport AddStaticVehicle(487,1930.4723,-2241.2339,13.7236,198.3374,29,42); // LS airport AddStaticVehicle(487,1921.0543,-2242.8345,13.7233,190.0469,29,42); // LS airport AddStaticVehicle(548,1895.2197,-2280.5198,15.1463,354.1714,1,1); // LS airport AddStaticVehicle(592,1934.2300,-2430.7373,14.7357,185.1791,1,1); // LS airport AddStaticVehicle(592,1861.4375,-2440.6936,14.7512,172.9046,1,1); // LS airport AddStaticVehicle(592,1728.7174,-2448.6321,14.7507,181.6103,1,1); // LS airport AddStaticVehicle(557,2109.5835,-2419.5767,13.9219,192.8695,1,1); // LS airport AddStaticVehicle(557,2085.5400,-2425.3940,13.9219,112.4764,1,1); // LS airport AddStaticVehicle(557,2058.3362,-2439.3474,13.9220,104.7314,1,1); // LS airport AddStaticVehicle(557,2033.8884,-2446.9861,14.0330,160.7032,1,1); // LS airport AddStaticVehicle(519,1917.9769,-2521.8279,14.4690,174.1010,1,1); // LS airport AddStaticVehicle(519,1915.0986,-2549.6912,14.4763,174.1012,1,1); // LS airport AddStaticVehicle(519,1797.1934,-2619.1135,14.4687,23.8161,1,1); // LS airport AddStaticVehicle(593,1750.1307,-2629.5938,14.0093,352.0037,58,8); // LS airport AddStaticVehicle(593,1683.5588,-2628.8340,14.0083,4.0292,58,8); // LS airport AddStaticVehicle(593,1613.6462,-2628.4746,14.0056,4.6740,58,8); // LS airport return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, Grove, 0x00FF4096); GangZoneShowForPlayer(playerid, Groves, 0x00FF4096); GangZoneShowForPlayer(playerid, Balla, 0xFF00FF96); GangZoneShowForPlayer(playerid, Ballas, 0xFF00FF96); GangZoneShowForPlayer(playerid, Cops, 0x0080FF96); GangZoneShowForPlayer(playerid, Vegos, 0xFFFF0096); GangZoneShowForPlayer(playerid, Vegoss, 0xFFFF0096); GangZoneShowForPlayer(playerid, Aztecs, 0x80FFFF96); GangZoneShowForPlayer(playerid, Others, 0x80808096); GangZoneShowForPlayer(playerid, Admins, 0xFF000096); SetPlayerCheckpoint(playerid, 2121.136, -1792.399, 2562.265, -1508.161); SetPlayerCheckpoint(playerid, 1881.557, -1452.893, 2417.757, -1156.812); SetPlayerCheckpoint(playerid, 1352.963, -1831.876, 1820.712, -1448.945); SetPlayerCheckpoint(playerid, 1957.614, -1156.812, 2699.167, -939.6865); SetPlayerCheckpoint(playerid, 1535.499, -2187.173, 2193.39, -1950.308); SetPlayerCheckpoint(playerid, 337.6059, -1867.406, 1581.133, -912.0523); SetPlayerCheckpoint(playerid, 2113.53, -2072.688, 2505.222, -1756.869); SetPlayerCheckpoint(playerid, 1824.515, -1977.943, 2124.939, -1559.482); SetPlayerCheckpoint(playerid, 2714.378, -2179.277, 2851.281, -1093.648); GivePlayerWeapon(playerid,24,1000); GivePlayerWeapon(playerid,27,1000); GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,34,1000); GivePlayerWeapon(playerid,32,1000); GivePlayerMoney(playerid, 10000); return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { SendClientMessage(playerid, 0x00FF007A, "Wait 30 Seconds - To Caputre this Zone."); // Telling the player to wait 30 seconds. GangZoneFlashForAll(Cops, 0xFF80FF76); // Makes the turf Flash Pink ( telling everyone its being taken over ) GangZoneFlashForAll(Vegos, 0xFF80FF76); // Makes the turf Flash Pink ( telling everyone its being taken over ) SendClientMessageToAll(0xFF80FFFF, "The gangzone is being taken over"); // Sending Message to all players. timer = SetTimerEx("SetZone", 30000, false, "i", playerid); // Setting the Timer... ( 30 seconds ) Checkpoint[playerid] = 1; // Telling the variable that the player is in the checkpoint. return 1; } public OnPlayerLeaveCheckpoint(playerid) { if(Checkpoint[playerid] == 1) { SendClientMessage(playerid, 0x00FF007A, " You have left the checkpoint , You have failed to capture"); GangZoneStopFlashForAll(Cops); GangZoneStopFlashForAll(Vegos); SendClientMessageToAll(0x00FF007A, "Zone was not taken over"); KillTimer(timer); Checkpoint[playerid] = 0; } return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }
new gTeam[MAX_PLAYERS];
D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(77) : error 029: invalid expression, assumed zero D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(79) : error 029: invalid expression, assumed zero D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(79) : warning 215: expression has no effect D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(79) : error 001: expected token: ";", but found ")" D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(79) : error 029: invalid expression, assumed zero D:\samp03e_svr_R2_win32\gamemodes\LSDM.pwn(79) : fatal error 107: too many error messages on one line
Add this up top by the other variables:
pawn Код:
|
#define GROVE
#define GROVES
#define BALLA
#define BALLAS
#define COPS
#define VEGOS
#define VEGOSS
#define AZTECS
#define OTHERS
#define ADMINS
#define GROVE 1
#define GROVES 2
#define BALLA 3
#define BALLAS 4
#define COPS 5
#define VEGOS 6
#define VEGOSS 7
#define AZTECS 8
#define OTHERS 9
#define ADMINS 10