RemoveBuildingForPlayer() callback
#7

Quote:
Originally Posted by Matite
Посмотреть сообщение
I know this is not really related to the problem you posted but it is worth mentioning that in SA:MP 0.3.7 RC5+ you can use -1 for the modelid param to remove all of the map objects within the specified radius.

This will also help to overcome the limitation of 1000 or so RemoveBuildingForPlayer calls per client (eg you could remove all objects in the radius you specify instead of one by one).

This change was not listed in the RC release notes but I have updated the wiki:
https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

As you can see on the updated wiki article, you could remove all map objects from the GTASA map with just one command.
I'm unable to test this at this present moment, however does that readd the removed buildings, or deletes all native objects? Seems interesting.
Reply


Messages In This Thread
RemoveBuildingForPlayer() callback - by iiNzTicTx - 14.04.2015, 10:11
Re: RemoveBuildingForPlayer() callback - by Pottus - 14.04.2015, 15:25
Re: RemoveBuildingForPlayer() callback - by uint32 - 26.04.2015, 00:38
Re: RemoveBuildingForPlayer() callback - by Pottus - 27.04.2015, 00:00
Re: RemoveBuildingForPlayer() callback - by Abagail - 27.04.2015, 00:19
Re: RemoveBuildingForPlayer() callback - by Matite - 29.04.2015, 05:46
Re: RemoveBuildingForPlayer() callback - by iiNzTicTx - 02.05.2015, 02:36

Forum Jump:


Users browsing this thread: 1 Guest(s)