Here, I made list that hook these functions.
You can try mess and trace with your
testing server.
There should not much
wrong with params+returns and all those hooks work (at least Cs:s).
If do then tell.
- I maybe add later descriptions to callbacks what can change and happens.
Almost forgot most important thing
As usually after friendly-valve-update in games, offsets can be change and lead to errors/crash/glitches !!
upgrade gamedata
Thanks to
Berni http://www.sourcemodplugins.org/pages/vtableoffsets/
Check these box from web page and create gamedata file at bottom
"Export for All Games" or for one game mod
"Export for This Game"
Then edit,
remove all "prefix":
CHL2MP_Player::
CBasePlayer::
CDODPlayer::
CINSPlayer::
CTerrorPlayer::
CPVK2Player::
CTFPlayer::
To get started,
compile plugin yourself
Install:
Extension
Dr!fter DHooks (Dynamic Hooks - Dev Preview)
...addons/sourcemod/gamedata/all.games-observer.txt
...addons/sourcemod/scripting/dhooks-test-observer.sp
*fixed all.games-observer.txt