05-07-2022, 09:39 PM
32 minutes ago, rondo157 said:
I did it but i have duplicate 3 and 4 qs
2
I can't access your link, The code posted here is not complete...
|
Add extra quickslot bar
|
|
05-07-2022, 09:39 PM
32 minutes ago, rondo157 said: I did it but i have duplicate 3 and 4 qs 2 I can't access your link, The code posted here is not complete...
05-07-2022, 10:05 PM
A question about the ps.dat editor does anyone have this editor for me and can make it available? I would be very grateful
05-07-2022, 10:24 PM
24 minutes ago, rondo157 said: 2 CUIChildQuickSlot::CUIChildQuickSlot(int nid) : m_abtnItems(NULL), m_bIsInside(FALSE) { m_nID = nid; m_bRotation[0] = &g_bQuickSlot1HorOrVer; m_bRotation[1] = &g_bQuickSlot2HorOrVer; m_bLock[0] = &g_bQuickSlot1Lock; m_bLock[1] = &g_bQuickSlot2Lock; // NICOLASG MARK (QUICKSLOT) m_bRotation[2] = &g_bQuickSlot3HorOrVer; m_bLock[2] = &g_bQuickSlot3Lock; // NICOLASG MARK (QUICKSLOT) // NICOLASG MARK (QUICKSLOT) OG: /*if (m_nID == UI_QUICKSLOT2) m_nCurSlot = 0; else m_nCurSlot = 1;*/ // NICOLASG MARK (QUICKSLOT) NEW: if (m_nID == UI_QUICKSLOT2) m_nCurSlot = 0; else if (m_nID == UI_QUICKSLOT3) m_nCurSlot = 1; else m_nCurSlot = 2; // NICOLASG MARK (QUICKSLOT) END m_bEXSlot1On = FALSE; m_bEXSlot2On = FALSE; m_bEXSlot3On = FALSE; // NICOLASG MARK (QUICKSLOT) m_nSelSlotBtnID = -1; m_nStartX = 0; m_nStartY = 0; } maybe this?
05-07-2022, 10:27 PM
05-07-2022, 11:41 PM
thx /index.php?/profile/14423-nicolasg/&do=hovercard" data-mentionid="14423" href="/index.php?/profile/14423-nicolasg/" rel="">@nikolausg
05-09-2022, 01:58 AM
You need to work on this piece of code. Otherwise, you have everything right. if (bResultView) { nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? -1 : 1) : 0; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? -1 : 1) : 0; } else { nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? 1 : 0) : -1; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? 1 : 0) : -1; }
05-09-2022, 02:02 AM
1 minute ago, flyfox20013 said: You need to work on this piece of code. Otherwise, you have everything right. if (bResultView) { nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? -1 : 1) : 0; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? -1 : 1) : 0; } else { nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? 1 : 0) : -1; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? 1 : 0) : -1; } yep, after search about ? : operators it was easy ^^
05-09-2022, 02:04 AM
I should have visited the forum earlier ?
05-10-2022, 07:31 PM
On 5/9/2022 at 5:02 AM, nicolasg said: yep, after search about ? : operators it was easy ^^ can u upload all files what u changed? |
|
« Next Oldest | Next Newest »
|