mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
7 lines
No EOL
169 B
Lua
7 lines
No EOL
169 B
Lua
local PLAYER_EVENT_ON_LOGIN = 3
|
|
|
|
local function OnLogin(event, player)
|
|
player:SendBroadcastMessage("Hello!")
|
|
end
|
|
|
|
RegisterPlayerEvent(PLAYER_EVENT_ON_LOGIN, OnLogin) |