-
Автор темы
- #1
КОД:
if (vars::check_fov)
{
uintptr_t localPlayer = [I](uintptr_t[/I])(offsets::client_dll + offsets::dwLocalPlayerPawn);
if (localPlayer != NULL)
{
uintptr_t cameraService = [I](uintptr_t[/I])(localPlayer + offsets::m_pCameraServices);
if (cameraService != NULL)
{
[I](uintptr_t[/I])(cameraService + offsets::m_iFOV) = vars::fov_radius;
}
else {
std::cout << "Camera service not found." << std::endl;
}
}
}