Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local countdown = 10
  2. for i = 1 + 1, 10 do pUnit:RegisterEvent("CountDown", 1000, 0)
  3. end
  4.  
  5. function Countdown(pUnit, event)
  6.     countdown = countdown - 1
  7.     for _,v in pairs(GetPlayersInZone(zoneid) do
  8.         v:SendBroadcastMessage("The battle will start in countdown seconds!")
  9.     end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement