Originally Posted by stjobe
|
I know. But why is he writing:
Code:
local function OnTrackStateChanged(questTracker, tracked, trackType, arg1, arg2)
if tracked then
d("A quest was tracked")
else
d("A quest was untracked")
end
end
CALLBACK_MANAGER:RegisterCallback("QuestTrackerTrackingStateChanged", OnTrackStateChanged)
isntead of:
Code:
local function OnTrackStateChanged(questTracker, tracked, trackType, arg1, arg2)
end
CALLBACK_MANAGER:RegisterCallback("QuestTrackerTrackingStateChanged", OnTrackStateChanged)