SHARE
TWEET

GTA V PC Draw Blips

a guest Jul 18th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool Menu::Toggle(const char* option, bool& b00l)
  2. {
  3.     Option(option);
  4.     if (b00l)
  5.     {
  6.         if (Settings::currentOption <= Settings::maxVisOptions && Settings::optionCount <= Settings::maxVisOptions)
  7.             Drawing::Spriter("mprankbadge", "globe", Settings::menuX + 0.095f, (Settings::optionCount * 0.035f + 0.141f), 0.02f, 0.03f, 0, 0, 255, 0, 255);
  8.         else if (Settings::optionCount > Settings::currentOption - Settings::maxVisOptions && Settings::optionCount <= Settings::currentOption)
  9.             Drawing::Spriter("mprankbadge", "globe", Settings::menuX + 0.095f, ((Settings::optionCount - (Settings::currentOption - 16)) * 0.035f + 0.141f), 0.02f, 0.03f, 0, 0, 255, 0, 255);
  10.     }
  11.     else
  12.     {
  13.         if (Settings::currentOption <= Settings::maxVisOptions && Settings::optionCount <= Settings::maxVisOptions)
  14.             Drawing::Spriter("mprankbadge", "globe", Settings::menuX + 0.095f, (Settings::optionCount * 0.035f + 0.141f), 0.02f, 0.03f, 0, 255, 0, 70, 255);
  15.         else if (Settings::optionCount > Settings::currentOption - Settings::maxVisOptions && Settings::optionCount <= Settings::currentOption)
  16.             Drawing::Spriter("mprankbadge", "globe", Settings::menuX + 0.095f, ((Settings::optionCount - (Settings::currentOption - 16)) * 0.035f + 0.141f), 0.02f, 0.03f, 0, 255, 0, 70, 255);
  17.     }
  18.     if (Settings::optionCount == Settings::currentOption && Settings::selectPressed) {
  19.         b00l ^= 1;
  20.         return true;
  21.     }
  22.     return false;
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top