Thread
:
F2P Detections not working correctly!
View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
12-19-2015 , 18:27 Re: F2P Detections not working correctly!
#
8
Quote:
Originally Posted by
arne1288
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
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
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
View Public Profile
Send a private message to DarkDeviL
Visit DarkDeviL's homepage!
Find More Posts by DarkDeviL