Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function deathTimer()
- player=source
- setTimer(deathHandler,5000,1,player) --https://wiki.multitheftauto.com/wiki/SetTimer
- end
- local spawnX, spawnY, spawnZ = 133.78814697266, -35.417057037354, 1.578125
- function deathHandler(player)
- spawnPlayer(player, spawnX, spawnY, spawnZ)
- fadeCamera(player, true)
- setCameraTarget(player, player)
- outputChatBox("And... BAM, you're back!", player)
- end
- addEventHandler("onPlayerWasted", getRootElement(), deathTimer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement