Login
Hello, thank you for your contribution. I encountered a problem. After the player logs in and is teleported to the last position, he will take damage. what is the problem?
Reply
Thanks given by:
I'm not receiving any damage when logging in. Are you perhaps in the air or something while logging out?
Reply
Thanks given by:
(02-18-2021, 07:31 PM)NiLSPACE Wrote: I'm not receiving any damage when logging in. Are you perhaps in the air or something while logging out?

It should be because I was too close to the wall. After logging in again, I was stuck on the wall and then died.

I added the code a_Player:SetInvulnerableTicks(3) before teleported, solved this problem.
Reply
Thanks given by:
Sorry for the late reply, I've been a bit busy with work. Could you create a pull request for that? I suspect others would like to not die as well Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)