mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
Add files via upload
This commit is contained in:
12
EventAnnounce.lua
Normal file
12
EventAnnounce.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local eventRegistered = false
|
||||
|
||||
local function SendWorldAnnouncement(eventid)
|
||||
if eventid == 17 then
|
||||
SendWorldMessage("The Lich King has sent forth his forces to attack the people of Azeroth. Quickly adventurers, defend your cities!")
|
||||
end
|
||||
end
|
||||
|
||||
if not eventRegistered then
|
||||
RegisterServerEvent(17, SendWorldAnnouncement)
|
||||
eventRegistered = true
|
||||
end
|
||||
Reference in New Issue
Block a user