View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 12-19-2015 , 18:27   Re: F2P Detections not working correctly!
Reply With Quote #8

Quote:
Originally Posted by arne1288 View Post
Most plugins unset this FreeToPlay[client] status variable when people disconnect, however, based on your shared code, it doesn't seem like you do that.
Quote:
Originally Posted by Dr. Greg House View Post
From what I know about you, you're probably not resetting the value when the players disconnect thus giving false/old results.
Quote:
Originally Posted by Dr. Greg House View Post
What I said earlier.
+1.

Code:
public OnClientDisconnect(client)
{
    FreeToPlay[client] = false;
}
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline