Newbie Spellweaver
- Joined
- Nov 9, 2013
- Messages
- 65
- Reaction score
- 48
re: "Show It Off" thread aka "Strut your Stuff"
Lol, this mod keeps deleting my posts, as soon as they dont like them.
Anyways, here it is, took me more than 3 minutes :/, im ashamed of myself:
If you want to get the clan color from its ID, since its hardcoded anyway, you can use this:
Lol, this mod keeps deleting my posts, as soon as they dont like them.
Anyways, here it is, took me more than 3 minutes :/, im ashamed of myself:
If you want to get the clan color from its ID, since its hardcoded anyway, you can use this:
Code:
const char* getclancolor(int colorid){
switch (colorid)
{
default: return "#FFFF00";
case 1: return "#AA0000";
case 2: return "#A6780C";
case 3: return "#10A49E";
case 4: return "#20A414";
case 5: return "#104EA4";
case 6: return "#9610A4";
case 7: return "#444444";
case 8: return "#A4A4A4";
}
}