CheatMenuSA/CheatMenu/Ped.h

50 lines
1.5 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
#include "Player.h"
#include "Weapon.h"
class Ped
{
private:
2021-03-02 14:18:37 -05:00
inline static ImGuiTextFilter filter = "";
inline static std::string selected_item = "All";
inline static std::vector<std::string> search_categories;
inline static std::vector<std::unique_ptr<TextureStructure>> peds_vec;
inline static bool images_loaded = false;
2020-12-02 16:19:16 -05:00
2021-03-02 14:18:37 -05:00
inline static CJson ped_json = CJson("ped");
inline static CJson pedspecial_json = CJson("ped special");
2020-12-02 16:19:16 -05:00
2021-03-02 14:18:37 -05:00
inline static std::vector<std::string> gang_names =
{
"Ballas", "Grove street families", "Los santos vagos", "San fierro rifa",
"Da nang boys", "Mafia", "Mountain cloud triad", "Varrio los aztecas", "Gang9", "Gang10"
};
inline static bool exgangwars_installed = false;
inline static int ped_remove_radius = 5;
2020-12-02 16:19:16 -05:00
struct spawn_ped {
2021-03-02 14:18:37 -05:00
inline static std::vector<CPed*> list;
inline static int accuracy = 50;
inline static int health = 100;
inline static bool dont_move = false;
inline static bool ped_bleed = false;
inline static std::vector<std::string> ped_type =
{
"Civ male","Civ female","Cop","Ballas","Grove Street Families","Los Santos Vagos",
"San Fierro Rifa","Da Nang Boys","Mafia","Mountain Cloud Triads","Varrio Los Aztecas",
"Gang 9","Medic","Dealer","Criminal","Fireman","Prostitute"
};
inline static int selected_ped_type;
inline static int weapon_id = 0;
2020-12-02 16:19:16 -05:00
};
friend class Player;
friend class Weapon;
public:
Ped();
~Ped();
2021-02-24 16:54:45 -05:00
static void Draw();
2020-12-02 16:19:16 -05:00
static void SpawnPed(std::string& model);
};