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

[CSGO] GetClientCount() returns wrong player count in OnClientDisconnect_Post


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
user420
New Member
Join Date: Nov 2019
Old 11-25-2019 , 15:52   [CSGO] GetClientCount() returns wrong player count in OnClientDisconnect_Post
Reply With Quote #1

I want to get the amount of players when a player disconnects.

First I tried GetClientCount() inside "OnClientDisconnect" but it seemed to still count the player who disconnected so I tried it inside "OnClientDisconnect_Post" but it still seems to count the player who left.

I know I could simply do GetClientCount()-1 but maybe I'm missing something.
user420 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 07:54.


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