Hi! This is my code:

Code:
for (int i = 0; i <= EntityListSize; i++)
	{
		DWORD Entity = Mem.Read<DWORD>(ClientDLL + EntityList + i * 0x10);
		if (Entity != 0)
		{
			int clsid = getEntityClassID(Entity);

			if (clsid == 33)
			{
				DT_CSPlayerResource = Entity;
				int test = Mem.Read<int>(DT_CSPlayerResource + 0x1610);
				printf("%d\n", test);
			}

		}
	}
My loop and getting class id is okay, but problem is here:
Code:
int test = Mem.Read<int>(DT_CSPlayerResource + 0x1610);
([ 0x1610 ] -> m_iPlayerC4)

I want to get id of c4 carrier THIS way (I've already done it with looping through all players). Why it isn't working?