DoggoMaster Posted September 30, 2017 Share Posted September 30, 2017 (edited) Hi, i want to create this "arrow up and arrow down" on bottom of menu, example: https://imgur.com/b8AP4PL on c++ Edited September 30, 2017 by DoggoMaster Link to comment Share on other sites More sharing options...
alloc8or Posted September 30, 2017 Share Posted September 30, 2017 Draw the sprite "shop_arrows_upanddown" (txd is "commonmenu"). Link to comment Share on other sites More sharing options...
DoggoMaster Posted October 3, 2017 Author Share Posted October 3, 2017 thanks for reply, but i find on menya baes script like this but .. dont working DWORD dword = (DWORD)("CommonMenu"); if ((totalop > 14) && HAS_STREAMED_TEXTURE_DICT_LOADED(&dword)) { DWORD dword2 = (DWORD)"shop_arrows_upANDdown"; DWORD dword3 = (DWORD)"arrowright"; Vector3 texture_res = GET_TEXTURE_RESOLUTION(&dword, &dword2); temp = ((14.0f + 1.0f) * 0.035f) + 0.1259f; if (currentop == 1) DRAW_SPRITE(dword, dword3, 0.16f + menuPos, temp, texture_res.x / (float)screen_res_x, texture_res.y / (float)screen_res_y, 270.0f, titlebox.R, titlebox.G, titlebox.B, 255); else if (currentop == totalop) DRAW_SPRITE(dword, dword3, 0.16f + menuPos, temp, texture_res.x / (float)screen_res_x, texture_res.y / (float)screen_res_y, 90.0f, titlebox.R, titlebox.G, titlebox.B, 255); else DRAW_SPRITE(dword, dword2, 0.16f + menuPos, temp, texture_res.x / (float)screen_res_x, texture_res.y / (float)screen_res_y, 0.0f, titlebox.R, titlebox.G, titlebox.B, 255); } Link to comment Share on other sites More sharing options...