Player Horizontal Angle Offset
How can I find the offset for the local player's yaw? (Horizontal angle, if you are looking north/west/south/east, second value under angle in cl_showpos 1)
Code:
DWORD LP;
DWORD clientDll;
float yaw;
Mem.Process("csgo.exe");
clientDll = Mem.Module("client.dll");
LP = Mem.Read<DWORD>(ClientDLL + 0x00A4CA5C);
yaw = Mem.Read<float>(LP + 0x4CE0+ 0x04);
Is this correct/does/should this work?
Anyone who has coded a radar, how do you rotate it? Doesn't you use the players angle to set the rotation and if so how can I find the value?