Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
Is there a way to disable that the player will respawn after he dies? I'm trying to set his position to where he died and apply an animation but the player respawns shortly after. I'm pretty sure i've seen it on a few RP servers before.
Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
Nah, your code only makes him spawn on his previous position after he dies and respawns.
Posts: 540
Threads: 107
Joined: Sep 2014
Reputation:
0
There's nothing wrong with code.
Your code from OnPlayerSpawn() it's problem.
If it's teleporting them to position after dies, then it's ok, you asked for this. But if he got respawned after this it's from your codes.
So, check your OnPlayerSpawn() codes and try to solve problem.