CheatMenuSA/src/ped.h

64 lines
2.2 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
#include "pch.h"
2021-09-20 08:41:40 -04:00
2020-12-02 16:19:16 -05:00
class Ped
{
private:
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2022-01-07 03:18:00 -05:00
static inline bool m_bExGangWarsInstalled;
static inline bool m_bBigHead;
static inline bool m_bThinBody;
static inline std::vector<std::string> m_GangList =
{
"Ballas", "Grove street families", "Los santos vagos", "San fierro rifa",
"Da nang boys", "Mafia", "Mountain cloud triad", "Varrio los aztecas", "Gang9", "Gang10"
};
2021-08-07 12:01:44 -04:00
#endif
2022-01-07 03:18:00 -05:00
struct m_SpawnPed
{
static inline std::vector<CPed*> m_List;
static inline int m_nAccuracy = 50;
static inline int m_nPedHealth = 100;
static inline bool m_bPedMove;
static inline bool m_bPedBleed;
static inline int m_nSelectedPedType;
static inline int m_nWeaponId;
static inline std::string m_nWeaponName = "None";
static inline std::vector<std::string> m_PedTypeList =
{
2021-08-09 14:26:49 -04:00
#ifdef GTASA
2022-01-07 03:18:00 -05:00
"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"
2021-08-09 14:26:49 -04:00
#elif GTAVC
2022-01-07 03:18:00 -05:00
"Civ Male", "Civ Female", "Cop (crash)", "Cubans", "Haitians", "Streetwannabe's", "Diaz' Gang",
"Security Guards", "Biker Gang", "Vercetti Gang", "Golfers", "Gang 9", "Emergency",
"Fireman", "Criminal", "Unused", "Prostitute", "Special"
#else
"Civ Male", "Civ Female", "Cop", "Leones", "Triads", "Diablos", "Yakuza", "Yardies", "Colombians",
"Hoods", "unused", "unused", "Emergency", "Fireman", "Criminal", "unused", "Prostitute", "Special"
2021-08-09 14:26:49 -04:00
#endif
2022-01-07 03:18:00 -05:00
};
};
2020-12-02 16:19:16 -05:00
#ifdef GTASA
static void SpawnPed(std::string& model);
static void BigHeadEffect(CPed *ped);
#else
static void SpawnPed(std::string& cat, std::string& name, std::string& model);
#endif
public:
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2022-01-07 03:18:00 -05:00
static inline CJson m_SpecialPedJson = CJson("ped special");
static inline ResourceStore m_PedData{"ped", eResourceType::TYPE_BOTH, ImVec2(65, 110)};
#else
static inline ResourceStore m_PedData {"ped", eResourceType::TYPE_TEXT};
2021-08-07 12:01:44 -04:00
#endif
2021-09-20 08:41:40 -04:00
2022-01-07 03:18:00 -05:00
Ped();
~Ped();
2022-01-20 02:04:45 -05:00
static void ShowPage();
2020-12-02 16:19:16 -05:00
};