Jump to content

Something to set someone as winner


Bonsai

Recommended Posts

Hey Guys,

I've created a map with gamemode race. It uses Respawn but it's not a real race map.

To make someone win the map I use setElementPosition to "teleport" that player to a checkpoint.

That works pretty good but in my opinion its not a nice solution.

I was wondering if there is any way to set someone as the winner of a map.

Is there any Event that could be triggered or something?

Would be really helpful because sometimes the winning player is not alive, so his position can't be set.

Thats why I have to check if he is actually alive and then set a timer to call the same function again.

I'm happy for any reply :)

Bonsai

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...