SA-MP Forums Archive
RemoveBuildingForPlayer - 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: RemoveBuildingForPlayer (/showthread.php?tid=584123)



RemoveBuildingForPlayer - Puppy - 02.08.2015

Hello.

RemoveBuildingForPlayer as we all know is very unstable when it comes to a reconnecting client, so I am wondering if there is actually a reliable way to prevent RemoveBuildingForPlayer from crashing players if they reconnect without reloading the client.


Re: RemoveBuildingForPlayer - xVIP3Rx - 02.08.2015

I don't think I encountered this before but,
I would save the second he left and if he joined within(let's say a minute) I'll prevent removing the building again.


Re: RemoveBuildingForPlayer - Stanford - 02.08.2015

Where do you put your removebuilding functions? I recommend adding them once the player actually logged in.