SA-MP Forums Archive
cant remove Buildings - 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: cant remove Buildings (/showthread.php?tid=360408)



cant remove Buildings - shayan122 - 17.07.2012

Hello today i was mapping with sa-mp editor than when it done i tested it
i removed all objects there but there are 3 i cant remove
( in Doherty constraction Place )

anyone know how to delete them

ss of those objects:

http://up.vatandownload.com/images/u...qhqtk62fo5.png

http://up.vatandownload.com/images/0...vtl96seh4o.png

http://up.vatandownload.com/images/8...jf9shuaql6.png




Re: cant remove Buildings - cosmon - 17.07.2012

I think they are part of the ground so u can't remove them .


Re: cant remove Buildings - shayan122 - 17.07.2012

i removed the ground too!


Re: cant remove Buildings - shayan122 - 17.07.2012

Anybody help??


Re: cant remove Buildings - Vince - 17.07.2012

If they're not visible in the map editor, then they're created by the mission script. I had a quick look, and found these 5 for the white cabins (modelid 1684):

Code:
$2677[0] = -2108.0 
$2683[0] = 155.0 
$2689[0] = 34.0488 
$2695[0] = 178.0 

$2677[1] = -2089.0 
$2683[1] = 172.0 
$2689[1] = 34.0488 
$2695[1] = 267.0 

$2677[2] = -2069.0 
$2683[2] = 229.0 
$2689[2] = 35.0215 
$2695[2] = 270.0 

$2677[3] = -2077.0 
$2683[3] = 271.0 
$2689[3] = 33.7475 
$2695[3] = 0.0 

$2677[4] = -2096.0 
$2683[4] = 261.0 
$2689[4] = 34.5808 
$2695[4] = 264.0 

$2677[5] = -2129.0 
$2683[5] = 306.0 
$2689[5] = 33.7245 
$2695[5] = 0.0
(X Y Z A, obviously)

I haven't found the crane yet.

Edit: Found the crane:
Code:
$2722 = Object.Init(#TWRCRANE_M_04, -2080.441, 256.015, 66.869)
$2723 = Object.Init(#TWRCRANE_M_01, -2080.441, 256.007, 99.408)
$2724 = Object.Init(#TWRCRANE_M_02, -2080.441, 296.46, 102.861)
$2725 = Object.Init(#LODCRANE_M_04, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
$2726 = Object.Init(#LODCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
#TWRCRANE_M_041383
#TWRCRANE_M_011384
#TWRCRANE_M_021385
#LODCRANE_M_041404
#LODCRANE_M_011403



Re: cant remove Buildings - shayan122 - 17.07.2012

Thanks Very much !!
but i dont know how to use it
can you make codes like

RemoveBuildingForPlayer(playerid, X.Y.Z, );

EDIT: i found how to make codes but what is the crane X.Y.Z.A?
thats [5]?

what is this? Object.Init where should i put it
pawn Code:
$2722 = Object.Init(#TWRCRANE_M_04, -2080.441, 256.015, 66.869)
$2723 = Object.Init(#TWRCRANE_M_01, -2080.441, 256.007, 99.408)
$2724 = Object.Init(#TWRCRANE_M_02, -2080.441, 296.46, 102.861)
$2725 = Object.Init(#LODCRANE_M_04, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
$2726 = Object.Init(#LODCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)



Re: cant remove Buildings - shayan122 - 18.07.2012

anyone could help me?

is there any website that i could find GTA-SA objects positions?


Re: cant remove Buildings - Devilxz97 - 18.07.2012

i can help u , gimme a few mins

EDIT:this object has in your gm ?

http://up.vatandownload.com/images/u...qhqtk62fo5.png
http://up.vatandownload.com/images/8...jf9shuaql6.png

did u have map your server b4 ?


Re: cant remove Buildings - Devilxz97 - 18.07.2012

Open your gm , and search for CreateObject then copy all the createobject and paste it on pastebin , then PM me the Link , then i can remove it


Re: cant remove Buildings - shayan122 - 18.07.2012

-.-
Bro its GTA-SA OBJECT! , and they are invisible in sa-mp and map editor...