diff --git a/saco/game/common.h b/saco/game/common.h
index e912968..d1a0d70 100644
--- a/saco/game/common.h
+++ b/saco/game/common.h
@@ -5,6 +5,7 @@
#define MAX_PLAYERS 1004
#define MAX_VEHICLES 2000
+#define MAX_OBJECTS 1000
#define PLAYER_PED_SLOTS 210
//-----------------------------------------------------------
diff --git a/saco/main.h b/saco/main.h
index 85b005f..0f0b65a 100644
--- a/saco/main.h
+++ b/saco/main.h
@@ -32,6 +32,7 @@ typedef struct _GAME_SETTINGS {
#include "net/netrpc.h"
#include "net/vehiclepool.h"
#include "net/pickuppool.h"
+#include "net/objectpool.h"
#include "net/netgame.h"
#include "net/scriptrpc.h"
diff --git a/saco/net/netgame.cpp b/saco/net/netgame.cpp
index 7fab310..a2e05db 100644
--- a/saco/net/netgame.cpp
+++ b/saco/net/netgame.cpp
@@ -33,6 +33,7 @@ void CNetGame::InitPools()
{
m_pPools = (NETGAME_POOLS *)calloc(1, sizeof(NETGAME_POOLS));
+ m_pPools->pObjectPool = new CObjectPool();
m_pPools->pPlayerPool = new CPlayerPool();
m_pPools->pVehiclePool = new CVehiclePool();
m_pPools->pPickupPool = new CPickupPool();
diff --git a/saco/net/netgame.h b/saco/net/netgame.h
index cab05e2..a75004e 100644
--- a/saco/net/netgame.h
+++ b/saco/net/netgame.h
@@ -29,7 +29,8 @@ typedef struct _NETGAME_POOLS {
CVehiclePool *pVehiclePool;
CPlayerPool *pPlayerPool;
CPickupPool *pPickupPool;
- char _gap0[24];
+ CObjectPool *pObjectPool;
+ char _gap0[20];
} NETGAME_POOLS;
class CNetGame // size: 994
diff --git a/saco/net/objectpool.cpp b/saco/net/objectpool.cpp
new file mode 100644
index 0000000..e851fcc
--- /dev/null
+++ b/saco/net/objectpool.cpp
@@ -0,0 +1,12 @@
+
+#include "../main.h"
+
+CObjectPool::CObjectPool()
+{
+ for(WORD wObjectID = 0; wObjectID < MAX_OBJECTS; wObjectID++)
+ {
+ field_4[wObjectID] = 0;
+ field_FA4[wObjectID] = 0;
+ }
+ field_0 = 0;
+};
diff --git a/saco/net/objectpool.h b/saco/net/objectpool.h
new file mode 100644
index 0000000..c0b04f7
--- /dev/null
+++ b/saco/net/objectpool.h
@@ -0,0 +1,13 @@
+
+#pragma once
+
+class CObjectPool
+{
+private:
+ int field_0;
+ int field_4[MAX_OBJECTS];
+ int field_FA4[MAX_OBJECTS];
+public:
+ CObjectPool();
+
+};
diff --git a/saco/saco.vcproj b/saco/saco.vcproj
index 617c7e7..0bc1f6e 100644
--- a/saco/saco.vcproj
+++ b/saco/saco.vcproj
@@ -258,6 +258,12 @@
+
+
+
+