DarkDracoon

Untitled

Jun 15th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. tfm.exec.disableAutoNewGame(true)
  2. tfm.exec.disableAutoTimeLeft(true)
  3. tfm.exec.disableAllShamanSkills(true)
  4. tfm.exec.disableAfkDeath(true)
  5. tfm.exec.disableAutoShaman(true)
  6. tfm.exec.newGame("@5126266")
  7. tfm.exec.setShaman("Plinceeeza")
  8. tfm.exec.setGameTime(36000)
  9.  
  10.  
  11. tfm.exec.setUIMapName("Cinemirk V 0.1")
  12.  
  13. pergunta="Quer comprar seu ingresso agora ?"
  14.  
  15. for p in pairs(tfm.get.room.playerList) do
  16. ui.addPopup(0, 1, ""..pergunta.."", p, 200, 100, 400, true)
  17. end
  18.  
  19. function eventPopupAnswer(id, p, a)
  20. if a == "yes" then
  21. print("<V>["..p.."]<N> respondeu:<VP> sim")
  22. tfm.exec.movePlayer(p, 630, 400, false, 1, 1, false)
  23. elseif a == "no" then
  24. print("<V>["..p.."]<N> respondeu:<R> não")
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment