Instead of Starting a new Thread i figured i would ust add another question here.
i'm tying to now move the player frame down (in .lua i know i can do it in-game but i would rather have everyone at the same spot) so here are a few codes i have found online but none seems to move it besides one and if i get into a vehicle then it dont reset back to were i had it.
First code:
(works for the most part)
Code:
hooksecurefunc("PlayerFrame_ResetPosition", function(self)
self:ClearAllPoints()
self:SetPoint("TOPLEFT", -19, -20)
end)
2nd code:
(does not work)
Code:
PlayerFrame:ClearAllPoints()
PlayerFrame:SetPoint("TOPLEFT", -19, -20)
3rd code:
(this one moves my targetframe but will not move the playerframe)
Code:
local pf = PlayerFrame
pf:ClearAllPoints()
pf:SetPoint("TOPLEFT", -19, -20)
So here i be with 3 codes and none accually work correctly. I know 2 of them are pretty much the same thing but hey cant blame me for trying.
Thanks for anyhelp with this.
Coke