mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement and match CPlayerPed::HideMarker()
This commit is contained in:
parent
cf591f0fb8
commit
492705d035
@ -25,7 +25,7 @@ CPlayerPed::CPlayerPed()
|
|||||||
|
|
||||||
field_2A8 = 1;
|
field_2A8 = 1;
|
||||||
field_2AC = 1;
|
field_2AC = 1;
|
||||||
field_2CD = 0;
|
m_dwArrow = 0;
|
||||||
field_2B9 = 0;
|
field_2B9 = 0;
|
||||||
field_2F2 = 0;
|
field_2F2 = 0;
|
||||||
field_2D2 = 0;
|
field_2D2 = 0;
|
||||||
@ -147,6 +147,14 @@ int CPlayerPed::GetCurrentVehicleID()
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
void CPlayerPed::HideMarker()
|
||||||
|
{
|
||||||
|
if (m_dwArrow) ScriptCommand(&disable_marker, m_dwArrow);
|
||||||
|
m_dwArrow = NULL; // Just make sure
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
||||||
{
|
{
|
||||||
if(!m_pPed) return;
|
if(!m_pPed) return;
|
||||||
|
@ -24,6 +24,7 @@ public:
|
|||||||
CAMERA_AIM * GetCurrentAim();
|
CAMERA_AIM * GetCurrentAim();
|
||||||
void SetCurrentAim(CAMERA_AIM *pAim);
|
void SetCurrentAim(CAMERA_AIM *pAim);
|
||||||
|
|
||||||
|
void HideMarker();
|
||||||
BYTE GetCurrentWeapon();
|
BYTE GetCurrentWeapon();
|
||||||
int GetCurrentVehicleID();
|
int GetCurrentVehicleID();
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ public:
|
|||||||
int field_2C1;
|
int field_2C1;
|
||||||
int field_2C5;
|
int field_2C5;
|
||||||
int field_2C9;
|
int field_2C9;
|
||||||
int field_2CD;
|
DWORD m_dwArrow;
|
||||||
|
|
||||||
char _gap2D1;
|
char _gap2D1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user