View Single Post
02-04-15, 12:05 AM   #4
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Originally Posted by Choonstertwo View Post
lua Code:
  1. ntex:SetVertexColor("color_normal")

You're passing a string to SetVertexColor instead of the RGBA values it expects.

This is what you want:
lua Code:
  1. ntex:SetVertexColor(unpack(color_normal))

This unpacks the color_normal table into the four numbers expected by SetVertexColor.
Ah it's a
I missed another stupid thing. Or I really did forget how to do stuff lua or rather in general.
type of thing then....

(I feel like Phanx is avoiding me now...)
__________________
Tweets YouTube Website
  Reply With Quote