Jump to content

SpawnPlayer function


Recommended Posts

So I decided to write my own death handler script. While I was checking useful functions at wiki I saw that spawnPlayer is bugged and I cant use it with onPlayerWasted event.

So how can i script a death handler without onPlayerWasted event?

It is simply going to spawn the player to the spesified location. I am using latest 1.4 night build

Link to comment

The wiki said

Do not use spawnPlayer within an event handler remotely called from onClientPlayerWasted.

So, don't worry. You should be doing well unless you use onClientPlayerWasted to call a spawnPlayer function (which is kinda pointless nowadays); onPlayerWasted has no issues.

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...