25.11.2018, 14:43
I've been wondering is it safe to remove the entire map using RemoveBuildingForPlayer, as I want to create an entire new map from scratch.
Looking at samp wiki we've got:
Those two pieces of information seem to contradict themselves. Is it safe to do so or not, then?
As I'm also using ColAndreas, I'd to the same with CA_RemoveBuilding. Is it also possible to do it? If it is, then is should significantly reduce performance strain, right?
...or am I better to create the new map somewhere far from San Andreas land, like x 20000, y 20000? (I'd still like to use CA_RemoveBuilding for default objects, if it will improve performance)
Looking at samp wiki we've got:
PHP Code:
There appears to be a limit of around 1000 lines/objects. There is no workaround.
(...)
// When the player connects, all map objects will be removed.
RemoveBuildingForPlayer(playerid, -1, 0.0, 0.0, 0.0, 6000.0);
As I'm also using ColAndreas, I'd to the same with CA_RemoveBuilding. Is it also possible to do it? If it is, then is should significantly reduce performance strain, right?
...or am I better to create the new map somewhere far from San Andreas land, like x 20000, y 20000? (I'd still like to use CA_RemoveBuilding for default objects, if it will improve performance)