SA-MP Forums Archive
RemoveBuildingForPlayer Not Working Within Interiors? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RemoveBuildingForPlayer Not Working Within Interiors? (/showthread.php?tid=551048)



RemoveBuildingForPlayer Not Working Within Interiors? - LiamM - 16.12.2014

Hello, I've recently been developing my furniture system for player-owned houses, however to do so I need to remove the original furnishing so the players have an open house interior to decorate to their liking, however, despite placing the 'RemoveBuildingForPlayer' code for these furnishing, when I enter the interiors the furnishing is still in place...

Is there any limitations I should know about with this function?


Re: RemoveBuildingForPlayer Not Working Within Interiors? - Threshold - 16.12.2014

Are you sure you have the correct coordinates? Did you use JernejL's map editor?


Re: RemoveBuildingForPlayer Not Working Within Interiors? - LiamM - 16.12.2014

When using JernejL's map editor, the furniture doesn't even appear within the rooms of the interior, the interiors are empty, yet in-game they're not? Some interiors work but others don't, interiors such as

Int ID: 3
XYZ: 235.508994 1189.169897 1080.339966

That interior is empty on my map editor yet in-game has furniture?


Re: RemoveBuildingForPlayer Not Working Within Interiors? - Threshold - 16.12.2014

Post all the interiors that you want the furniture removed from and I'll see if I can do it for you.


Re: RemoveBuildingForPlayer Not Working Within Interiors? - LiamM - 16.12.2014

Sure, man, I appreciate you doing this for me! Hugely!
Код:
318.564971,1118.209960,1083.882812 Int ID: 5

2324.419921,-1145.568359,1050.710083 Int ID: 12

235.508994, 1189.169897, 1080.339966 Int ID: 3

225.756989, 1240.000000, 1082.149902 Int ID: 2

223.043991, 1289.259888, 1082.199951 Int ID: 1

225.630997, 1022.479980, 1084.069946 Int ID: 7

295.138977, 1474.469971, 1080.519897 Int ID: 15

328.493988, 1480.589966, 1084.449951 Int ID: 15

385.803986, 1471.769897, 1080.209961 Int ID: 15

2262.83, -1137.71, 1050.63 Int ID: 10

2251.85, -1138.16, 1050.63 Int ID: 9



Re: RemoveBuildingForPlayer Not Working Within Interiors? - Threshold - 16.12.2014

318.564971,1118.209960,1083.882812 Int ID: 5
pawn Код:
RemoveBuildingForPlayer(playerid, 2158, 305.2188, 1120.2109, 1082.8359, 0.25);
RemoveBuildingForPlayer(playerid, 2330, 308.6953, 1120.8203, 1082.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1802, 307.1875, 1121.8281, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2846, 309.9844, 1121.4063, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 2840, 309.8125, 1123.4766, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 309.0391, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 1720, 309.8594, 1124.5938, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 1750, 315.6797, 1116.6563, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2867, 318.0703, 1122.9844, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2858, 321.4141, 1122.4063, 1082.8984, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.2578, 1124.5469, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.3359, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.4688, 1125.0313, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.4688, 1125.0313, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.7266, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.7266, 1124.5547, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2852, 316.5469, 1124.7031, 1083.1563, 0.25);
RemoveBuildingForPlayer(playerid, 1728, 319.0469, 1124.3047, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2262, 317.7266, 1124.8047, 1084.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2844, 321.6406, 1127.9375, 1082.9531, 0.25);
RemoveBuildingForPlayer(playerid, 1793, 321.3828, 1128.4453, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2859, 324.4453, 1118.9844, 1082.9063, 0.25);
RemoveBuildingForPlayer(playerid, 2860, 324.6094, 1120.7969, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 2103, 327.0391, 1116.9766, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1710, 326.2109, 1121.2656, 1082.8984, 0.25);
RemoveBuildingForPlayer(playerid, 2147, 331.9922, 1118.8672, 1082.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2338, 334.3906, 1118.8203, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2337, 334.3906, 1119.8125, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2170, 334.4531, 1121.8281, 1082.8516, 0.25);
RemoveBuildingForPlayer(playerid, 2116, 331.4922, 1122.5469, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2857, 322.2422, 1123.7109, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2295, 326.8438, 1124.4844, 1082.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2336, 334.2500, 1123.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2335, 334.2422, 1124.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2334, 334.2422, 1125.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2852, 321.6719, 1130.3516, 1083.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1728, 325.5078, 1130.8516, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2819, 323.4453, 1131.1250, 1082.8984, 0.25);
2324.419921,-1145.568359,1050.710083 Int ID: 12
pawn Код:
RemoveBuildingForPlayer(playerid, 2123, 2312.9609, -1145.0703, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2314.2969, -1146.3125, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2315.4219, -1145.0703, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2086, 2314.2734, -1144.8984, 1050.0859, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2314.2969, -1143.6250, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2281, 2318.7813, -1145.4609, 1054.5938, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1144.0859, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2335.3594, -1144.0703, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2135, 2336.3516, -1144.0781, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2305, 2337.3203, -1144.0781, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1143.1016, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1143.0938, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2322.2266, -1142.4766, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1822, 2323.9297, -1142.2578, 1049.4844, 0.25);
RemoveBuildingForPlayer(playerid, 1741, 2312.6484, -1140.7891, 1053.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1142.1094, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1141.1172, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2334.4219, -1140.9688, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2326.5234, -1140.5703, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1142.1094, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2139, 2337.3125, -1141.1094, 1049.6641, 0.25);
RemoveBuildingForPlayer(playerid, 2088, 2338.4531, -1141.3672, 1053.2734, 0.25);
RemoveBuildingForPlayer(playerid, 2270, 2340.2734, -1141.7109, 1054.5391, 0.25);
RemoveBuildingForPlayer(playerid, 15050, 2330.3281, -1140.3047, 1051.9063, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1140.1328, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2323.4375, -1139.5469, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2333.3281, -1139.8672, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2115, 2334.4297, -1139.6250, 1049.7109, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2335.3672, -1139.8750, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2303, 2337.3281, -1140.1172, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2090, 2309.5156, -1139.3438, 1053.4219, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1139.1406, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2333.3281, -1138.8281, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2335.3672, -1138.8359, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2298, 2336.5391, -1138.7891, 1053.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1138.1563, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2136, 2337.3281, -1138.1328, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2240, 2319.2500, -1137.8750, 1050.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2240, 2329.5000, -1137.8750, 1050.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1137.1641, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2334.4219, -1137.5859, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2139, 2337.3125, -1137.1484, 1049.6641, 0.25);
RemoveBuildingForPlayer(playerid, 2088, 2310.6641, -1136.3047, 1053.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2257, 2320.4141, -1134.6328, 1053.8281, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1136.1719, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1135.1875, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2254, 2328.1484, -1134.6172, 1054.0625, 0.25);
RemoveBuildingForPlayer(playerid, 2281, 2335.2656, -1136.4063, 1054.7266, 0.25);
RemoveBuildingForPlayer(playerid, 2106, 2336.5156, -1135.0156, 1053.8047, 0.25);
RemoveBuildingForPlayer(playerid, 2271, 2337.8047, -1135.3516, 1054.7031, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1136.1641, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1135.1797, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2106, 2339.2031, -1135.0156, 1053.8047, 0.25);
RemoveBuildingForPlayer(playerid, 15049, 2334.3281, -1139.5859, 1051.1953, 0.25);
235.508994, 1189.169897, 1080.339966 Int ID: 3
pawn Код:
RemoveBuildingForPlayer(playerid, 2522, 236.9844, 1206.6406, 1079.2031, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 236.7500, 1208.1797, 1079.2344, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 234.5781, 1209.2344, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2523, 232.4375, 1209.2656, 1079.2578, 0.25);
225.756989, 1240.000000, 1082.149902 Int ID: 2
pawn Код:
RemoveBuildingForPlayer(playerid, 1705, 222.53, 1243.00, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2313, 222.31, 1240.64, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1719, 217.86, 1240.58, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2312, 219.51, 1241.30, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2852, 223.24, 1252.65, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2860, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2848, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1700, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2103, 219.18, 1240.91, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1702, 222.66, 1239.44, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1743, 222.28, 1250.57, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2082, 223.63, 1242.88, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2102, 222.31, 1253.43, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2088, 222.69, 1252.52, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2346, 222.19, 1251.63, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2856, 219.99, 1242.10, 1082.14, 25.0);
223.043991, 1289.259888, 1082.199951 Int ID: 1
pawn Код:
RemoveBuildingForPlayer(playerid, 14720, 216.5547, 1292.2188, 1081.1172, 0.25);
RemoveBuildingForPlayer(playerid, 14719, 218.7422, 1290.8203, 1082.8672, 0.25);
225.630997, 1022.479980, 1084.069946 Int ID: 7
pawn Код:
RemoveBuildingForPlayer(playerid, 2523, 237.8828, 1038.8359, 1087.2969, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 237.8828, 1040.6016, 1087.2891, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 238.4219, 1042.5469, 1087.2422, 0.25);
RemoveBuildingForPlayer(playerid, 14728, 238.7344, 1036.9688, 1085.7969, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 241.0703, 1041.5547, 1087.2734, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 252.0234, 1032.6328, 1083.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 254.7344, 1033.0703, 1083.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 254.8125, 1034.4141, 1083.7188, 0.25);
RemoveBuildingForPlayer(playerid, 2523, 254.7656, 1036.1328, 1083.7188, 0.25);
295.138977, 1474.469971, 1080.519897 Int ID: 15
pawn Код:
RemoveBuildingForPlayer(playerid, 2523, 284.5078, 1480.5156, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 284.4063, 1482.2813, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 284.4844, 1484.4219, 1079.1953, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 287.1328, 1483.4297, 1079.2266, 0.25);
328.493988, 1480.589966, 1084.449951 Int ID: 15
pawn Код:
RemoveBuildingForPlayer(playerid, 2527, 331.5391, 1483.3281, 1083.4609, 0.25);
RemoveBuildingForPlayer(playerid, 2518, 332.7266, 1485.2969, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2521, 332.3359, 1485.3047, 1083.4141, 0.25);
RemoveBuildingForPlayer(playerid, 2519, 334.3359, 1485.3047, 1083.4141, 0.25);
385.803986, 1471.769897, 1080.209961 Int ID: 15
pawn Код:
//Nothing to remove
2262.83, -1137.71, 1050.63 Int ID: 10
pawn Код:
RemoveBuildingForPlayer(playerid, 15028, 2263.1250, -1138.2422, 1049.8438, 0.25);
RemoveBuildingForPlayer(playerid, 15026, 2264.9063, -1137.7656, 1051.3594, 0.25);
2251.85, -1138.16, 1050.63 Int ID: 9
pawn Код:
RemoveBuildingForPlayer(playerid, 15025, 2249.6641, -1138.1250, 1051.3594, 0.25);
RemoveBuildingForPlayer(playerid, 15027, 2250.1016, -1132.5078, 1049.9609, 0.25);
I found that some houses (GTA robbery houses to be specific) have objects in their interior that change dynamically. So there's no real way to remove them. It changes all the time.

One alternative is to create the empty houses in a different position and use that as the 'new' interior. Unfortunately this is all I could get.


Re: RemoveBuildingForPlayer Not Working Within Interiors? - LiamM - 16.12.2014

Quote:
Originally Posted by Threshold
Посмотреть сообщение
318.564971,1118.209960,1083.882812 Int ID: 5
pawn Код:
RemoveBuildingForPlayer(playerid, 2158, 305.2188, 1120.2109, 1082.8359, 0.25);
RemoveBuildingForPlayer(playerid, 2330, 308.6953, 1120.8203, 1082.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1802, 307.1875, 1121.8281, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2846, 309.9844, 1121.4063, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 2840, 309.8125, 1123.4766, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 309.0391, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 1720, 309.8594, 1124.5938, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 1750, 315.6797, 1116.6563, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2867, 318.0703, 1122.9844, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2858, 321.4141, 1122.4063, 1082.8984, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.2578, 1124.5469, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.3359, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.4688, 1125.0313, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.4688, 1125.0313, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.7266, 1124.5547, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2855, 316.7266, 1124.5547, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2852, 316.5469, 1124.7031, 1083.1563, 0.25);
RemoveBuildingForPlayer(playerid, 1728, 319.0469, 1124.3047, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2262, 317.7266, 1124.8047, 1084.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2844, 321.6406, 1127.9375, 1082.9531, 0.25);
RemoveBuildingForPlayer(playerid, 1793, 321.3828, 1128.4453, 1082.8828, 0.25);
RemoveBuildingForPlayer(playerid, 2859, 324.4453, 1118.9844, 1082.9063, 0.25);
RemoveBuildingForPlayer(playerid, 2860, 324.6094, 1120.7969, 1082.8906, 0.25);
RemoveBuildingForPlayer(playerid, 2103, 327.0391, 1116.9766, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1710, 326.2109, 1121.2656, 1082.8984, 0.25);
RemoveBuildingForPlayer(playerid, 2147, 331.9922, 1118.8672, 1082.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2338, 334.3906, 1118.8203, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2337, 334.3906, 1119.8125, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2170, 334.4531, 1121.8281, 1082.8516, 0.25);
RemoveBuildingForPlayer(playerid, 2116, 331.4922, 1122.5469, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2857, 322.2422, 1123.7109, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2295, 326.8438, 1124.4844, 1082.8594, 0.25);
RemoveBuildingForPlayer(playerid, 2336, 334.2500, 1123.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2335, 334.2422, 1124.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2334, 334.2422, 1125.8672, 1082.8438, 0.25);
RemoveBuildingForPlayer(playerid, 2852, 321.6719, 1130.3516, 1083.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1728, 325.5078, 1130.8516, 1082.8750, 0.25);
RemoveBuildingForPlayer(playerid, 2819, 323.4453, 1131.1250, 1082.8984, 0.25);
2324.419921,-1145.568359,1050.710083 Int ID: 12
pawn Код:
RemoveBuildingForPlayer(playerid, 2123, 2312.9609, -1145.0703, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2314.2969, -1146.3125, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2315.4219, -1145.0703, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2086, 2314.2734, -1144.8984, 1050.0859, 0.25);
RemoveBuildingForPlayer(playerid, 2123, 2314.2969, -1143.6250, 1050.3203, 0.25);
RemoveBuildingForPlayer(playerid, 2281, 2318.7813, -1145.4609, 1054.5938, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1144.0859, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2335.3594, -1144.0703, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2135, 2336.3516, -1144.0781, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2305, 2337.3203, -1144.0781, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1143.1016, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1143.0938, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2322.2266, -1142.4766, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1822, 2323.9297, -1142.2578, 1049.4844, 0.25);
RemoveBuildingForPlayer(playerid, 1741, 2312.6484, -1140.7891, 1053.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1142.1094, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1141.1172, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2334.4219, -1140.9688, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2326.5234, -1140.5703, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1142.1094, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2139, 2337.3125, -1141.1094, 1049.6641, 0.25);
RemoveBuildingForPlayer(playerid, 2088, 2338.4531, -1141.3672, 1053.2734, 0.25);
RemoveBuildingForPlayer(playerid, 2270, 2340.2734, -1141.7109, 1054.5391, 0.25);
RemoveBuildingForPlayer(playerid, 15050, 2330.3281, -1140.3047, 1051.9063, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1140.1328, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 2323.4375, -1139.5469, 1049.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2333.3281, -1139.8672, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2115, 2334.4297, -1139.6250, 1049.7109, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2335.3672, -1139.8750, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2303, 2337.3281, -1140.1172, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2090, 2309.5156, -1139.3438, 1053.4219, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1139.1406, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2333.3281, -1138.8281, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2335.3672, -1138.8359, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2298, 2336.5391, -1138.7891, 1053.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1138.1563, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2136, 2337.3281, -1138.1328, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2240, 2319.2500, -1137.8750, 1050.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2240, 2329.5000, -1137.8750, 1050.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1137.1641, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2079, 2334.4219, -1137.5859, 1050.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2139, 2337.3125, -1137.1484, 1049.6641, 0.25);
RemoveBuildingForPlayer(playerid, 2088, 2310.6641, -1136.3047, 1053.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2257, 2320.4141, -1134.6328, 1053.8281, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1136.1719, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2331.3359, -1135.1875, 1049.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2254, 2328.1484, -1134.6172, 1054.0625, 0.25);
RemoveBuildingForPlayer(playerid, 2281, 2335.2656, -1136.4063, 1054.7266, 0.25);
RemoveBuildingForPlayer(playerid, 2106, 2336.5156, -1135.0156, 1053.8047, 0.25);
RemoveBuildingForPlayer(playerid, 2271, 2337.8047, -1135.3516, 1054.7031, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1136.1641, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2138, 2337.3203, -1135.1797, 1049.6719, 0.25);
RemoveBuildingForPlayer(playerid, 2106, 2339.2031, -1135.0156, 1053.8047, 0.25);
RemoveBuildingForPlayer(playerid, 15049, 2334.3281, -1139.5859, 1051.1953, 0.25);
235.508994, 1189.169897, 1080.339966 Int ID: 3
pawn Код:
RemoveBuildingForPlayer(playerid, 2522, 236.9844, 1206.6406, 1079.2031, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 236.7500, 1208.1797, 1079.2344, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 234.5781, 1209.2344, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2523, 232.4375, 1209.2656, 1079.2578, 0.25);
225.756989, 1240.000000, 1082.149902 Int ID: 2
pawn Код:
RemoveBuildingForPlayer(playerid, 1705, 222.53, 1243.00, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2313, 222.31, 1240.64, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1719, 217.86, 1240.58, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2312, 219.51, 1241.30, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2852, 223.24, 1252.65, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2860, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2848, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1700, 224.04, 1252.82, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2103, 219.18, 1240.91, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1702, 222.66, 1239.44, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 1743, 222.28, 1250.57, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2082, 223.63, 1242.88, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2102, 222.31, 1253.43, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2088, 222.69, 1252.52, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2346, 222.19, 1251.63, 1082.14, 25.0);
RemoveBuildingForPlayer(playerid, 2856, 219.99, 1242.10, 1082.14, 25.0);
223.043991, 1289.259888, 1082.199951 Int ID: 1
pawn Код:
RemoveBuildingForPlayer(playerid, 14720, 216.5547, 1292.2188, 1081.1172, 0.25);
RemoveBuildingForPlayer(playerid, 14719, 218.7422, 1290.8203, 1082.8672, 0.25);
225.630997, 1022.479980, 1084.069946 Int ID: 7
pawn Код:
RemoveBuildingForPlayer(playerid, 2523, 237.8828, 1038.8359, 1087.2969, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 237.8828, 1040.6016, 1087.2891, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 238.4219, 1042.5469, 1087.2422, 0.25);
RemoveBuildingForPlayer(playerid, 14728, 238.7344, 1036.9688, 1085.7969, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 241.0703, 1041.5547, 1087.2734, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 252.0234, 1032.6328, 1083.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 254.7344, 1033.0703, 1083.6953, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 254.8125, 1034.4141, 1083.7188, 0.25);
RemoveBuildingForPlayer(playerid, 2523, 254.7656, 1036.1328, 1083.7188, 0.25);
295.138977, 1474.469971, 1080.519897 Int ID: 15
pawn Код:
RemoveBuildingForPlayer(playerid, 2523, 284.5078, 1480.5156, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2528, 284.4063, 1482.2813, 1079.2500, 0.25);
RemoveBuildingForPlayer(playerid, 2522, 284.4844, 1484.4219, 1079.1953, 0.25);
RemoveBuildingForPlayer(playerid, 2520, 287.1328, 1483.4297, 1079.2266, 0.25);
328.493988, 1480.589966, 1084.449951 Int ID: 15
pawn Код:
RemoveBuildingForPlayer(playerid, 2527, 331.5391, 1483.3281, 1083.4609, 0.25);
RemoveBuildingForPlayer(playerid, 2518, 332.7266, 1485.2969, 1083.0156, 0.25);
RemoveBuildingForPlayer(playerid, 2521, 332.3359, 1485.3047, 1083.4141, 0.25);
RemoveBuildingForPlayer(playerid, 2519, 334.3359, 1485.3047, 1083.4141, 0.25);
385.803986, 1471.769897, 1080.209961 Int ID: 15
pawn Код:
//Nothing to remove
2262.83, -1137.71, 1050.63 Int ID: 10
pawn Код:
RemoveBuildingForPlayer(playerid, 15028, 2263.1250, -1138.2422, 1049.8438, 0.25);
RemoveBuildingForPlayer(playerid, 15026, 2264.9063, -1137.7656, 1051.3594, 0.25);
2251.85, -1138.16, 1050.63 Int ID: 9
pawn Код:
RemoveBuildingForPlayer(playerid, 15025, 2249.6641, -1138.1250, 1051.3594, 0.25);
RemoveBuildingForPlayer(playerid, 15027, 2250.1016, -1132.5078, 1049.9609, 0.25);
I found that some houses (GTA robbery houses to be specific) have objects in their interior that change dynamically. So there's no real way to remove them. It changes all the time.

One alternative is to create the empty houses in a different position and use that as the 'new' interior. Unfortunately this is all I could get.
You did your best and that's all I can ask for, especially when you offered to help! I greatly appreciate everything you have done, perhaps I'll just need to create the interior 'shell' and mimic the original minus the furniture, thank you very much, repped!


Re: RemoveBuildingForPlayer Not Working Within Interiors? - Pottus - 16.12.2014

These type of objects are streamed in GTA engine and can not be removed.