rendered paste body/* * S:Interior 2.0 * By Sacky */#if !defined SINTERIOR_INC#define SINTERIOR_INCenum INTERIOR_INFO{ INTERIOR_VW, Float:INTERIOR_SX, Float:INTERIOR_MINX, Float:INTERIOR_MAXX, Float:INTERIOR_SY, Float:INTERIOR_MINY, Float:INTERIOR_MAXY, Float:INTERIOR_SZ, Float:INTERIOR_MINZ, Float:INTERIOR_MAXZ, Float:INTERIOR_SA, INTERIOR_NAME[64]}new interiors[][INTERIOR_INFO] = { //247's {17, -25.884499,-35.0952,-3.3979, -185.868988,-188.7431,-167.9059, 1003.549988,1002.5469,1008.7656, 0.000, "24/7"}, {10, 6.091180,-13.1705,10.8973, -29.271898,-32.5796,-73.7699, 1003.549988,1002.5494,1008.8979, 0.000, "24/7"}, {18, -30.946699,-39.2296,-12.9542, -89.609596,-92.6993,-73.7699, 1003.549988,1002.5469,1008.9487, 0.000, "24/7"}, {16, -25.132599,-39.1961,-14.0429, -139.066986,-142.2416,-122.4566, 1003.549988,1002.5469,1008.3311, 0.000, "24/7"}, {4, -27.312300,-36.9258,-25.8106, -29.277599,-32.1881,-1.8185, 1003.549988,1002.5573,1009.0845, 0.000, "24/7"}, {6, -26.691599,-37.4347,-16.2656, -55.714897,-58.9940,-48.4956, 1003.549988,1002.5469,1008.7020, 0.000, "24/7"}, //Airport's/Aeroplanes {14, -1827.147338,-2002.2133,-1718.3214, 7.207418,-65.7420,114.2523, 1061.143554,1055.1436,1066.1436, 0.000, "Francis International Airport"}, {1, 2.384830,-1.4275,4.0257, 33.103397,21.5928,35.7774, 1199.849976,1198.5938,1204.0946, 0.000, "A Shamal"}, {9, 315.856170,310.4739,321.0128, 1024.496459,971.1845,1039.4181, 1949.797363,1942.8815,1966.1064, 0.000, "A Andromeda"}, //Ammunations {1, 286.148987,283.0005,301.2157, -40.644398,-42.6472,-1.4354, 1001.569946,1000.5156,1006.5156, 315.000, "Ammunation"}, {4, 286.800995,282.8332,332.1738, -82.547600,-91.2557,-55.4272, 1001.539978,1000.5156,1006.9922, 315.000, "Ammunation"}, {6, 296.919983,283.0418,299.4285, -108.071999,-116.2635,-101.6424, 1001.569946,1000.5156,1006.5078, 90.000, "Ammunation"}, {7, 314.820984,267.7444,318.3778, -141.431992,-145.6805,-124.8552, 999.661987,998.6083,1008.8906, 45.000, "Ammunation"}, {6, 316.524994,269.9506,320.3639, -167.706985,-171.2541,-157.4279, 999.661987,998.5938,1005.0609, 45.000, "Ammunation"}, //Burglary Houses {3, 235.508994,218.4460,246.8138, 1189.169897,1185.7623,1213.8395, 1080.339966,1079.2578,1089.7813, 0.000, "A House"}, {2, 225.756989,216.5522,235.7148, 1240.000000,1237.0811,1255.2098, 1082.149902,1081.1406,1086.6406, 90.000, "A House"}, {1, 223.043991,215.3478,234.8832, 1289.259888,1282.2054,1294.9760, 1082.199951,1081.1406,1086.1406, 0.000, "A House"}, {7, 225.630997,222.8882,255.9689, 1022.479980,1016.5048,1052.1018, 1084.069946,1082.8125,1092.3047, 0.000, "A House"}, {15, 295.138977,282.9257,307.5086, 1474.469971,1470.0725,1491.2295, 1080.519897,1079.2578,1084.8047, 0.000, "A House"}, {15, 328.493988,318.4674,337.6630, 1480.589966,1469.8763,1492.8041, 1084.449951,1083.4375,1088.4379, 0.000, "A House"}, {15, 385.803986,369.8986,391.1570, 1471.769897,1450.6768,1473.9808, 1080.209961,1079.1875,1084.3984, 90.000, "A House"}, {15, 375.971985,354.5016,381.1810, 1417.269897,1407.1798,1433.9547, 1081.409912,1080.3281,1085.2738, 90.000, "A House"}, {2, 490.810974,474.3922,502.8857, 1401.489990,1397.5024,1424.8313, 1080.339966,1079.2645,1089.7813, 0.000, "A House"}, {2, 447.734985,434.3427,460.3860, 1400.439941,1393.1072,1421.1198, 1084.339966,1083.3120,1089.2966, 0.000, "A House"}, {5, 227.722992,224.2079,250.7603, 1114.389893,1104.4031,1122.6886, 1081.189941,1079.9922,1089.0071, 270.000, "A House"}, {4, 260.983978,248.2458,269.4295, 1286.549927,1280.3994,1297.1023, 1080.299927,1079.2578,1084.2578, 0.000, "A House"}, {4, 221.666992,216.5254,230.3692, 1143.389893,1139.0764,1161.1541, 1082.679932,1081.6094,1086.5781, 0.000, "A House"}, {10, 27.132700,17.0703,37.3015, 1341.149902,1334.6843,1354.1284, 1084.449951,1083.3750,1093.8750, 0.000, "A House"}, {4, -262.601990,-281.3279,-255.0091, 1456.619995,1445.6505,1464.0410, 1084.449951,1083.3672,1091.8750, 90.000, "A House"}, {5, 22.778299,13.9406,34.6132, 1404.959961,1395.5353,1420.3214, 1084.449951,1083.4297,1089.4297, 0.000, "A House"}, {5, 140.278000,133.3888,155.1858, 1368.979980,1364.83196,1388.4816, 1083.969971,1082.8646,1093.3672, 0.000, "A House"}, {6, 234.045990,218.2290,249.8347, 1064.879883,1062.5000,1088.6488, 1084.309937,1083.2106,1091.6094, 0.000, "A House"}, {6, -68.294098,-73.5360,-55.0049, 1353.469971,1345.4100,1368.8204, 1080.279907,1079.2109,1085.2109, 0.000, "A House"}, {15, -285.548981,-302.5614,-277.7969, 1470.979980,1468.1730,1482.1398, 1084.449951,1083.3750,1093.8750, 0.000, "A House"}, {8, -42.581997,-53.8233,-33.4177, 1408.109985,1389.9181,1414.0795, 1084.449951,1083.4297,1089.4297, 0.000, "A House"}, {9, 83.345093,73.920,97.4875, 1324.439941,1314.4618,1347.3900, 1083.889893,1082.8594,1093.3672, 0.000, "A House"}, {9, 260.941986,250.8725,266.8128, 1238.509888,1233.7965,1257.9093, 1084.259888,1083.2578,1088.2734, 0.000, "A House"}, //Business's {3, 1038.509888,1037.3038,1041.8345, -0.663752,1.0347,11.2171, 1001.089966,1000.2845,1006.2845, 0.000, "Blastin' Fools Records"}, {12, 446.622986,442.4903,458.4054, 509.318970,505.6406,517.0414, 1001.419983,1000.4195,1006.4195, 0.000, "The Budget Inn Motel"}, {15, 2216.339844,2178.7632,2255.6553, -1150.509888,-1202.9016,-1136.2014, 1025.799927,1024.7969,1038.6178, 0.000, "The Jefferson Motel"}, {3, 833.818970,818.0212,834.9809, 7.418000,-1.5486,13.3580, 1004.179993,1003.1870,1010.4828, 90.000, "The Off track Betting"}, {3, -100.325996,-117.9237,-97.8847, -22.816500,-29.8268,-6.3720, 1000.741943,999.7188,1005.7188, 45.000, "The Sex Shop"}, {1, 964.376953,931.3280,966.7448, 2157.329834,2094.7502,2179.0835, 1011.019958,1010.0303,1020.0259, 180.000, "The Sindacco Meat Processing Plant"}, {6, -2239.569824,-2242.0911,-2217.3230, 130.020996,126.5612,139.0298, 1035.419922,1034.4141,1040.3204, 90.000, "Zero's RC Shop"}, //Car Mod Shops {1, 614.581420,602.3553,637.2819, -23.066856,-28.5506,10.2388, 1004.781250,994.8694,1014.7771, 0.000, "Transfenders"}, {2, 620.420410,608.1679,625.8292, -72.015701,-83.6601,-68.8194, 997.992187,993.5744,1002.9953, 180.000, "Loco Low Co."}, {3, 612.508605,608.0199,625.3347, -129.236114,-132.7094,-117.6847, 997.992187,993.3466,1002.9953, 315.000, "Wheel's Arch Angels"}, {1, -2048.605957,-2057.7175,-2038.8625, 162.093444,150.0913,182.0321, 28.835937,27.8359,33.8359, 0.000, "CJ's Garage"}, //Casino's {10, 2015.4500,1924.1576,2020.0708, 1017.0900,967.2367,1068.4240, 996.8750,991.4688,997.8741, 90.000, "The Four Dragons"}, {1, 2233.9099,2134.8252,2292.7944, 1710.7300,1556.5646,1714.9104, 1011.2987,1005.1860,1013.2435, 180.000, "Calligula's"}, //Casino Oditties {10, 1889.975,1886.0958,1900.8591, 1018.055,1010.7878,1027.1942, 31.88281,30.8828,36.8828, 270.000, "The Janitors Office"}, {1, -2158.719971,-2173.0259,-2156.4658, 641.287964,633.6885,648.6263, 1052.369995,1051.3817,1062.6328, 90.000, "Woozie's Office"}, {12, 1133.069946,1116.3666,1144.5529, -9.573059,-17.0111,14.3073, 1000.750000,999.6797,1007.4844, 0.000, "Redsands West Casino"}, //Clothing Stores {15, 207.737991,198.4293,219.9531, -109.019997,-115.1267,-93.4263, 1005.269958,1004.1328,1010.0625, 0.000, "Binco"}, {14, 204.332993,194.9293,218.6813, -166.694992,-172.8813,-149.9782, 1000.578979,999.5234,1005.9531, 0.000, "Didier Sachs"}, {3, 207.054993,194.5785,217.7405, -138.804993,-144.9519,-117.3412, 1003.519958,1001.8672,1008.9063, 0.000, "ProLaps"}, {1, 203.778000,194.774,217.3534, -48.492397,-54.0761,-30.7443, 1001.799988,1000.8047,1009.1484, 0.000, "SubUrban"}, {5, 226.293991,198.4532,243.0808, -7.431530,-14.1564,5.4119, 1002.259949,1000.2109,1010.2041, 90.000, "Victim"}, {18, 161.391006,138.4255,184.3445, -93.159156,-101.6389,-68.2857, 1001.804687,1000.8047,1006.8047, 0.000, "Zip"}, //Bars and Clubs {17, 493.390991,472.5995,508.7181, -22.722799,-30.7876,1.0150, 1000.686951,999.6797,1008.4766, 0.000, "The Dance Club"}, {11, 501.980988,481.7581,513.3429, -69.150200,-90.4746,-63.5646, 998.834961,997.7578,1004.0396, 180.000, "Shithole Bar"}, {18, -227.028000,-234.1513,-215.6965, 1401.229980,1392.4974,1413.4426, 27.769798,26.7656,31.7664, 315.000, "Lil' Probe Inn"}, //Eateries {4, 460.099976,432.5477,461.3923, -88.428497,-93.2540,-77.9551, 999.621948,998.5547,1001.3094, 90.000, "Jay's Diner"}, {1, 452.489990,421.2953,462.4027, -18.179699,-24.0791,-2.8813, 1001.179993,998.5547,1005.7344, 45.000, "World of Coq"}, {1, 681.474976,648.5388,696.2054, -451.150970,-479.4601,-447.5847, -25.616798,-26.6172,-20.5000, 180.000, "The Pump Truck Stop Diner"}, //Fast Food {10, 366.923980,360.0641,384.3123, -72.929359,-79.3703,-54.7400, 1001.507812,1000.5078,1006.5078, 315.000, "Burger Shot"}, {9, 365.672974,357.4411,382.6818, -10.713200,-16.0313,-1.1104, 1001.869995,1000.8516,1006.7109, 315.000, "Cluckin' Bell"}, {5, 372.351990,361.2697,382.0142, -131.650986,-139.1448,-110.8535, 1001.449951,1000.4922,1006.3750, 0.000, "Well Stacked Pizza"}, {17, 377.098999,371.0922,383.7513, -192.439987,-197.2665,-176.7235, 1000.643982,999.6328,1005.9063, 0.000, "Rusty Brown's Donuts"}, //Girlfriends {1, 244.411987,242.6040,250.9420, 305.032990,299.1326,308.5615, 999.231995,998.1484,1004.1484, 235.000, "Denise Robinson's Bedroom"}, {2, 271.884979,260.7130,275.1632, 306.631989,301.2459,314.6459, 999.325989,998.1484,1004.1484, 90.000, "Katie Zhan's Bedroom"}, {3, 291.282990,273.4854,294.9203, 310.031982,303.1938,311.9318, 999.154968,998.1484,1008.1707, 90.000, "Helena Wankstein's Bedroom"}, {4, 302.181000,290.5057,312.3436, 300.722992,299.3310,315.7108, 999.231995,998.1484,1010.3047, 0.000, "Michelle Cannes's Bedroom"}, {5, 322.197998,315.3055,329.5608, 302.497986,300.6566,319.1491, 999.231995,998.1484,1004.1484, 0.000, "Barbara Schternvart Bedroom"}, {6, 346.870025,337.3706,350.82888, 309.259033,293.5629,312.0173, 999.155700,998.1557,1004.6484, 180.000, "Millie Perkins's Bedroom"}, //Government {17, -959.873962,-963.0861,-937.1068, 1952.000000,1845.0483,1955.3293, 9.044310,4.0000,11.1285, 180.000, "The Sherman Dam"}, {3, 388.871979,317.4452,393.2694, 173.804993,143.0736,218.9381, 1008.389954,1007.3828,1030.7865, 90.000, "The Planning Department"}, //Gyms {5, 772.112000,754.4421,775.7951, -3.898650,-10.5017,17.2873, 1000.687988,999.7142,1006.1831, 0.000, "The Ganton Gym"}, {6, 774.213989,752.4792,778.8328, -48.924297,-51.4411,-15.6279, 1000.687988,999.6865,1005.6865, 0.000, "The Cobra Gym"}, {7, 773.579956,755.9409,777.9979, -77.096695,-84.0618,-56.7409, 1000.687988,999.6550,1006.6035, 0.000, "Below The Belt Gym"}, {5, 1234.144409,1223.2540,1307.4205, -764.087158,-840.5399,-751.1873, 1084.007202,1083.0112,1098.9777, 0.000, "Madd Dogg's Mansion"}, //Homies {3, 1527.229980,1520.1871,1533.7594, -11.574499,-22.5846,0.9635, 1002.269958,1001.0971,1007.0971, 0.000, "B-Dups Apartment"}, {2, 1523.509888,1514.2607,1529.2543, -47.821198,-57.1333,-39.9799, 1002.269958,1001.1310,1007.1310, 0.000, "B-Dups Crack Pad"}, {3, 2496.049805,2484.0408,2507.7002, -1693.929932,-1723.0533,-1681.0842, 1014.750000,1013.7422,1023.0469, 180.000, "Carl's Mums House"}, {3, 516.650,509.0578,522.8345, -18.611898,-21.6408,-1.4064, 1001.459961,1000.5653,1006.5653, 0.000, "OG Loc's"}, {2, 2464.109863,2445.9775,2499.0967, -1698.659912,-1707.8545,-1683.5922, 1013.509949,1012.5078,1018.0781, 90.000, "Ryder's House"}, {1, 2526.459961,2523.0020,2544.5212, -1679.089966,-1700.5044,-1665.8083, 1015.500000,1014.4986,1020.2162, 270.000, "Sweet's House"}, {2, 2543.659912,2512.0249,2584.8528, -1303.629883,-1309.0903,-1252.9098, 1025.069946,1024.0703,1072.4879, 180.000, "Big Smokes Crack Palace"}, //Ill {3, 1212.019897,1198.2898,1218.5905, -28.663099,-52.8367,-20.5241, 1001.089966,999.9531,1004.8786, 180.000, "The Big Spread Ranch"}, {6, 744.542969,723.2429,768.1766, 1437.669922,1432.5469,1445.0240, 1102.739990,1101.7031,1108.9531, 290.000, "Fanny Batter's Whore House"}, {2, 1204.809937,1194.8103,1226.1428, -11.586800,-18.0913,30.6912, 1001.089966,999.9219,1005.6573, 0.000, "The World Class Topless Girls Stripclub"}, {3, 940.921997,929.9674,976.1741, -17.007000,-19.9913,9.3195, 1001.179993,1000.1484,1006.1484, 0.000, "The Unnamed Brothel"}, {3, 964.106995,940.3059,973.8075, -53.205498,-64.5014,-41.2514, 1001.179993,1000.1246,1005.6172, 90.000, "The Tiger Skin Rug Brothel"}, {3, -2637.449951,-2697.5955,-2629.8840, 1404.629883,1387.2095,1440.4742, 906.457947,905.2734,929.2964, 90.000, "Jizzy's Pleasure Dome"}, //Liberty City {1, -735.5619504,-950.1764,-687.3923, 484.351318,407.1057,570.3076, 1371.952270,1345.8750,1382.6106, 40.000, "Liberty City"}, //Misc {5, 2350.339844,2317.3586,2363.4382, -1181.649902,-1190.5747,-1166.1172, 1028.000000,1026.9766,1036.5497, 90.000, "Los Vagos Gang House"}, {8, 2807.619873,2802.5732,2830.6768, -1171.899902,-1178.5010,-1155.1534, 1025.579956,1024.5703,1033.8438, 0.000, "Colonel Furburgher's House"}, {5, 318.564972,296.9617,340.9560, 1118.209961,1110.0925,1138.4672, 1083.979980,1082.8828,1088.1328, 0.000, "The Crack Den"}, {1, 1412.639893,1357.7148,1420.5383, -1.787510,-49.7140,8.5148, 1000.931946,999.9090,1008.8919, 135.000, "A Warehouse"}, {18, 1302.519897,1247.7485,1310.9150, -1.787510,-69.8208,8.3288, 1000.931946,1000.0156,1009.3984, 135.000, "A Warehouse"}, {12, 2324.419922,2306.6470,2342.1313, -1147.539917,-1153.7253,-1133.4342, 1050.719971,1049.7101,1058.3047, 0.000, "A Safehouse"}, {10, -972.4957,-1138.3977,-966.8146, 1060.983,1017.8578,1101.4760, 1345.669,1342.0522,1359.9141, 90.000, "The RC Battlefield"}, //Personal Grooming {2, 411.625977,405.8927,421.6737, -21.433298,-32.3224,-7.9695, 1001.799988,1000.8047,1007.0781, 315.000, "Old Reece's Hair and Facial Studio"}, {3, 418.652985,415.0480,425.6317, -82.639793,-92.8154,-72.3608, 1001.959961,1000.8047,1007.5787, 0.000, "Gay Gordo's Barber Shop"}, {12, 412.021973,402.0862,417.4446, -52.649899,-58.2201,-46.4752, 1001.959961,1000.8984,1007.0547, 270.000, "Mascila's Unisex Hair Salon"}, {16, -204.439987,-211.5356,-198.4321, -26.453999,-38.5390,-13.2776, 1002.299988,1001.2734,1006.4949, 315.000, "A Tattoo Parlour"}, {17, -204.439987,-210.7206,-194.0416, -8.469600,-30.7664,-2.5236, 1002.299988,1001.2734,1006.4949, 315.000, "Hemlock's Tattoo Parlour"}, {3, -204.439987,-211.3637,-193.4146, -43.652496,-53.1130,-37.8452, 1002.299988,1001.2734,1006.4949, 315.000, "A Tattoo Parlour"}, //Police Departments {6, 246.783997,207.5004,277.7479, 63.900200,61.7018,93.1880, 1003.639954,1000.0391,1009.7142, 0.000, "The Los Santos Police Department"}, {10, 246.375992,212.2758,284.0999, 109.245995,97.0497,130.4608, 1003.279968,998.0156,1015.2188, 0.000, "The San Fierro Police Department"}, {3, 288.745972,186.4745,308.3648, 169.350998,132.3377,204.9915, 1007.179993,1002.0234,1013.1874, 0.000, "The Los Vagos Police Department"}, //Schools {3, 1494.429932,1487.0275,1503.6758, 1305.629883,1279.1096,1315.6984, 1093.289917,1092.2899,1098.2899, 90.000, "Cycle School"}, {3, -2029.719971,-2037.1293,-2020.4810, -115.067993,-139.5002,-98.2041, 1035.169922,1034.1719,1039.7968, 90.000, "Automobile School"}, {10, 420.484985,400.9158,460.9158, 2535.589844,2533.2849,2547.9688, 10.020289,9.0000,14.9063, 45.000, "Plane School"}};#define MAX_INTERIORS sizeof(interiors)#define INVALID_INTERIOR -1#if !defined GetPlayerInteriorstock GetPlayerInterior(playerid){ new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]); for(new i=0;i<MAX_INTERIORS;i++) { if(pos[0] > interiors[i][INTERIOR_MINX] && pos[1] > interiors[i][INTERIOR_MINY] && pos[2] > interiors[i][INTERIOR_MINZ] && pos[0] < interiors[i][INTERIOR_MAXX] && pos[1] < interiors[i][INTERIOR_MAXY] && pos[2] < interiors[i][INTERIOR_MAXZ]) return interiors[i][INTERIOR_VW]; } return INVALID_INTERIOR;}#elsestock GetPlayerInteriorEx(playerid){ new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]); for(new i=0;i<MAX_INTERIORS;i++) { if(pos[0] > interiors[i][INTERIOR_MINX] && pos[1] > interiors[i][INTERIOR_MINY] && pos[2] > interiors[i][INTERIOR_MINZ] && pos[0] < interiors[i][INTERIOR_MAXX] && pos[1] < interiors[i][INTERIOR_MAXY] && pos[2] < interiors[i][INTERIOR_MAXZ]) return interiors[i][INTERIOR_VW]; } return INVALID_INTERIOR;}#endifstock IsPlayerInInterior(playerid,interiorid) return (GetPlayerInterior(playerid) == interiorid) ? true : false;stock IsPlayerInAnyInterior(playerid) return (GetPlayerInterior(playerid) != INVALID_INTERIOR) ? true : false;stock GetPlayerInteriorID(playerid){ new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]); for(new i=0;i<MAX_INTERIORS;i++) { if(pos[0] > interiors[i][INTERIOR_MINX] && pos[1] > interiors[i][INTERIOR_MINY] && pos[2] > interiors[i][INTERIOR_MINZ] && pos[0] < interiors[i][INTERIOR_MAXX] && pos[1] < interiors[i][INTERIOR_MAXY] && pos[2] < interiors[i][INTERIOR_MAXZ]) return i; } return INVALID_INTERIOR;}stock IsPlayerInInteriorID(playerid,interiorid) return (GetPlayerInteriorID(playerid) == interiorid) ? true : false;stock GetInteriorName(interiorid) return interiors[interiorid][INTERIOR_NAME];stock SetPlayerInteriorID(playerid,interiorid){ SetPlayerInterior(playerid,interiors[interiorid][INTERIOR_VW]); SetPlayerPos(playerid,interiors[interiorid][INTERIOR_SX],interiors[interiorid][INTERIOR_SY],interiors[interiorid][INTERIOR_SZ]); SetPlayerFacingAngle(playerid,interiors[interiorid][INTERIOR_SA]);}#endif