Skip to content

Commit c526c24

Browse files
authored
Create Get_Entity_Item_Class_ID.cpp
1 parent 1138e49 commit c526c24

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/Get_Entity_Item_Class_ID.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
int GetClassID(){
2+
DWORD dwClientNetworkable;
3+
g_pEsp->ReadDword((LPCVOID*)(entityPoint + 0x8), &dwClientNetworkable);
4+
DWORD dwGetClientClassFn;
5+
g_pEsp->ReadDword((LPCVOID*)(dwClientNetworkable + 2 * 0x4), &dwGetClientClassFn);
6+
DWORD dwEntityClientClass;
7+
g_pEsp->ReadDword((LPCVOID*)(dwGetClientClassFn + 1), &dwEntityClientClass);
8+
int EntityClassId;
9+
g_pEsp->ReadInt((LPCVOID*)(dwEntityClientClass + 20), &EntityClassId);
10+
return EntityClassId;
11+
}

0 commit comments

Comments
 (0)