View Single Post
07/16/20, 03:10 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
You are using it wrong. One look at the ESOUIDocumentation.txt tells me that it takes a parameter "infamityAmount". Looking a few entries above, I also see a function "GetInfamity" which returns an integer, so I suppose you have to use it like so:
Lua Code:
  1. local infamyNumber = GetInfamyLevel(GetInfamy())

p.s. code questions should go into the developer forums. This one here is for addon support questions.
  Reply With Quote