-
Posted by naptor on Tue, 11 Aug 2009 14:43:32
hi i have just maked my addon
end Author : Naptor
-- Create Date : 8/10/2009 6:42:18 PM function helloWorldFrame_OnLoad() frame:RegisterEvent ("PLAYER_TARGET_CHANGED"); end function helloWorldFrame_OnEvent() if (event == "PLAYER_TARGET_CHANGED") then if UnitExists then messageAddon:SetText ("Hello " .. Unitname ("Target") .. "!"); end end end function Closebutton_OnClick() helloWorldFrame.Hide(); end
But when i but it in my wow folder but it dont shows in addon list (ingame)