CheatMenuSA/src/Weapon.h
Grinch_ 39c61520a1 More weapon options & bug fixes
1. Fixed menu being unopenable when game speed increased
2. Improved sync system time
3. Fixed player model being broken when using ped model
4. Fixed car being spawned buried in some cases
5. Added more weapon options
2020-12-29 02:12:40 +06:00

40 lines
833 B
C++

#pragma once
#include "Ped.h"
class Weapon
{
private:
static ImGuiTextFilter filter;
static std::string selected_item;
static std::vector<std::string> search_categories;
static std::vector<std::unique_ptr<TextureStructure>> weapon_vec;
static CJson weapon_json;
static bool auto_aim;
static bool fast_reload;
static bool huge_damage;
static bool long_range;
static bool rapid_fire;
static bool dual_weild;
static bool move_aim;
static bool move_fire;
static int ammo_count;
static uchar cur_weapon_slot;
static int selected_gang;
static int selected_weapon_count;
static int cur_weapon;
static int gang_weapons[10][3];
friend class Ped;
public:
Weapon();
~Weapon();
static void Main();
static void GiveWeaponToPlayer(std::string& weapon_type);
static void SetGangWeapon(std::string& weapon_type);
};