Eluna
Eluna copied to clipboard
Add OnExploreNewArea
A hook for when a player explores an area for the first time.
local function OnExploreNewArea(event, player, areaid) print(player:GetName()..' explored '..GetAreaName(areaid)) end RegisterPlayerEvent(44, OnExploreNewArea)
From where in the core is this intended to be triggered from?
Added here
https://github.com/ElunaLuaEngine/Eluna/commit/89d4c1da8bd8d8a1bc82438f69e9ca33268427a4