Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 480 Bytes

CGameRules-ClientSettingsChanged.md

File metadata and controls

15 lines (11 loc) · 480 Bytes

search string fov_desired, xref

look for the following snippet:

if ( (_DWORD)PlayerInfo != -1 )
    v4 = (_DWORD)PlayerInfo - 1;
  v31 = (_BYTE *)v30(g_Source2EngineToServer, v4, "fov_desired");

You should have the oldname, newname and player_changename on the function.

the current function is CGameRules::ClientSettingsChanged

prototype: bool CGameRules::ClientSettingsChanged(CGameRules *pGameRules, CBasePlayerController *pPlayerController)

dll: server