Jump to content

Death


231

Recommended Posts

Posted
2 hours ago, KINGKHAN said:

Respawn demek istiyorsun? 

 

2 hours ago, KINGKHAN said:

You mean respawn ? 

Yes,but back to where died

Posted

Try 
 

addEventHandler("onPlayerWasted", root, function()
	local x,y,z = getElementPosition(source)
    outputChatBox("You have died now respawned to your death location",source,255,0,0)
	spawnPlayer(source,x,y,z)
end

@231

  • Discord Moderators
Posted
addEventHandler("onPlayerWasted", root, function()
	spawnPlayer(source,getElementPosition(source))
end

You don't even need variables.

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