SA-MP Forums Archive
Removed building still sort-of showing? + REP - 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: Removed building still sort-of showing? + REP (/showthread.php?tid=367268)



Removed building still sort-of showing? + REP - DarrenReeder - 09.08.2012

Hello, I am making a script in LV and i wanted to remove this building so i could map something over the top of it. But when I do it still has faint images of the building (the one that is used from when far away i asume... cant remember the technical name of it). Here are some screenshots, does anyone know how to get rid of them?

http://postimage.org/gallery/13hzygbu/ce929ea1/

Thanks.. REP to anyone that contributes useful to the tread! (Thats relevant to my problem)

EDIT:

I have another problem with this... I have now removed the LOD and the objects.. and i have also put my OWN objects into the place... but now its all bugging by reappearing and dispearing..

You can see from the Screenshots below that the objects i placed in are disapearing and so is the objects built into the map behind. I dont mind the far away buildings as much... just my own objects i placed in, is there any way to stop this from happening?

http://postimage.org/gallery/um60kfe/85f5a3e9/


Re: Removed building still sort-of showing? + REP - Syntax - 09.08.2012

Are you sure you've put the RemoveBuildingForPlayer code in the right section (OnPlayerConnect)?


Re: Removed building still sort-of showing? + REP - Cypress - 09.08.2012

How have you removed the building? With SA-MP Map editor?


Re: Removed building still sort-of showing? + REP - [MM]RoXoR[FS] - 09.08.2012

They are called LOD (low detail, 'blurred') version of said object.

To remove them , I suggest you to use JernejL's Map Editor: https://sampforum.blast.hk/showthread.php?tid=282801


Re: Removed building still sort-of showing? + REP - DarrenReeder - 09.08.2012

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
They are called LOD (low detail, 'blurred') version of said object.

To remove them , I suggest you to use JernejL's Map Editor: https://sampforum.blast.hk/showthread.php?tid=282801
Ah so is the LOD an object itself which i need to find the id of?

EDIT:

Ah, turns out it is and I found it in MTA map editor... When you choose a world object it give you the object Id and the LOD id.. Thanks!


Re: Removed building still sort-of showing? + REP - DarrenReeder - 09.08.2012

I have another problem with this... I have now removed the LOD and the objects.. and i have also put my OWN objects into the place... but now its all bugging by reappearing and dispearing..

You can see from the Screenshots below that the objects i placed in are disapearing and so is the objects built into the map behind. I dont mind the far away buildings as much... just my own objects i placed in, is there any way to stop this from happening?

http://postimage.org/gallery/um60kfe/85f5a3e9/


Respuesta: Re: Removed building still sort-of showing? + REP - HarlemSAMP - 09.08.2012

Quote:
Originally Posted by DarrenReeder
Посмотреть сообщение
I have another problem with this... I have now removed the LOD and the objects.. and i have also put my OWN objects into the place... but now its all bugging by reappearing and dispearing..

You can see from the Screenshots below that the objects i placed in are disapearing and so is the objects built into the map behind. I dont mind the far away buildings as much... just my own objects i placed in, is there any way to stop this from happening?

http://postimage.org/gallery/um60kfe/85f5a3e9/
You're doing something wrong with the RemoveBuildingForPlayer, where did you place those coords? can you show us the code where you posted them? thanks.


Re: Removed building still sort-of showing? + REP - DarrenReeder - 09.08.2012

Im using the Removebuilding Include and did it ongamemodeinit


Respuesta: Re: Removed building still sort-of showing? + REP - HarlemSAMP - 09.08.2012

Quote:
Originally Posted by DarrenReeder
Посмотреть сообщение
Im using the Removebuilding Include and did it ongamemodeinit
I suggest you to do it OnPlayerConnect instead of OnGameModeIni, probably that's causing the appearing a disappearing for sure, try it.


Re: Removed building still sort-of showing? + REP - DarrenReeder - 09.08.2012

Yteah, tried doing it onplayerconnect and it still does it.

I am using

pawn Код:
RemoveSpecificBuilding(7531);
    RemoveSpecificBuilding(7720); // LOD  MAIN
    RemoveSpecificBuilding(7918);
From the include file. Is there another way i could try it?