SA-MP Forums Archive
How To Remove San-Fierro Crane and other Construction objects? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How To Remove San-Fierro Crane and other Construction objects? (/showthread.php?tid=481465)



How To Remove San-Fierro Crane and other Construction objects? - Calvin96 - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - iZN - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - Vince - 15.12.2013

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


Re: How To Remove San-Fierro Crane and other Construction objects? - Calvin96 - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - iOxide - 15.12.2013

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


Re: How To Remove San-Fierro Crane and other Construction objects? - iZN - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - Calvin96 - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - Calvin96 - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - iOxide - 15.12.2013

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.


Re: How To Remove San-Fierro Crane and other Construction objects? - oOChazyBoyOo - 21.05.2018

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);