05.06.2017, 21:19
As far as I know the interior objects (at least the things you can steal) get semi-randomly generated by the mission script every time the interior is accessed. I don't think there's a way around that other than creating a new interior.
You should also cut down on your RemoveBuilding lines because there is a limit of 1000 for those and you're already using over 800 just for all the furniture. For example, all of these can easily be condensed:
If you pick a center point like 245, 1245, 1080 and a range of about 60 then you can condense these 9 lines into 1.
You should also cut down on your RemoveBuilding lines because there is a limit of 1000 for those and you're already using over 800 just for all the furniture. For example, all of these can easily be condensed:
PHP код:
RemoveBuildingForPlayer(playerid, 1502, 235.6016, 1204.5859, 1083.4141, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 237.8203, 1190.0156, 1079.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 253.3594, 1291.6953, 1079.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 255.7188, 1246.9609, 1083.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 256.2656, 1250.8750, 1083.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 258.5781, 1247.1016, 1083.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 259.7891, 1286.6406, 1079.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 262.1641, 1286.9766, 1079.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 262.1641, 1291.3047, 1079.2813, 0.25);