Code:
void ExperTHackArrowList (int xxx, yyy int, char * Text, MaxOpt int, int & VariavelNome, char ** Opt, LPDIRECT3DDEVICE9 pDevice)
{
DrawBorder (xxx - 4, yyy - 3,12,10,1, White, pDevice);
DrawBorder (xxx + 187, yyy - 3,12,10,1, White, pDevice);
PrintText (Directx_Font, + 12 xxx, yyy - 5, Red, Text);
PrintText (Directx_Font, xxx, yyy - 5, Red, "<");
PrintText (Directx_Font, xxx + 190, yyy - 5, Red, ">");
if (MouseIsOver (xxx, yyy - 5,10,10) && GetAsyncKeyState (VK_LBUTTON) & 1)
{
if (VariavelNome> 0)
VariavelNome--;
}
if (MouseIsOver (190 + xxx, yyy, 10.10) && GetAsyncKeyState (VK_LBUTTON) & 1)
{
if (VariavelNome <MaxOpt)
VariavelNome++;
}
if (VariavelNome> 0)
{
DrawFunction (pDevice, + 170 xxx, yyy - 5, Green, Opt [VariavelNome]);
Else } {
DrawFunction (pDevice, + 170 xxx, yyy - 5, Red, Opt [VariavelNome]);
}
}
Credit: