This site is a testing version, but all data is shared with the live forum.


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

F2P Detections not working correctly!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 12-19-2015 , 18:27   Re: F2P Detections not working correctly!
Reply With Quote #1

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
Reply



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 10:16.


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