• 0
Sign in to follow this  
Followers 0

Kick to Lobby on player death

Question

Posted · Report post

Any way i can make a script to kick the player to the lobby when they die? i hope this prevents players respawning too fast and respawning with all their gear on their dead body.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

how are they respawning to quick, when they have to wait a min of 10sec before they can even go to the lobby due to the log out timer?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Sounds like your server maybe lagging and not writing to the database fast enough to set the character to dead.

Which is why they are re-spawning alive with all there gear.

 

Because like 2Bravo said, you have to wait 10sec to DC back the lobby then reconnect.

Which should be plenty of time for the database to do this.

Kill there client, loading it back up again then joining would take even longer also.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Im secondly interested in this. I would still like it to have a script that will kick the player back to the lobby after 10 seconds automatically. So that way I can see who just died and sitting in the lobby. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0