When I use this in my code,
Code:
ObjectManager.Me.Target.ToString("X");
my code, I get an error.
Code:
ObjectManager.Memory.WriteFloat(CTM_GUID, ObjectManager.Me.Target.ToString("X"));
ObjectManager.Memory.WriteFloat(CTM_Type, Loot);
My error is (The Best overloaded method match for 'Magic.BlackMagic.WriteFloat(uint,float)' has some invalid arguments)
I know it should be something like,
Code:
ObjectManager.Memory.WriteString(....
but that does not work. So my question would be how do I send the targets GUID in hex to CTM so it can loot it.
Thanks for all the help! +Rep