SA-MP Forums Archive
How do I remove all dynamic objects on spawn for a player? - 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: How do I remove all dynamic objects on spawn for a player? (/showthread.php?tid=618254)



How do I remove all dynamic objects on spawn for a player? - Dokins - 03.10.2016

It seems I've been having many players crashing and I was hoping there was a way I could remove all the objects for a player and redisplay then when they are loaded and spawned to prevent crashes.


Re: How do I remove all dynamic objects on spawn for a player? - MattTucker - 03.10.2016

I have almost zero knowledge when it comes to mapping/objects, but I may have an idea of how you can do this.

You can gather all your mappings in a filterscript, and then use the rcon command "reloadfs" in order to reload the fs or "loadfs"/"unloadfs".

Best of luck trying that, or wait for someone's else reply.


Re: How do I remove all dynamic objects on spawn for a player? - Konstantinos - 03.10.2016

https://github.com/samp-incognito/sa...ToggleAllItems


Re: How do I remove all dynamic objects on spawn for a player? - Dokins - 03.10.2016

Thanks for the responses.


Matt, although that's a good idea it wouldn't work aha.