//SEQUENCE_RELOAD=2, SEQUENCE_DIE=3, SEQUENCE_THROW=4, SEQUENCE_ARM_C4=5
int atype = Cstrike_SequenceInfo[vPlayers[ax].ent->curstate.sequence];
if(atype == 2 || atype == 4 || atype == 5){
// "%1.2f%",(vPlayers[ax].ent->curstate.frame/255)*100.0f);
//max is 255, so divide by 5 to get 0-51 with 25 on either side and 26 in the middle
//int x, int y, int width, int height, int r, int g, int b, int a
oglSubtractive=true;
gEngfuncs.pfnFillRGBA(vecScreen[0]-26,vecScreen[1]+tempy+1,53,12,0,0,0,250);
oglSubtractive=false;
gEngfuncs.pfnFillRGBA(vecScreen[0]-25,vecScreen[1]+tempy+2,(vPlayers[ax].ent->curstate.frame/255)*50,10,r,g,b,255);
tempy+=16;
}
if needed.............
int Cstrike_SequenceInfo[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0..9
0, 1, 2, 0, 1, 2, 0, 1, 2, 0, // 10..19
1, 2, 0, 1, 1, 2, 0, 1, 1, 2, // 20..29
0, 1, 2, 0, 1, 2, 0, 1, 2, 0, // 30..39
1, 2, 0, 1, 2, 0, 1, 2, 0, 1, // 40..49
2, 0, 1, 2, 0, 0, 0, 4, 0, 4, // 50..59
0, 5, 0, 5, 0, 0, 1, 1, 2, 0, // 60..69
1, 1, 2, 0, 1, 0, 1, 0, 1, 2, // 70..79
0, 1, 2, 3, 3, 3, 3, 3, 3, 3, // 80..89
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 90..99
3
};