CheatMenuSA/src/Ped.h

54 lines
1.4 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
#include "Player.h"
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2020-12-02 16:19:16 -05:00
#include "Weapon.h"
2021-08-07 12:01:44 -04:00
#endif
2020-12-02 16:19:16 -05:00
class Ped
{
private:
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2021-06-18 12:49:11 -04:00
inline static CJson m_SpecialPedJson = CJson("ped special");
2021-08-07 12:01:44 -04:00
#endif
inline static SSearchData m_PedData{"ped"};
2021-06-18 12:49:11 -04:00
inline static bool m_bImagesLoaded;
inline static bool m_bExGangWarsInstalled;
inline static int m_nPedRemoveRadius = 5;
struct m_SpawnPed
2021-06-17 09:00:32 -04:00
{
2021-06-18 12:49:11 -04:00
inline static std::vector<CPed*> m_List;
inline static int m_nAccuracy = 50;
inline static int m_nPedHealth = 100;
inline static bool m_bPedMove;
inline static bool m_bPedBleed;
inline static int m_nSelectedPedType;
inline static int m_nWeaponId;
inline static std::vector<std::string> m_PedTypeList =
{
"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-03-02 14:18:37 -05:00
};
};
2021-06-18 12:49:11 -04:00
inline static std::vector<std::string> m_GangNames =
{
"Ballas", "Grove street families", "Los santos vagos", "San fierro rifa",
"Da nang boys", "Mafia", "Mountain cloud triad", "Varrio los aztecas", "Gang9", "Gang10"
2020-12-02 16:19:16 -05:00
};
friend class Player;
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2020-12-02 16:19:16 -05:00
friend class Weapon;
2021-08-07 12:01:44 -04:00
#endif
2020-12-02 16:19:16 -05:00
public:
Ped();
~Ped();
2021-02-24 16:54:45 -05:00
static void Draw();
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2020-12-02 16:19:16 -05:00
static void SpawnPed(std::string& model);
2021-08-07 12:01:44 -04:00
#elif GTAVC
static void SpawnPed(std::string& cat, std::string& name, std::string& model);
#endif
2020-12-02 16:19:16 -05:00
};