How to remove Area51 objects?
#1

These objects..


They don't appear in Map Construction but in game they do, any fix?
Thanks in advance.
Reply
#2

Well; if you can get their object ID's; and their rough position... You should be able to remove it using an extended radius. So basically /save close to the object; and find out it's ID, and remove the building with a suitable range from the coordinates to the object.
Reply
#3

Those objects you probably won't be able to remove just like certain doors but you can try.
Reply
#4

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Those objects you probably won't be able to remove just like certain doors but you can try.
And why wouldn't you be able to? They are objects, right? I guess someone should update the wiki if that's the case.
Reply
#5

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Well; if you can get their object ID's; and their rough position... You should be able to remove it using an extended radius. So basically /save close to the object; and find out it's ID, and remove the building with a suitable range from the coordinates to the object.
I don't think that's how RemoveBuilding works but I'll try anyways.
Reply
#6

It's not one object, but three (2887, 2888, 2889). Try this code

Код:
RemoveBuildingForPlayer(playerid, 2887, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 2888, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 2889, 0.0, 0.0, 0.0, 6000.0);
Should work. You can also set positions of it (code above will remove all objects with model 2887 - 2889).

Quote:

Those objects you probably won't be able to remove

Please don't post if you don't know, thanks. It's not first time when your post means nothing, zero help. Embarrassing.
Reply
#7

Here you go:
RemoveBuildingForPlayer(playerid, 2887, 103.946, 1901.047, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 103.946, 1901.047, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 103.946, 1901.047, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 161.962, 1933.043, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 161.962, 1933.043, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 161.962, 1933.043, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 233.486, 1934.789, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 233.486, 1934.789, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 233.486, 1934.789, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 267.116, 1895.241, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 267.116, 1895.241, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 267.116, 1895.241, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 262.145, 1807.62, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 262.145, 1807.62, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 262.145, 1807.62, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 166.003, 1849.937, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 166.003, 1849.937, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 166.003, 1849.937, 36.246, 0.25);

RemoveBuildingForPlayer(playerid, 2887, 113.439, 1814.405, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2888, 113.439, 1814.405, 36.246, 0.25);
RemoveBuildingForPlayer(playerid, 2889, 113.439, 1814.405, 36.246, 0.25);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)