Quantcast

Jump to content

» «
Photo

"shop_arrows_upanddown" gta 5 c++

2 replies to this topic
DoggoMaster
  • DoggoMaster

    Player Hater

  • Members
  • Joined: 4 weeks ago
  • Poland

#1

Posted A week ago

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);
 
}
 
what os bad on this code ? i want to create this arrows on the bottom of menu. thanks

DankChaos
  • DankChaos

    Player Hater

  • Members
  • Joined: 17 Oct 2015
  • United-States

#2

Posted 4 days ago Edited by DankChaos, 4 days ago.

That looks like mafins code, you need to code it the way your menu is coded, basically if you know what I mean but I can help you.

you got discord?


DoggoMaster
  • DoggoMaster

    Player Hater

  • Members
  • Joined: 4 weeks ago
  • Poland

#3

Posted 4 days ago

Yes, add me RainbowDoggo#4310





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users