Objects get removed but they can be still be touched. - 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: Objects get removed but they can be still be touched. (
/showthread.php?tid=539346)
Objects get removed but they can be still be touched. -
Magic_Time - 27.09.2014
So, I have a problem, I remove some objects around the map, they are of course removed, but I can touch them in game even if they are invisible!
How can I fix that?
Re: Objects get removed but they can be still be touched. -
Magic_Time - 27.09.2014
Quote:
Originally Posted by ic3cr3am
Don't delete them or don't touch them.
|
Are you kidding me?
Don't post if you don't know.
Re: Objects get removed but they can be still be touched. -
Sawalha - 27.09.2014
How do you remove them?
Re: Objects get removed but they can be still be touched. -
Magic_Time - 27.09.2014
Quote:
Originally Posted by Sawalha
How do you remove them?
|
Obviously, I'm using:
https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer
Re: Objects get removed but they can be still be touched. -
Killa[DGZ] - 28.09.2014
Open the SA-MP map editor (Editor.exe) and make sure you click 'LOAD WITH COLLS' on the first screen, otherwise you'll be just deleting the object and not the collision that goes with it.. which is what you can still 'touch' when the object is deleted.
So 'LOAD WITH COLLS' an re-delete all those objects again and you'll be good
Re: Objects get removed but they can be still be touched. -
Pottus - 28.09.2014
Quote:
Originally Posted by Killa[DGZ]
Open the SA-MP map editor (Editor.exe) and make sure you click 'LOAD WITH COLLS' on the first screen, otherwise you'll be just deleting the object and not the collision that goes with it.. which is what you can still 'touch' when the object is deleted.
So 'LOAD WITH COLLS' an re-delete all those objects again and you'll be good 
|
That has absolutely nothing to do with it he didn't delete the LOD objects obviously it doesn't matter how you load the SAMP map editor it will always give both RemoveBuildingForPlayer() lines for the object and LOD object maybe he did it another way and didn't use the SAMP map editor.
Re: Objects get removed but they can be still be touched. -
Killa[DGZ] - 28.09.2014
Yeah he's obviously deleted it some other way which hasn't deleted the collision for the model.. either way I suggested the appropriate way, no harm done.