Changed from dwLocalPlayer to dwLocalPlayerController since i was lazy to do it before

This commit is contained in:
IMXNOOBX
2023-11-28 18:00:21 +01:00
parent 6113f65094
commit b299f3c70f
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ void CGame::loop() {
inGame = false;
isC4Planted = false;
localPlayer = process->read<uintptr_t>(base_client.base + updater::offsets::dwLocalPlayer);
localPlayer = process->read<uintptr_t>(base_client.base + updater::offsets::dwLocalPlayerController);
if (!localPlayer) return;
localPlayerPawn = process->read<std::uint32_t>(localPlayer + updater::offsets::m_hPlayerPawn);