Dword Cped = *(dword)* 0xb6f5f0;
Dword Matrix = *(dword*) cped+0x14;
Float posX = *(float*)matrix + 0x30;
Y = matrix + 0x34
Z = matrix + 0x38
user88 said:b1g pseudoCode:Dword Cped = *(dword)* 0xb6f5f0; Dword Matrix = *(dword*) cped+0x14; Float posX = *(float*)matrix + 0x30; Y = matrix + 0x34 Z = matrix + 0x38
x0rz said:user88 said:b1g pseudoCode:Dword Cped = *(dword)* 0xb6f5f0; Dword Matrix = *(dword*) cped+0x14; Float posX = *(float*)matrix + 0x30; Y = matrix + 0x34 Z = matrix + 0x38
Can you give me a brief description of how to use it ?
supahdupahnubah said:x0rz said:user88 said:b1g pseudoCode:Dword Cped = *(dword)* 0xb6f5f0; Dword Matrix = *(dword*) cped+0x14; Float posX = *(float*)matrix + 0x30; Y = matrix + 0x34 Z = matrix + 0x38
Can you give me a brief description of how to use it ?
nigga u ever coded in C++? he already showed you how to use it
#include "stdafx.h"
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
HWND hWnd = FindWindow(NULL, L"GTA:SA:MP");
while (hWnd != NULL)
{
DWORD pid;
GetWindowThreadProcessId(hWnd, &pid);
HANDLE open = OpenProcess(PROCESS_VM_READ, false, pid);
DWORD cPED;
ReadProcessMemory(open, (void*)0xB6F5F0, &cPED, sizeof(cPED), NULL);
DWORD matrixPtr = 0;
ReadProcessMemory(open, (void*)(cPED + 0x14), &matrixPtr, sizeof(matrixPtr), NULL);
float positionX = 0.0f;
ReadProcessMemory(open, (void*)(matrixPtr + 0x30), &positionX, sizeof(positionX), NULL);
float positionY = 0.0f;
ReadProcessMemory(open, (void*)(matrixPtr + 0x34), &positionY, sizeof(positionY), NULL);
float positionZ = 0.0f;
ReadProcessMemory(open, (void*)(matrixPtr + 0x38), &positionZ, sizeof(positionZ), NULL);
std::cout << "X: " << positionX << " Y: " << positionY << " Z: " << positionZ << "\n";
CloseHandle(open);
Sleep(250);
}
getchar();
return 0;
}
x0rz said:I was looking for such a use. I figured out how to do it.