That error shouldn't be possible, is this on the live version of the game?
Regardless, just add "if c then ... end" around both of your SetVertexColor lines, and put "local" in front of "c = RAID_CLASS_COLORS" because there's no reason for that to be global.
|