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



RemoveBuildingForPlayer - Server Crashes - DJ_Shocker - 20.09.2014

Is there a limit on RemoveBuildingForPlayer?
When 3500 were put in (trying to remove trees in los santos/red county), server crashes.
Is there another way to achieve this?


Re: RemoveBuildingForPlayer - Server Crashes - StreetGT - 20.09.2014

are you using RemoveBuildingForPlayer in onplayerspawn or onplayerconnect?


Re: RemoveBuildingForPlayer - Server Crashes - DJ_Shocker - 20.09.2014

OnPlayerConnect


Re: RemoveBuildingForPlayer - Server Crashes - Pottus - 20.09.2014

What do you expect it is well known this happens eventually you could probably also reduce the amount of lines significantly by increasing the remove radius to kill many birds with one stone.


Re: RemoveBuildingForPlayer - Server Crashes - justinnater - 20.09.2014

Well I increased the radius to 200 which still didn't work.

RemoveBuildingForPlayer(playerid, id, x, y, z, 200.000);


Re: RemoveBuildingForPlayer - Server Crashes - Pottus - 21.09.2014

It's likely it's just too many objects.


Re: RemoveBuildingForPlayer - Server Crashes - rymax99 - 21.09.2014

Using it to remove trees is hardly worth it. I only remove things that are an actual inconvenience to normal gameplay.


Re: RemoveBuildingForPlayer - Server Crashes - M0HAMMAD - 21.09.2014

Use In OnPlayerRequestClass


Re: RemoveBuildingForPlayer - Server Crashes - justinnater - 21.09.2014

Nah OnPlayerRequestClass dosnt works.
Any other ideas on how to bypass this?


Re: RemoveBuildingForPlayer - Server Crashes - XGreen - 21.09.2014

Quote:
Originally Posted by justinnater
Посмотреть сообщение
Nah OnPlayerRequestClass dosnt works.
Any other ideas on how to bypass this?
XGreen Here Dude,

Are You Using It On Filterscript or In Gamemode?

that's happens to me, i putted my map codes into filterscript one, and i use F_Streamer on it. Then It Works..

I Know Ur DJ_Shocker or Xray?