SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/12/2013, 07:35 PM   #1
Calvin96
Little Clucker
 
Join Date: Dec 2013
Posts: 6
Reputation: 0
Default How To Remove San-Fierro Crane and other Construction objects?

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.
Attached Images
File Type: jpg crane.jpg (585.8 KB, 107 views)
File Type: jpg nocrane.jpg (572.1 KB, 79 views)
Calvin96 is offline   Reply With Quote
Old 15/12/2013, 07:38 PM   #2
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,376
Reputation: 569
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
__________________
iZN is offline   Reply With Quote
Old 15/12/2013, 07:41 PM   #3
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,083
Reputation: 2655
Default Re: How To Remove San-Fierro Crane and other Construction objects?

http://forum.sa-mp.com/showpost.php?...42&postcount=5
__________________
Vince is offline   Reply With Quote
Old 15/12/2013, 07:42 PM   #4
Calvin96
Little Clucker
 
Join Date: Dec 2013
Posts: 6
Reputation: 0
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
Calvin96 is offline   Reply With Quote
Old 15/12/2013, 07:47 PM   #5
iOxide
Huge Clucker
 
Join Date: Nov 2013
Location: Inside PAWNO
Posts: 386
Reputation: 16
Default Re: How To Remove San-Fierro Crane and other Construction objects?

Yeah i just checked on map editor, it is really not there. Try using other Map editors which can remove the buildings.
iOxide is offline   Reply With Quote
Old 15/12/2013, 07:48 PM   #6
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,376
Reputation: 569
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
__________________
iZN is offline   Reply With Quote
Old 15/12/2013, 08:00 PM   #7
Calvin96
Little Clucker
 
Join Date: Dec 2013
Posts: 6
Reputation: 0
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
Calvin96 is offline   Reply With Quote
Old 15/12/2013, 08:10 PM   #8
Calvin96
Little Clucker
 
Join Date: Dec 2013
Posts: 6
Reputation: 0
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
Calvin96 is offline   Reply With Quote
Old 15/12/2013, 08:13 PM   #9
iOxide
Huge Clucker
 
Join Date: Nov 2013
Location: Inside PAWNO
Posts: 386
Reputation: 16
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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.
iOxide is offline   Reply With Quote
Old 21/05/2018, 11:40 PM   #10
oOChazyBoyOo
Big Clucker
 
oOChazyBoyOo's Avatar
 
Join Date: Feb 2009
Location: London, United Kingdom
Posts: 155
Reputation: 0
Default Re: How To Remove San-Fierro Crane and other Construction objects?

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);
__________________
oOChazyBoyOo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SF Construction Site objects ( MTA & Jernjel ) Hoborific Scripting Help 5 24/05/2013 01:07 PM
Map Construction: Missing objects steki. Scripting Help 4 14/01/2013 12:58 PM
Bad objects while using sa-mp map construction. Mintz Client Support 1 11/01/2013 11:29 PM
Remove SF construction site vvhy Scripting Help 4 13/05/2012 10:52 PM


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.