View Single Post
11-20-22, 03:24 AM   #3
Ebmor
A Murloc Raider
Join Date: Oct 2014
Posts: 9
Modify NxUI.lua (add "tonumber" to functions "Nx.Util_str2rgba" and "Nx.Util_str2rgb"):

Code:
  function Nx.Util_str2rgba (colors)
    local arr = { Nx.Split("|",colors) }
    return tonumber(arr[1]), tonumber(arr[2]), tonumber(arr[3]), tonumber(arr[4])
  end

  function Nx.Util_str2rgb (colors)
    local arr = { Nx.Split("|",colors) }
    return tonumber(arr[1]), tonumber(arr[2]), tonumber(arr[3])
  end

Last edited by Ebmor : 11-20-22 at 03:27 AM.
  Reply With Quote