rendered paste body#include <float>
#include <a_samp>
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
public OnFilterScriptInit(){
print("\n+-------------------------------+");
print("| No Limit Objects |");
print("| FilterScript Loaded |");
print("| Coded By |");
print("| Mruk |");
print("+-------------------------------+\n");
SetTimer("CreateObjects", 750, 1);
return 1;
}
#define MAX_OBJECTS2 234
new PlayerObject[MAX_PLAYERS];
new Float:ObjectsCoords[MAX_OBJECTS2][6] = {
{2335.106689,2443.729736,6.480999,0.000000,0.000000,236.250106},
{1067.930908,1360.319702,12.465000,0.000000,0.000000,0.000000},
{-722.687622,910.653686,13.903699,0.000000,0.000000,180.000000},
{2507.896240,1243.153076,11.531000,0.000000,0.000000,0.000000},
{-659.261474,922.979492,12.861399,0.000000,0.000000,33.750000},
{1706.060546,1607.602905,12.017900,0.000000,0.000000,254.289306},
{2485.302246,1243.167236,11.531000,0.000000,0.000000,0.000000},
{-134.949401,481.987213,12.016300,0.000000,0.000000,168.750000},
{-140.332794,483.015289,12.041199,0.000000,0.000000,168.750000},
{2293.870605,2500.157714,5.126900,0.000000,0.000000,270.000000},
{2293.965820,2494.408447,5.051199,0.000000,0.000000,270.000000},
{2251.032958,2499.579833,5.051199,0.000000,0.000000,270.000000},
{2251.096191,2494.333007,5.051199,0.000000,0.000000,270.000000},
{1062.920654,1229.308105,9.826399,0.000000,0.000000,0.000000},
{1072.939086,1230.824707,12.400899,0.000000,0.000000,135.000000},
{1074.827880,1231.677856,11.271800,0.000000,0.000000,0.000000},
{1061.089355,1229.410034,10.345700,0.000000,0.000000,90.000000},
{1069.284301,1230.061767,10.584899,0.000000,0.000000,90.000000},
{1074.025024,1228.724243,10.424300,0.000000,0.000000,90.000000},
{1070.814086,1230.809570,10.034600,0.000000,0.000000,270.000000},
{1072.718505,1228.781860,10.525099,0.000000,0.000000,180.000000},
{1075.126953,1230.572265,10.525099,0.000000,0.000000,270.000000},
{1075.457763,1228.776367,10.525099,0.000000,0.000000,0.000000},
{1069.950195,1232.804077,10.524499,0.000000,0.000000,90.000000},
{1076.433227,1231.779296,11.019800,0.000000,0.000000,0.000000},
{1076.810668,1228.056396,10.851300,0.000000,0.000000,270.000000},
{-722.661926,910.783691,16.988700,0.000000,0.000000,0.000000},
{-712.747314,911.399475,11.436200,0.000000,0.000000,0.000000},
{-700.864990,911.322021,11.331000,0.000000,0.000000,0.000000},
{-689.030517,911.070678,11.147100,0.000000,0.000000,0.000000},
{-677.175476,910.978515,11.123200,0.000000,0.000000,33.750000},
{-672.086120,914.372985,11.115699,0.000000,0.000000,33.750000},
{-655.846679,925.040283,11.165699,0.000000,0.000000,45.000000},
{-647.393920,933.417175,11.132800,0.000000,0.000000,90.000000},
{-647.404296,945.355407,11.132800,0.000000,0.000000,90.000000},
{-647.411804,957.274902,11.132800,0.000000,0.000000,90.000000},
{-647.410888,969.224975,11.128700,0.000000,0.000000,90.000000},
{-647.348510,981.116516,11.132800,0.000000,0.000000,180.000000},
{-659.287780,981.104370,11.132800,0.000000,0.000000,180.000000},
{-671.237487,981.138610,11.126199,0.000000,0.000000,180.000000},
{-683.207275,981.131774,11.126199,0.000000,0.000000,180.000000},
{-695.175903,980.971679,11.274499,0.000000,0.000000,180.000000},
{-707.190795,980.877014,11.469499,0.000000,0.000000,180.000000},
{-718.927490,981.110229,11.132800,0.000000,0.000000,180.000000},
{-731.862915,981.274108,11.403499,0.000000,0.000000,270.000000},
{-731.921569,921.693420,11.456100,0.000000,0.000000,270.000000},
{-731.942016,933.562683,11.443099,0.000000,0.000000,270.000000},
{-731.969970,945.488586,11.376700,0.000000,0.000000,270.000000},
{-731.998229,957.388610,11.310299,0.000000,0.000000,270.000000},
{-731.928710,969.282470,11.371100,0.000000,0.000000,270.000000},
{-719.962829,981.200317,11.132800,0.000000,0.000000,180.000000},
{2412.596923,1096.624389,9.920599,0.000000,0.000000,0.000000},
{2412.668945,1101.974243,9.920599,0.000000,0.000000,0.000000},
{2412.693359,1107.536254,9.920599,0.000000,0.000000,0.000000},
{2412.729736,1112.831665,9.920599,0.000000,0.000000,0.000000},
{2412.462890,1134.825195,9.920599,0.000000,0.000000,0.000000},
{2412.608642,1140.324462,9.920599,0.000000,0.000000,0.000000},
{2412.616699,1141.549560,9.920599,0.000000,0.000000,0.000000},
{2412.614013,1146.169799,9.920599,0.000000,0.000000,0.000000},
{2412.413818,1151.253662,9.920599,0.000000,0.000000,0.000000},
{2412.354492,1154.025146,9.920599,0.000000,0.000000,0.000000},
{2412.320800,1159.367065,9.920599,0.000000,0.000000,0.000000},
{2412.374511,1165.125732,9.920599,0.000000,0.000000,0.000000},
{2412.490478,1170.255004,9.920599,0.000000,0.000000,0.000000},
{2432.566162,1112.845214,11.380000,0.000000,0.000000,0.000000},
{2436.234375,1117.423461,11.091699,0.000000,0.000000,0.000000},
{1736.716918,1865.650024,10.235500,0.000000,0.000000,0.000000},
{1723.643676,1869.771606,10.569100,0.000000,0.000000,337.500000},
{1731.439941,1866.932739,10.569100,0.000000,0.000000,0.000000},
{1722.874389,1877.566894,10.569100,0.000000,0.000000,270.000000},
{1739.671752,1866.939208,10.569100,0.000000,0.000000,0.000000},
{1747.186523,1859.496704,10.569100,0.000000,0.000000,90.000000},
{1751.975585,1866.349365,10.561699,0.000000,0.000000,270.000000},
{1749.957153,2040.456787,10.818099,0.000000,0.000000,90.000000},
{1741.346313,2040.459472,10.818099,0.000000,0.000000,90.000000},
{1732.738769,2040.430664,10.818099,0.000000,0.000000,90.000000},
{1724.151367,2040.436523,10.818099,0.000000,0.000000,90.000000},
{1723.871337,2035.982910,10.456999,0.000000,0.000000,270.000000},
{1736.643066,2035.989379,10.456999,0.000000,0.000000,90.000000},
{1749.459838,2035.977416,10.456999,0.000000,0.000000,90.000000},
{1754.250244,2036.010620,10.503899,0.000000,0.000000,270.000000},
{1736.698608,1896.337402,10.823399,0.000000,0.000000,0.000000},
{1736.700683,1920.372314,10.816399,0.000000,0.000000,0.000000},
{1736.737060,1944.593261,10.816399,0.000000,0.000000,0.000000},
{1736.754028,1968.463500,10.816399,0.000000,0.000000,0.000000},
{1736.781250,1991.017578,10.816399,0.000000,0.000000,0.000000},
{1736.850830,2010.357177,10.816399,0.000000,0.000000,0.000000},
{1717.834838,1859.020507,10.569100,0.000000,0.000000,270.000000},
{1756.606689,1851.318725,10.569100,0.000000,0.000000,180.000000},
{2001.511352,1519.238769,16.454299,0.000000,0.000000,270.000000},
{1995.741821,1544.534057,12.934900,0.000000,0.000000,0.000000},
{2494.055664,1243.177124,11.287199,0.000000,0.000000,0.000000},
{2494.079345,1243.174194,13.955300,0.000000,0.000000,0.000000},
{2476.146484,1243.204833,11.287199,0.000000,0.000000,0.000000},
{2476.149902,1243.201416,14.147100,0.000000,0.000000,0.000000},
{2485.962646,1214.550292,9.820300,0.000000,0.000000,0.000000},
{2475.229980,1214.603637,9.820300,0.000000,0.000000,0.000000},
{1600.645629,1772.538696,-7.998300,0.000000,0.000000,90.000000},
{1590.255126,1765.703491,-8.797900,0.000000,0.000000,0.000000},
{1591.775024,1763.836791,-10.364700,0.000000,0.000000,90.000000},
{1591.773193,1767.970336,-10.364700,0.000000,0.000000,90.000000},
{1601.293823,1767.741699,-10.364700,0.000000,0.000000,270.000000},
{1601.206787,1764.012329,-10.364700,0.000000,0.000000,270.000000},
{1600.981933,1770.932495,-10.343700,0.000000,0.000000,0.000000},
{1594.074584,1770.947143,-10.343700,0.000000,0.000000,0.000000},
{1597.861083,1761.125854,-10.993499,0.000000,0.000000,270.000000},
{1594.537475,1761.105834,-11.000599,0.000000,0.000000,270.000000},
{1593.257568,1775.329711,-10.998299,0.000000,0.000000,270.000000},
{1608.336425,1781.573730,-9.752400,0.000000,0.000000,270.000000},
{1606.112060,1775.045288,-10.592800,0.000000,0.000000,180.000000},
{1607.868041,1775.024536,-10.595600,0.000000,0.000000,0.000000},
{1607.036987,1781.227539,-10.984199,0.000000,0.000000,270.000000},
{1606.036499,1776.551757,-10.984199,0.000000,0.000000,180.000000},
{1604.718872,1771.747558,-7.562300,0.000000,0.000000,90.000000},
{1602.128173,1770.767211,-10.474900,0.000000,0.000000,0.000000},
{1590.781860,1770.620483,-10.474900,0.000000,0.000000,90.000000},
{1593.838989,1782.605834,-10.993499,0.000000,0.000000,90.000000},
{1597.283203,1782.642089,-10.993499,0.000000,0.000000,90.000000},
{1595.934936,1775.023315,-8.220600,0.000000,0.000000,270.000000},
{1599.243652,1778.313964,-8.220600,0.000000,0.000000,0.000000},
{1601.420898,1777.668334,-10.512800,0.000000,0.000000,90.000000},
{1598.139038,1777.732543,-10.512800,0.000000,0.000000,270.000000},
{1609.051757,1777.493408,-10.286899,0.000000,0.000000,270.000000},
{1604.843139,1783.083984,-10.992500,0.000000,0.000000,0.000000},
{1603.080688,1783.083984,-10.985199,0.000000,0.000000,0.000000},
{1601.386840,1772.076782,-10.473099,0.000000,0.000000,180.000000},
{1606.152954,1773.231811,-10.977100,0.000000,0.000000,0.000000},
{1607.630737,1773.121948,-10.977100,0.000000,0.000000,0.000000},
{1606.534912,1760.973022,-8.885299,0.000000,0.000000,270.000000},
{1605.297607,1761.097290,-11.152700,0.000000,0.000000,180.000000},
{2412.250000,1130.680175,11.516900,0.000000,0.000000,90.000000},
{2242.411865,2396.114501,11.516900,0.000000,0.000000,180.000000},
{1715.585815,1617.259399,13.214799,0.000000,0.000000,253.429794},
{2223.293701,2409.494140,9.806500,0.000000,0.000000,337.500000},
{2223.246826,2406.334960,9.804400,0.000000,0.000000,22.500000},
{2224.216064,2408.242187,12.476900,0.000000,0.000000,0.000000},
{2766.673339,325.745788,8.130000,0.000000,0.000000,180.000000},
{1734.876953,532.270874,27.194400,0.000000,0.000000,67.500000},
{1747.180786,527.249084,27.240800,0.000000,0.000000,247.500000},
{1734.995483,532.206787,28.598300,0.000000,0.000000,247.500000},
{1747.185668,527.214111,28.644800,0.000000,0.000000,247.500000},
{1778.983886,659.969116,17.925399,0.000000,0.000000,168.750000},
{438.842102,596.186218,18.762199,0.000000,0.000000,33.750000},
{432.943786,592.220825,18.762199,0.000000,0.000000,33.750000},
{-1189.478515,1057.905883,40.798698,0.000000,0.000000,225.000000},
{-1179.664184,1048.128662,40.809898,0.000000,0.000000,225.000000},
{-1179.632690,1048.301391,42.157299,0.000000,0.000000,225.000000},
{-1189.333129,1057.964721,42.192401,0.000000,0.000000,45.000000},
{-1188.004272,1061.051879,40.523998,0.000000,0.000000,315.000000},
{-1176.421508,1049.954345,40.668498,0.000000,0.000000,45.000000},
{-2670.406982,2145.268798,55.128700,0.000000,0.000000,270.000000},
{-2692.106689,2145.287109,55.128799,0.000000,0.000000,270.000000},
{-2670.017578,2145.294921,56.532600,0.000000,0.000000,270.000000},
{-2695.916748,2145.290527,56.532699,0.000000,0.000000,270.000000},
{-2682.687988,2177.185791,55.376598,0.000000,0.000000,191.250000},
{-1017.107299,934.060729,34.418300,0.000000,0.000000,303.750000},
{-1020.815490,939.587524,34.418300,0.000000,0.000000,303.750000},
{-144.681396,487.203613,12.623499,0.000000,0.000000,78.750000},
{-139.780395,485.533203,13.748600,0.000000,0.000000,258.750000},
{-130.633499,480.809692,10.982899,0.000000,0.000000,0.000000},
{-128.435897,480.771606,11.569299,0.000000,0.000000,258.750000},
{-143.649307,490.071197,12.174200,0.000000,0.000000,146.250106},
{-145.345092,487.691589,11.190699,0.000000,0.000000,78.750000},
{-165.893203,489.284301,1.460800,0.000000,0.000000,0.000000},
{-178.940994,488.670989,1.411200,0.000000,0.000000,0.000000},
{-1700.332397,26.499099,5.036099,0.000000,0.000000,303.750000},
{-1707.279663,21.848600,4.280200,0.000000,0.000000,45.000000},
{-1712.815063,6.220399,4.280200,0.000000,0.000000,315.000000},
{-1701.733154,25.682300,2.551199,0.000000,0.000000,348.750000},
{-1701.179809,18.446800,2.551199,0.000000,0.000000,0.000000},
{-1706.325439,7.921400,3.023699,0.000000,0.000000,315.000000},
{-1704.659423,14.500399,4.553699,0.000000,0.000000,45.000000},
{226.091995,1871.590698,14.407899,0.000000,0.000000,270.000000},
{-716.317810,917.410217,11.269000,0.000000,0.000000,0.000000},
{-704.463928,917.059814,11.393500,0.000000,0.000000,0.000000},
{-692.584289,917.280883,11.241299,0.000000,0.000000,0.000000},
{-680.640319,917.480224,11.074899,0.000000,0.000000,0.000000},
{-668.806030,917.278076,11.101400,0.000000,0.000000,56.250000},
{-662.115783,926.941772,11.140999,0.000000,0.000000,90.000000},
{-662.045410,938.916076,11.132800,0.000000,0.000000,90.000000},
{-661.916625,950.896179,11.132800,0.000000,0.000000,90.000000},
{-661.802673,962.697509,11.132800,0.000000,0.000000,101.250000},
{-663.517089,973.459228,11.132800,0.000000,0.000000,168.750000},
{-675.104614,975.825500,11.132800,0.000000,0.000000,180.000000},
{-687.103393,975.985412,11.144399,0.000000,0.000000,180.000000},
{-698.892028,976.388671,11.336700,0.000000,0.000000,180.000000},
{-710.952392,976.358520,11.408499,0.000000,0.000000,180.000000},
{-722.828125,927.331481,11.132800,0.000000,0.000000,303.749908},
{-725.310180,938.276184,11.142999,0.000000,0.000000,281.250000},
{-725.359313,950.263183,11.163200,0.000000,0.000000,270.000000},
{-725.163513,962.294921,11.259400,0.000000,0.000000,270.000000},
{-733.485778,970.740112,11.359399,0.000000,0.000000,315.000000},
{-734.650024,979.034179,11.359399,0.000000,0.000000,348.750000},
{-2173.987060,650.354980,47.507400,0.000000,0.000000,0.000000},
{-2179.033935,650.416687,47.507400,0.000000,0.000000,0.000000},
{-2178.988769,692.552978,52.034099,0.000000,0.000000,292.500000},
{-2206.783691,648.811828,51.215198,0.000000,0.000000,0.000000},
{-2241.554931,611.112182,39.865100,0.000000,0.000000,269.759094},
{-2213.352539,636.548278,50.673000,0.000000,0.000000,177.903503},
{-2215.513916,636.460571,52.799701,0.000000,0.000000,181.236999},
{-2216.372558,627.711181,53.887401,0.000000,0.000000,179.518295},
{-2224.446533,634.497314,56.166599,0.000000,0.000000,89.277397},
{-2232.430175,633.596984,61.404899,0.000000,0.000000,179.518203},
{1301.780029,-783.455017,1084.300048,0.000000,0.000000,90.000000},
{1281.880004,-783.728027,1090.199951,0.000000,0.000000,90.000000},
{2548.153320,2126.130126,9.789400,0.000000,0.000000,0.000000},
{2562.535644,2148.010742,2.616600,0.000000,0.000000,0.000000},
{2557.256835,2140.852539,-2.748800,0.000000,0.000000,0.000000},
{2551.786132,2163.730468,-2.767600,0.000000,0.000000,0.000000},
{2576.971679,2148.860595,-2.781500,0.000000,0.000000,269.759094},
{2544.649169,2147.767089,-2.250400,0.000000,0.000000,0.000000},
{2541.693847,2144.869873,-2.230299,0.000000,0.000000,0.000000},
{2541.753417,2150.960937,-2.230400,0.000000,0.000000,0.000000},
{2550.607666,2145.974853,-2.097700,0.000000,0.000000,89.277397},
{2550.568603,2150.056640,-2.104199,0.000000,0.000000,89.277397},
{2555.351074,2146.011718,-2.104199,0.000000,0.000000,90.996398},
{2555.324707,2149.955322,-2.104199,0.000000,0.000000,90.240898},
{2557.905273,2146.044433,-2.097700,0.000000,0.000000,90.136901},
{2557.947998,2149.927490,-2.104199,0.000000,0.000000,89.277496},
{2544.803466,2143.338623,-2.756000,0.000000,0.000000,0.000000},
{2544.504150,2152.663085,-2.756000,0.000000,0.000000,166.626693},
{-2656.264648,651.495727,15.445199,0.000000,0.000000,0.000000},
{-2651.314697,644.060974,13.435700,0.000000,0.000000,0.000000},
{-2660.555908,648.598083,13.453000,0.000000,0.000000,0.000000},
{-2649.265869,649.622924,13.971300,0.000000,0.000000,269.759094},
{-2649.799804,655.276184,13.851499,0.000000,0.000000,178.762893},
{-2649.538818,656.287414,14.000100,0.000000,0.000000,0.000000},
{-2653.016113,655.308593,13.460399,0.000000,0.000000,0.000000},
{-2652.419677,646.534118,13.473500,0.000000,0.000000,0.000000},
{-2657.933105,649.112182,16.230800,0.000000,0.000000,269.759094},
{-2658.362304,646.694213,14.433400,0.000000,0.000000,27.502000},
{-2656.956298,648.288391,13.927800,0.000000,0.000000,0.000000},
{-2656.989013,650.510925,13.927800,0.000000,0.000000,0.000000},
{-2661.419921,654.948486,14.214500,0.000000,0.000000,180.377700}
};
new ObjectsIDs[MAX_OBJECTS2][1] = {
{986},
{980},
{980},
{986},
{986},
{980},
{986},
{988},
{988},
{974},
{974},
{974},
{974},
{12991},
{9361},
{11631},
{3657},
{3657},
{2605},
{2311},
{2310},
{2310},
{2310},
{638},
{633},
{2610},
{3749},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{1229},
{1257},
{1472},
{996},
{996},
{996},
{996},
{996},
{996},
{3819},
{3819},
{3819},
{3819},
{984},
{984},
{984},
{983},
{982},
{982},
{982},
{982},
{982},
{982},
{996},
{996},
{16151},
{984},
{8674},
{8674},
{8674},
{8674},
{987},
{987},
{16656},
{16501},
{1771},
{1771},
{1771},
{1771},
{1738},
{1738},
{3395},
{3397},
{3383},
{11631},
{2605},
{2607},
{2309},
{2309},
{2700},
{2602},
{2602},
{3396},
{3394},
{974},
{974},
{2146},
{2146},
{2608},
{2164},
{2162},
{3657},
{2309},
{2309},
{16501},
{1533},
{4641},
{4641},
{983},
{997},
{997},
{1231},
{973},
{9339},
{9339},
{9339},
{9339},
{981},
{978},
{979},
{9339},
{9339},
{9339},
{9339},
{1427},
{1282},
{9339},
{9339},
{9339},
{9339},
{981},
{973},
{973},
{5837},
{11547},
{615},
{1280},
{16377},
{1704},
{17068},
{17068},
{2465},
{5259},
{5259},
{3800},
{3800},
{3633},
{3761},
{1649},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{1660},
{1660},
{10969},
{974},
{987},
{8572},
{8572},
{14416},
{8572},
{8572},
{7927},
{7927},
{1507},
{14602},
{1505},
{1505},
{1507},
{2343},
{2343},
{2343},
{2808},
{2808},
{2808},
{2808},
{2808},
{2808},
{2356},
{2356},
{18045},
{1507},
{3383},
{3657},
{2605},
{2724},
{2308},
{1721},
{974},
{16377},
{941},
{941},
{16378},
{986},
{980},
{980},
{986},
{986},
{980},
{986},
{988},
{988},
{974},
{974},
{974},
{974},
{12991},
{9361},
{11631},
{3657},
{3657},
{2605},
{2311},
{2310},
{2310},
{2310},
{638},
{633},
{2610},
{3749},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{994},
{1229},
{1257},
{1472},
{996},
{996},
{996},
{996},
{996},
{996},
{3819},
{3819},
{3819},
{3819},
{984},
{984},
{984},
{983},
{982},
{982},
{982},
{982},
{982},
{982},
{996},
{996},
{16151},
{984},
{8674},
{8674},
{8674},
{8674},
{987},
{987},
{16656},
{16501},
{1771},
{1771},
{1771},
{1771},
{1738},
{1738},
{3395},
{3397},
{3383},
{11631},
{2605},
{2607},
{2309},
{2309},
{2700},
{2602},
{2602},
{3396},
{3394},
{974},
{974},
{2146},
{2146},
{2608},
{2164},
{2162},
{3657},
{2309},
{2309},
{16501},
{1533},
{4641},
{4641},
{983},
{997},
{997},
{1231},
{973},
{9339},
{9339},
{9339},
{9339},
{981},
{978},
{979},
{9339},
{9339},
{9339},
{9339},
{1427},
{1282},
{9339},
{9339},
{9339},
{9339},
{981},
{973},
{973},
{5837},
{11547},
{615},
{1280},
{16377},
{1704},
{17068},
{17068},
{2465},
{5259},
{5259},
{3800},
{3800},
{3633},
{3761},
{1649},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{987},
{1660},
{1660},
{10969},
{974},
{987},
{8572},
{8572},
{14416},
{8572},
{8572},
{7927},
{7927},
{1507},
{14602},
{1505},
{1505},
{1507},
{2343},
{2343},
{2343},
{2808},
{2808},
{2808},
{2808},
{2808},
{2808},
{2356},
{2356},
{18045},
{1507},
{3383},
{3657},
{2605},
{2724},
{2308},
{1721},
{974},
{16377},
{941},
{941},
{16378}
};
/*public OnFilterScriptExit(){
for(new i=0; i<MAX_PLAYERS; i++){
for(new o=0; o < MAX_OBJECTS2; o++){
DestroyPlayerObject(i, o+1);
}}}*/
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
if(IsPlayerConnected(playerid))
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
}
return 0;
}
public CreateObjects(){
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
for(new o=0; o < MAX_OBJECTS2; o++){
if(PlayerToPoint(50.0, i, ObjectsCoords[o][0],ObjectsCoords[o][1],ObjectsCoords[o][2])){
if(PlayerObject[i] != o+1) {
DestroyPlayerObject(i, o+1);
CreatePlayerObject(i, ObjectsIDs[o][0],ObjectsCoords[o][0],ObjectsCoords[o][1], ObjectsCoords[o][2],ObjectsCoords[o][3],ObjectsCoords[o][4], ObjectsCoords[o][5]);
PlayerObject[i] = o+1;
}
}else{
if(PlayerObject[i] == o+1) {
DestroyPlayerObject(i, o+1);
PlayerObject[i] = 666;
}}}}
}}