diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index 7f0438f..00f8b81 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -1310,6 +1310,13 @@ void CPlayerPed::ToggleCellphone(int iOn) //----------------------------------------------------------- +int CPlayerPed::IsCellphoneEnabled() +{ + return m_iCellPhoneEnabled; +} + +//----------------------------------------------------------- + void CPlayerPed::ProcessVehicleHorn() { if(!m_pPed) return; diff --git a/saco/game/playerped.h b/saco/game/playerped.h index 33c384e..8bd4664 100644 --- a/saco/game/playerped.h +++ b/saco/game/playerped.h @@ -115,6 +115,7 @@ public: void DestroyFollowPedTask(); void ToggleCellphone(int iOn); + int IsCellphoneEnabled(); BOOL IsJumping(); BOOL IsFighting();