Raised This Month: $ Target: $400
 0% 

Precache files check


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
turshija
Member
Join Date: Jan 2009
Old 09-12-2013 , 22:39   Precache files check
Reply With Quote #1

Hey, I was wondering if its possible to check if client has precached files when connecting to server, and execute a command ONLY after precache if download occured?

For example, client1 is connecting to server, and he doesn't have model dong.mdl, so he starts downloading it from server. As soon as the download finishes, he joins server, and we log that or call some other function.
Client2 is connecting to server, and he has that model already loaded, so we don't do anything for him.

I'm not sure if such thing is possible, and I would be grateful if someone could show me a snippet that demonstrates something like that.
turshija 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 18:48.


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