Raised This Month: $ Target: $400
 0% 

Logging player problem?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-29-2010 , 23:38   Re: Logging player problem?
Reply With Quote #1

Got a question, if you read the file during plugin_init and a player joins, it'll add his name to the list. But, if he leaves and then joins again without the map changing or soemthing, will his name be added twice?
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-29-2010 , 23:39   Re: Logging player problem?
Reply With Quote #2

Quote:
Originally Posted by nikhilgupta345 View Post
Got a question, if you read the file during plugin_init and a player joins, it'll add his name to the list. But, if he leaves and then joins again without the map changing or soemthing, will his name be added twice?
I see you haven't actually read Bugsy's code. When someone joins and they are not in the list they are added to the trie AND the file.

Hint: It's TrieSetCell() that you skipped.
__________________
fysiks 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 00:13.


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