I want to add a hidden item button.

07/23/2018 16:32 thetoys#1
I want to add a hidden item button.

On the mask


[Only registered and activated users can see links. Click Here To Register...]
07/23/2018 19:01 Drabur#2
use the options? where is a button to hide the mask
07/24/2018 05:03 pedala1#3
Code:
int nArryEquip[5] = { PARTS_HAT, PARTS_CLOTH, PARTS_GLOVE, PARTS_BOOTS, PARTS_CLOAK };
	for( int i = 0; i < 5; ++i )
	{
		CRect rect = m_InvenRect[nArryEquip[i]];
		rect.right = rect.left + 16;
		rect.bottom = rect.top + 16;
		m_awndCheckHide[i].Create("",WBS_CHECK,rect,this,100000+i);
		m_awndCheckHide[i].SetCheck(!g_pPlayer->m_abHideCoat[i]);
		m_awndCheckHide[i].SetVisible(g_pPlayer->GetEquipItem(nArryEquip[i]) != NULL);
	}
take that hint:D
07/24/2018 16:03 yazuka21#4
Code:
int nArryEquip[6] = { PARTS_HAT, PARTS_CLOTH, PARTS_GLOVE, PARTS_BOOTS, PARTS_CLOAK, PARTS_MASK };
	for( int i = 0; i < 6; ++i )
	{
		CRect rect = m_InvenRect[nArryEquip[i]];
		rect.right = rect.left + 16;
		rect.bottom = rect.top + 16;
		m_awndCheckHide[i].Create("",WBS_CHECK,rect,this,100000+i);
		m_awndCheckHide[i].SetCheck(!g_pPlayer->m_abHideCoat[i]);
		m_awndCheckHide[i].SetVisible(g_pPlayer->GetEquipItem(nArryEquip[i]) != NULL);
	}
07/24/2018 16:46 thetoys#5
Quote:
Originally Posted by yazuka21 View Post
Code:
int nArryEquip[6] = { PARTS_HAT, PARTS_CLOTH, PARTS_GLOVE, PARTS_BOOTS, PARTS_CLOAK, PARTS_MASK };
	for( int i = 0; i < 6; ++i )
	{
		CRect rect = m_InvenRect[nArryEquip[i]];
		rect.right = rect.left + 16;
		rect.bottom = rect.top + 16;
		m_awndCheckHide[i].Create("",WBS_CHECK,rect,this,100000+i);
		m_awndCheckHide[i].SetCheck(!g_pPlayer->m_abHideCoat[i]);
		m_awndCheckHide[i].SetVisible(g_pPlayer->GetEquipItem(nArryEquip[i]) != NULL);
	}

After I edit
Game I dropped after pressing "I"
07/25/2018 07:13 yazuka21#6
Quote:
Originally Posted by thetoys View Post
After I edit
Game I dropped after pressing "I"
It's not the full code of what you want. I just put the other changes that you can think of what you can do with __HIDE_COAT

Quote:
Originally Posted by thetoys View Post
After I edit
Game I dropped after pressing "I"
What I mean is add the PARTS_MASK on every part of the __HIDE_COATH code.