-
Автор темы
- #1
C++:
void Misc::fov() {
auto localPawn = *(uintptr_t*)(Visuals::client + Offsets::dwLocalPlayerPawn);
if (!localPawn) {
std::cerr << "LocalPawn is null." << std::endl;
return;
}
int fov = 15;
auto cameraservices = *(uintptr_t*)(Visuals::client + Offsets::m_pCameraServices);
auto currentfov = *(uintptr_t*)(cameraservices + Offsets::m_iFOV);
bool isscoped = *(BOOL*)(localPawn + Offsets::m_bIsScoped);
if (!isscoped && currentfov != fov)
{
int* fovPTR = (int*)(cameraservices + Offsets::m_iFOV, fov);
}
}