buttons and textures (a pro post on getting help) (from Phanx) (#needsalife))
DISCLAIMER! (In big red text!)
I'm really really really bored! So I attempted to make a good post for Phanx's sake Anyways: I feel like my buttons are screwed up somewhere >.> or I missed another stupid thing. Or I really did forget how to do stuff lua or rather in general. Phanx (or someone else ;) ) please point out the error in my ways! all my buttons are the same texture even though they should be diffeent colors! code (because I'm a good OP like that!) Lua Code:
TL;DR I need to go to bed and get some sleep been up for well over 48 hours at this point..... |
for a more common style help post
Quote:
|
lua Code:
You're passing a string to SetVertexColor instead of the RGBA values it expects. This is what you want: lua Code:
This unpacks the color_normal table into the four numbers expected by SetVertexColor. |
Quote:
Quote:
(I feel like Phanx is avoiding me now...) |
Quote:
|
All times are GMT -6. The time now is 12:51 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI