View Single Post
03/17/23, 10:01 AM   #2
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Originally Posted by Shuba00 View Post
Hello,
I'm new to lua, and I was trying to create an addon, nothing to much complicated.
i wanted to detect EVENT_ZONE_CHANGED, but can't detect anything.

EVENT_MANAGER:RegisterForEvent(NiceT.name, EVENT_EVENT_ZONE_CHANGED , NiceT.OnPlayerZoneChanged)
EVENT_MANAGER:RegisterForEvent(NiceT.name, EVENT_EVENT_ZONE_CHANGED , NiceT.OnPlayerZoneU)

I'm Using this two event manager, and can't see nothing in debug window(just made a little function that when it's called does just d("Hello1") or d("hello2")
EVENT_EVENT_ZONE_CHANGED -> EVENT_ZONE_CHANGED
  Reply With Quote