231 Posted August 10, 2018 Author Posted August 10, 2018 2 hours ago, KINGKHAN said: Respawn demek istiyorsun? 2 hours ago, KINGKHAN said: You mean respawn ? Yes,but back to where died
Mahlukat Posted August 10, 2018 Posted August 10, 2018 try this addEventHandler("onPlayerWasted", root, function() local x,y,z = getElementPosition(source) spawnPlayer(source,x,y,z) end
VenomOG Posted August 13, 2018 Posted August 13, 2018 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 Pirulax Posted August 13, 2018 Discord Moderators Posted August 13, 2018 addEventHandler("onPlayerWasted", root, function() spawnPlayer(source,getElementPosition(source)) end You don't even need variables.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now