diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index 3afe826..15ffddd 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -1245,6 +1245,28 @@ BOOL CPlayerPed::IsDancing() return FALSE; } +//----------------------------------------------------------- +// drunk level, driven from the net layer and read by the blur overlay + +int CPlayerPed::sub_100ADFA0() +{ + return field_2C9; +} + +//----------------------------------------------------------- + +void CPlayerPed::FUNC_100ADFB0(int iLevel) +{ + field_2C9 = iLevel; +} + +//----------------------------------------------------------- + +int CPlayerPed::FUNC_100ADC90() +{ + return field_2C1; +} + //----------------------------------------------------------- void CPlayerPed::ProcessMarkers(BOOL bMarkerStreamingEnabled, float fMarkerStreamRadius, BOOL bVisible) diff --git a/saco/game/playerped.h b/saco/game/playerped.h index 110d142..44665b8 100644 --- a/saco/game/playerped.h +++ b/saco/game/playerped.h @@ -112,6 +112,8 @@ public: CPlayerPed(); int sub_100ADFA0(); // .text:100ADFA0 + void FUNC_100ADFB0(int iLevel); // .text:100ADFB0 + int FUNC_100ADC90(); // .text:100ADC90 void ProcessVehicleHorn();