0x32789
Expert
Hi guys I added ATB into sobiet now..
Whenever I toggle on the bars the s0b player names and hp is fucked up, look at those SS:
Before enable:
After enable:
If I toggle Bars off then it fixes, How should I fix this?
This is my Tw_Init and Tw_ToggleMaiNBar
Whenever I toggle on the bars the s0b player names and hp is fucked up, look at those SS:
Before enable:
After enable:
If I toggle Bars off then it fixes, How should I fix this?
This is my Tw_Init and Tw_ToggleMaiNBar
Code:
void TwFuncs_Init(void *device, int __res[2])
{
TwInit(TW_DIRECT3D9, device); // DirectX 9 :)
TwWindowSize(__res[0], __res[1]);
iBar[0] = TwNewBar("Main");
TwDefine(" Main label='[#>- Project Fuego -<#]' color='0 183 255' alpha='128' size='450 450' valueswidth=fit resizable=true moveable=true");
TwAddButton(iBar[0], "show_cmds", btn_ShowCmds, NULL, " label='Show Commands' ");
}
void TwFuncs_ToggleMainBar() // I also have one more thing to ask, Whenever I minimize the bar how to make it come back? visible=true dosent work.. as far as I know it will only toggle it off and on.
{
set.bar_show ^= 1;
if(set.bar_show == 1)
{
TwDefine(" Main visible=true");
toggleATBCursor (true);
}
else
toggleATBCursor (false);
}