View Single Post
Author Message
Junior Member
Join Date: Jan 2021
Old 05-17-2021 , 17:22   Get player info from CTFPlayer *
Reply With Quote #1

I am writing an extension and am hooking a function that is only passed a CTFPlayer * as a parameter. Does anyone know how to get player info from it, such as steam id / ip address / userid, etc?

And conversely, is there a way to get the CTFPlayer * from a player's userid? Thanks.

Last edited by dietcoke; 05-19-2021 at 18:16.
dietcoke is offline