Originally Posted by Jyces
I am having huge problems with this addon. Everytime I try to input the code into the addon LUA file (ex. CreateBorder(SUFunitplayer, 12, r, g, b, 1, 1, 1, 1, 1, 1, 1, 1), the addon I am trying to get a border around completely disappears after refreshing the game (using /reload).
|
I think you may be passing incorrect arguments to the function.
r, g & b need to be values. And because your corners are all the same you can condense it.
Try:
local r, g, b = 1,1,1
CreateBorder(SUFUnitplayer, 12, r, g, b, 1)