RemoveBuilding Bug - 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: RemoveBuilding Bug (
/showthread.php?tid=654854)
RemoveBuilding Bug -
TheBeastKhan - 07.06.2018
I placed this on my GM on OnPlayerConnect:-
Код:
RemoveBuildingForPlayer(playerid, 9901, -1459.1016, 920.09375, 31.95313, 111.41696); // removeWorldObject (ferybuild_1) (1)
Building has been removed but it is still showed like blur and players can go inside the removed building, How to fix this problem, +REP if helped out!
Re: RemoveBuilding Bug -
Sew_Sumi - 07.06.2018
You need to remove not just the object, but the LODs and such that go with it. Use Jernejls map editor, as when you select a building, then remove it, it removes all the associated LODs and particle/light stuff with it.