We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1138e49 commit c526c24Copy full SHA for c526c24
examples/Get_Entity_Item_Class_ID.cpp
@@ -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