How To Remove San-Fierro Crane and other Construction objects?
#1

Hello SA-MP.com forum
First of all sorry if this is wrong forum, but it must be scripting related since I can't remove some of the objects using Map Editor's I use samp map construction by JernejL for mapping and this is first time where I just can't remove objects, I also tried MTA Map Editor still no luck... Maybe you can help? See attachments if you can't understand me.
Thanks.
Reply
#2

Just click on that object and press delete. Afterwards generate the code 'RemoveBuildingForPlayer' is the native. You've to place them at OnPlayerConnect callback though.
Reply
#3

http://forum.sa-mp.com/showpost.php?...42&postcount=5
Reply
#4

Quote:
Originally Posted by iZN
View Post
Just click on that object and press delete. Afterwards generate the code 'RemoveBuildingForPlayer' is the native. You've to place them at OnPlayerConnect callback though.
The problem is they aren't visible in the editor so I can't do that homie, trust me I know how to use this mapp editor

Quote:
Originally Posted by Vince
View Post
Yeah this is a bit helpful, and believe me I did research you have said that you have't found crane yet, so I thought maybe someone here knows anything, it's been over a year since you created that topic.
Reply
#5

Yeah i just checked on map editor, it is really not there. Try using other Map editors which can remove the buildings.
Reply
#6

Quote:
Originally Posted by Calvin96
View Post
The problem is they aren't visible in the editor so I can't do that homie, trust me I know how to use this mapp editor



Yeah this is a bit helpful, and believe me I did research you have said that you have't found crane yet, so I thought maybe someone here knows anything, it's been over a year since you created that topic.
Lol you're right. I don't see that crane either.
Reply
#7

Quote:
Originally Posted by iOxide
View Post
Yeah i just checked on map editor, it is really not there. Try using other Map editors which can remove the buildings.
Well I only know two Map Editor's compatible with samp it's MTA and map construction by JernejL
which can't remove these objects, if you know any other editor please let me know.
Reply
#8

Sorry for double post, but this is important I've fixed the problem and if any of you wonder how to remove those objects for good, here it is:
RemoveBuildingForPlayer(playerid, 1403, 0.0, 0.0, 0.0, 100000.0);
RemoveBuildingForPlayer(playerid, 1404, 0.0, 0.0, 0.0, 100000.0);
RemoveBuildingForPlayer(playerid, 1385, 0.0, 0.0, 0.0, 100000.0);
RemoveBuildingForPlayer(playerid, 1684, 0.0, 0.0, 0.0, 100000.0);

Gracias to people who tried to help, you can close the thread.
Reply
#9

To remove objects, use the latest server package or download new version of includes. Then put RemoveBuildingForPlayer(playerid, objectid, x,y,z); under public OnPlayerConnect(playerid) callback.
Reply
#10

Quote:
Originally Posted by Calvin96
View Post
Hello SA-MP.com forum
First of all sorry if this is wrong forum, but it must be scripting related since I can't remove some of the objects using Map Editor's I use samp map construction by JernejL for mapping and this is first time where I just can't remove objects, I also tried MTA Map Editor still no luck... Maybe you can help? See attachments if you can't understand me.
Thanks.
//sfcrane and cabin
RemoveBuildingForPlayer(playerid, 1383, -2080.441, 256.015, 66.869, 0.25);
RemoveBuildingForPlayer(playerid, 1384, -2080.441, 256.007, 99.408, 0.25);
RemoveBuildingForPlayer(playerid, 1404, -2080.441, 256.015, 66.869, 0.25);
RemoveBuildingForPlayer(playerid, 1403, -2080.441, 256.007, 99.408, 0.25);
RemoveBuildingForPlayer(playerid, 1684, -2108.0, 155.0, 34.0488, 178.0);
RemoveBuildingForPlayer(playerid, 1385, -2080.441, 296.46, 102.861, 0.25);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)