[saco] Implement/match CPlayerPed::IsCellphoneEnabled()

This commit is contained in:
RD42 2024-11-02 23:03:33 +08:00
parent 4039572cbc
commit 25f2999e3f
2 changed files with 8 additions and 0 deletions

View File

@ -1310,6 +1310,13 @@ void CPlayerPed::ToggleCellphone(int iOn)
//-----------------------------------------------------------
int CPlayerPed::IsCellphoneEnabled()
{
return m_iCellPhoneEnabled;
}
//-----------------------------------------------------------
void CPlayerPed::ProcessVehicleHorn()
{
if(!m_pPed) return;

View File

@ -115,6 +115,7 @@ public:
void DestroyFollowPedTask();
void ToggleCellphone(int iOn);
int IsCellphoneEnabled();
BOOL IsJumping();
BOOL IsFighting();