SA-MP Forums Archive
RemoveBuildingForPlayer - 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: RemoveBuildingForPlayer (/showthread.php?tid=349559)



RemoveBuildingForPlayer - AstonDA-G - 09.06.2012

Hey all, OnPlayerConnect, i have this line:
pawn Code:
RemoveBuildingForPlayer(playerid, 16098, 307.9206,2543.1956,17.2844, 50);
Seems to work fine, but at some camera angles, even though the hangar isn't solid, its still visible. How do I make it go away for good?
Heres the problem.

Thanks,
-Aston.


AW: RemoveBuildingForPlayer - Drebin - 09.06.2012

You have to remove the LOD too:
pawn Code:
RemoveBuildingForPlayer(playerid, 16602, 307.9531, 2543.4531, 20.3984, 0.25);
RemoveBuildingForPlayer(playerid, 16098, 307.9531, 2543.4531, 20.3984, 0.25);



Re: RemoveBuildingForPlayer - AstonDA-G - 09.06.2012

ahh thanks, so if i wanted to do it with other objects, how do i find the LOD?


AW: RemoveBuildingForPlayer - Drebin - 09.06.2012

With this tool: https://sampforum.blast.hk/showthread.php?tid=282801