diff --git a/saco/game/game.cpp b/saco/game/game.cpp index e0b3727..a71700d 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -1044,3 +1044,10 @@ DWORD CGame::GetTimeInMilliseconds() //----------------------------------------------------------- +int CGame::GetRwObjectsCount() +{ + return *(int*)0xB71804; +} + +//----------------------------------------------------------- + diff --git a/saco/game/game.h b/saco/game/game.h index d964633..01d4d44 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -131,6 +131,7 @@ public: int GetLoadedVehicleModelCount(); void SetTimeInMilliseconds(DWORD dwTimeInMs); DWORD GetTimeInMilliseconds(); + int GetRwObjectsCount(); }; //-----------------------------------------------------------