Raised This Month: $267 Target: $400
 66% 

Solved Get player info from CTFPlayer *


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dietcoke
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:03.


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