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



RemoveBuildingForPlayer weird things - EvenemE - 31.12.2013

alright, so as you can see on the video below this is what's going on when i remove buildings

[ame]http://www.youtube.com/watch?v=RS5PAy0HqmI[/ame]


anyone knows how to fix this?


Re: RemoveBuildingForPlayer weird things - [D]ry[D]esert - 31.12.2013

hmm..
where do you use RemovePlayerBuilding?
do you've alot of mods installed in your game?


Re: RemoveBuildingForPlayer weird things - MatriXgaMer - 31.12.2013

Put RemovePlayerBuilding on OnPlayerConnect callback
pawn Код:
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius));
! IMPORTAN ! Remove all you'r mods, and update graphic drivers.


Re: RemoveBuildingForPlayer weird things - EvenemE - 31.12.2013

It's already placed in onplayerconnect callback.
I have no mods installed. Pure game.


Re: RemoveBuildingForPlayer weird things - MatriXgaMer - 31.12.2013

Try downloading an Map Editor and Delete the object with it. May help!


Re: RemoveBuildingForPlayer weird things - EvenemE - 31.12.2013

i rofl'ed so hard. Even though the code from samp map editor is almost the same as the one from mta, somehow it works.

cheers mate, I appriciate your help, happy new year!


Re: RemoveBuildingForPlayer weird things - MatriXgaMer - 31.12.2013

No problem, HAPPY NEW YEAR


Re: RemoveBuildingForPlayer weird things - Akira297 - 31.12.2013

That's also one issue with removing a myriad amount of objects within a area.