Advertisement
NanoBob

Tiger'sJunk

Mar 25th, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function deathTimer()
  2.     player=source
  3.     setTimer(deathHandler,5000,1,player)    --https://wiki.multitheftauto.com/wiki/SetTimer
  4. end
  5.  
  6. local spawnX, spawnY, spawnZ = 133.78814697266, -35.417057037354, 1.578125
  7. function deathHandler(player)
  8.     spawnPlayer(player, spawnX, spawnY, spawnZ)
  9.     fadeCamera(player, true)
  10.     setCameraTarget(player, player)
  11.     outputChatBox("And... BAM, you're back!", player)
  12. end
  13. addEventHandler("onPlayerWasted", getRootElement(), deathTimer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement