12.03.2020, 05:06
Hello, i didnt use the forum for a long time, but im obliged to ask a slightly silly question.
I will explain what happens, yesterday, i was trying to remove 4 streets in Idlewood, but they dont work with 'RemoveBuilding', that is, i used it like this:
But it didn't remove the streets, so i had to use the function like this:
Example:

When i change the variable that increases the radius of distance to erase what is within that radius, 2 of the streets were deleted, but I did not succeed with the street above and below, use a radius of 500.0 and one of 1000.0 but even so they were not erased.
Does anyone know why this happens, or has something similar happened to him?
I will explain what happens, yesterday, i was trying to remove 4 streets in Idlewood, but they dont work with 'RemoveBuilding', that is, i used it like this:
Code:
RemoveBuildingForPlayer(playerid, 5544, 1873.7422, -1682.4766, 34.7969, 0.25); RemoveBuildingForPlayer(playerid, 620, 1879.5078, -1741.4844, 10.8047, 0.25); RemoveBuildingForPlayer(playerid, 1537, 1837.4375, -1683.9688, 12.3047, 0.25); RemoveBuildingForPlayer(playerid, 1533, 1837.4375, -1683.9531, 12.3047, 0.25); RemoveBuildingForPlayer(playerid, 1537, 1837.4375, -1686.9844, 12.3125, 0.25); RemoveBuildingForPlayer(playerid, 620, 1832.8984, -1670.7656, 9.7188, 0.25); RemoveBuildingForPlayer(playerid, 1533, 1837.4375, -1677.9219, 12.2969, 0.25); RemoveBuildingForPlayer(playerid, 1537, 1837.4375, -1680.9531, 12.2969, 0.25); RemoveBuildingForPlayer(playerid, 1533, 1837.4375, -1680.9375, 12.2969, 0.25); RemoveBuildingForPlayer(playerid, 5408, 1873.7422, -1682.4766, 34.7969, 0.25); RemoveBuildingForPlayer(playerid, 712, 1929.5781, -1694.4609, 21.3906, 0.25); RemoveBuildingForPlayer(playerid, 620, 1931.0391, -1667.0313, 10.8047, 0.25); RemoveBuildingForPlayer(playerid, 620, 1879.5078, -1623.1016, 10.8047, 0.25);
Code:
RemoveBuildingForPlayer(playerid, -1, 1929.5781, -1736.9063, 21.3906, 28.0); RemoveBuildingForPlayer(playerid, -1, 1931.0391, -1726.3281, 10.8047, 28.0); RemoveBuildingForPlayer(playerid, -1, 1832.3828, -1694.3125, 9.7188, 28.0); RemoveBuildingForPlayer(playerid, -1, 1832.8984, -1670.7656, 9.7188, 28.0); RemoveBuildingForPlayer(playerid, -1, 1931.0391, -1702.2891, 10.8047, 28.0); RemoveBuildingForPlayer(playerid, -1, 1929.5781, -1694.4609, 21.3906, 28.0); RemoveBuildingForPlayer(playerid, -1, 1931.0391, -1667.0313, 10.8047, 28.0); RemoveBuildingForPlayer(playerid, -1, 1931.0391, -1637.8984, 10.8047, 28.0); RemoveBuildingForPlayer(playerid, -1, 1832.8359, -1751.5078, 15.5859, 34.0); RemoveBuildingForPlayer(playerid, -1, 1952.5156, -1751.3750, 15.5547, 34.0);

When i change the variable that increases the radius of distance to erase what is within that radius, 2 of the streets were deleted, but I did not succeed with the street above and below, use a radius of 500.0 and one of 1000.0 but even so they were not erased.
Does anyone know why this happens, or has something similar happened to him?