Class Selection Bug
#1

So I added a Death System in my Gamemode with /acceptdeath, no errors or anything else. But the problem is when I kill myself, It shows me a class selection with the CJ skin and you can't change it. When I click "Spawn" than It puts me in my last position and let's me type /acceptdeath. How do I disable the class selection after death in Gamemode ?
Reply
#2

You will have to make a fake death. So under OnPlayerDeath(), set the players health to 101 and then give him the message for acceptdeath command. But you will have to use a variable so that the player after using the acceptdeath command doesn't again set back his health to 101.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)