Raised This Month: $51 Target: $400
 12% 

Solved I need help in (player_disconnect)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dr_lex
Member
Join Date: Dec 2014
Old 12-02-2020 , 16:31   Re: I need help in (player_disconnect)
Reply With Quote #11

Quote:
Originally Posted by Dragokas View Post
I think we can do it by hooking CBaseClient:: PerformDisconnection, responsible for logging the message in console.log:

PHP Code:
CBaseClient *__cdecl CBaseClient::PerformDisconnection(CBaseClient *this, const char *a2)
{
...
ConMsg("Dropped %s from server (%s)\n"v5a2); 
But I don't know how to do it correctly. Maybe, somebody help?

My attempt:
Spoiler


PS. The topic is marked "Solved" when actually is not at all.
As you said, this question is difficult to answer.
Most likely, it just doesn't work in l4d2.

For me, this topic is no longer so important, since I went a different way to solve it. It was good to get an answer, but it probably won't be.
__________________
dr_lex is offline
 



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 17:12.


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