#Bypassing RemoveBuildingForPlayer limit
5 messages · Page 1 of 1 (latest)
No, the limit cannot be bypassed. You can only optimize your existing removebuilding code to use less removebuilding calls. For example, if you remove 30 of the same object in a certain area do not use 30 individual calls. Use one call with a higher range. Similarly if you remove many objects in a certain area, at some point it's better to just remove everything in a certain radius (with modelid -1) and then restore the objects you do not want to be removed with dynamic objects. This can save a lot of removebuilding calls and also reduce client lag at the map origin for players with weak CPUs.
Good tips, thank you
I never thought about removing multiple objects (a/k/a using -1) in one radius
That is for the server side. You can of course use client sided mods (like edit the streamed .ipl files and then use modloader to override the originals) but that's probably not what you meant with plugins. Otherwise the RemoveBuildingForPlayer limit is completely client sided.