RemoveBuildingForPlayer - Server Crashes
#1

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?
Reply
#2

are you using RemoveBuildingForPlayer in onplayerspawn or onplayerconnect?
Reply
#3

OnPlayerConnect
Reply
#4

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.
Reply
#5

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

RemoveBuildingForPlayer(playerid, id, x, y, z, 200.000);
Reply
#6

It's likely it's just too many objects.
Reply
#7

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

Use In OnPlayerRequestClass
Reply
#9

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

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)