



RemoveBuildingForPlayer(playerid, 5466, 1881.7969, -1315.5391, 37.9453, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1837.1328, -1369.9844, 12.7500, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1926.0313, -1350.5469, 16.2031, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1876.9219, -1350.6875, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7422, -1330.8906, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1305.2109, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 5463, 1881.7969, -1315.5391, 37.9453, 0.25); RemoveBuildingForPlayer(playerid, 5644, 1881.8203, -1315.9219, 30.8359, 0.25); RemoveBuildingForPlayer(playerid, 5464, 1902.4297, -1309.5391, 29.9141, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1946.2266, -1270.7656, 19.8047, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1251.0078, 12.7031, 0.25); CreateObject(8068, 1885.87488, -1319.52307, 19.22216, 0.00000, 0.00000, 270.00000); CreateObject(8068, 1873.21838, -1296.08606, 19.22350, 0.00000, 0.00000, 180.00000); CreateObject(4573, 1937.20007, -1309.07776, 32.37500, -360.00000, 0.00000, 270.00000);
|
You could achieve the same result with half as many lines complete waste of RemoveBuildingForPlayer() lines I am going to make a utility to reprocess these lines for Texture Studio once I get some time.
|
|
Well what you do is choose a center point then use a high enough range to remove all objects less lines is always better consider that function is called every time a player connects it will save 7 lines of code on each connection as well as bandwidth.
|
RemoveBuildingForPlayer(playerid, 1308, 1837.1328, -1369.9844, 12.7500, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1926.0313, -1350.5469, 16.2031, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1876.9219, -1350.6875, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7422, -1330.8906, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1305.2109, 12.8672, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1946.2266, -1270.7656, 19.8047, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1251.0078, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 100.0);
|
Okay we have all these objects here.
Код:
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 100.0); |
|
I'm more worried about other things. Why did you create some themes for small objects? If you're doing something, create a map one subject and place it in his hand, and not the result of individual threads - it is not rational and respectful to other community members.
You want more attention, but do not forget that you are not alone here. Thank you for understanding. |
