SA-MP Forums Archive
RemoveBuildingForPlayer problem please help me guys! - 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 problem please help me guys! (/showthread.php?tid=527227)



RemoveBuildingForPlayer problem please help me guys! - buburuzu19 - 21.07.2014

Hi guys! I Removed 2 buildings in MTA and when i go more closer to them they appear , and how can i fix this?
That are my codes:
pawn Код:
RemoveBuildingForPlayer(playerid, 4018, 1791.7969, -1716.9844, 12.52344, 0.25); // building new spawn
    RemoveBuildingForPlayer(playerid, 4027, 1783.1016, -1702.3047, 14.35156, 0.25); // object new spawn
Here it's from distance , doesen't appear
And here is when i come more closer, the removed building re-appears.


Re: RemoveBuildingForPlayer problem please help me guys! - Virtual1ty - 21.07.2014

You must remove it's LOD model as well, for that 'newbuildsm02' its model id 4075.


Re: RemoveBuildingForPlayer problem please help me guys! - buburuzu19 - 21.07.2014

I can't understand , can you explain me?
I have 2 removed objects , and you gived me the code for 1.
And how can i get code for more?