2024-10-24 22:24:40 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
|
|
|
|
class CActorPed : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
2024-10-24 22:25:48 +08:00
|
|
|
|
2024-10-24 22:24:40 +08:00
|
|
|
// Constructor/Destructor.
|
|
|
|
CActorPed(int iSkin, float fPosX, float fPosY, float fPosZ, float fRotation = 0.0f);
|
2024-10-24 22:26:18 +08:00
|
|
|
virtual ~CActorPed();
|
2024-10-24 22:24:40 +08:00
|
|
|
|
2024-10-24 22:25:48 +08:00
|
|
|
void Destroy();
|
|
|
|
|
2024-10-25 23:44:31 +08:00
|
|
|
void SetTargetRotation(float fRotation);
|
2024-10-24 22:27:06 +08:00
|
|
|
float GetHealth();
|
2024-10-25 23:47:29 +08:00
|
|
|
void SetHealth(float fHealth);
|
2024-10-24 22:29:46 +08:00
|
|
|
float GetArmour();
|
2024-10-24 22:30:11 +08:00
|
|
|
void SetArmour(float fArmour);
|
2024-10-30 18:08:31 +08:00
|
|
|
DWORD GetStateFlags();
|
2024-10-24 22:25:48 +08:00
|
|
|
|
2024-10-25 23:47:29 +08:00
|
|
|
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
|
|
|
|
int opt1, int opt2, int opt3, int opt4, int iUnk);
|
2024-10-25 23:43:59 +08:00
|
|
|
void ClearAnimations();
|
|
|
|
|
|
|
|
|
2024-10-24 22:24:40 +08:00
|
|
|
PED_TYPE *m_pPed;
|
|
|
|
DWORD m_dwMarkerID;
|
|
|
|
DWORD m_dwArrow;
|
|
|
|
BYTE m_byteCreateMarker;
|
|
|
|
BYTE m_byteImmune;
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------
|