Removebuilding causes freezes on reconnect - 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: Removebuilding causes freezes on reconnect (
/showthread.php?tid=361956)
Removebuilding causes freezes on reconnect -
Dustly - 22.07.2012
Under my Onplayerconnect I use the removebuilldingforplayer function to remove some buildings.
If a player looses connect and reconnects it tries to remove an already removed building. This causes an annoying freeze.
How can I fix this? If I used it under ongamemodeinit() then connecting players would still see the buildings...
Please help me find a fix.
Re: Removebuilding causes freezes on reconnect -
Stigg - 22.07.2012
Try:
http://forum.sa-mp.com/showthread.ph...emove+building