public static bool ButtonPressed(int Button, int clientIndex )
{
if (BitConverter.ToInt16(DEX.GetBytes(0x38FA1A52 + ((uint)clientIndex), 2), 0) == Button)
return true;
else return false;
}
then use
if (Buttons.ButtonPressed(Buttons.DpadUp, i) && MenuOpen == false && IsVerified == true)
{
}
to open the menu.
(I expect you to change it to how yo have it but the initial function is there, it works like a charm for me)