AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   [CSGO] Any way to hook IsValidObserverTarget? (https://forums.alliedmods.net/showthread.php?t=323593)

KillMan 04-23-2020 12:23

[CSGO] Any way to hook IsValidObserverTarget?
 
Is there any way to hook "bool CCSPlayer::IsValidObserverTarget(CBaseEntity* )" in csgo without using of offsets?

Bacardi 04-23-2020 12:46

Re: [CSGO] Any way to hook IsValidObserverTarget?
 
?
Check every tick
https://sm.alliedmods.net/new-api/sd...ayerRunCmdPost

https://sm.alliedmods.net/new-api/cl...ClientObserver

KillMan 04-23-2020 13:42

Re: [CSGO] Any way to hook IsValidObserverTarget?
 
Bad unoptimized and glitched way

VerMon 05-12-2020 16:34

Re: [CSGO] Any way to hook IsValidObserverTarget?
 
Just find by signature? I did it recently, find related location of "spec_player" command in IDA, there will be virtual function offset related to player structure and you need to get pointer from it, this is real IsValidObserverTarget function.


All times are GMT -4. The time now is 12:54.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.