AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Precache files check (https://forums.alliedmods.net/showthread.php?t=226044)

turshija 09-12-2013 22:39

Precache files check
 
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. :)

fysiks 09-12-2013 22:55

Re: Precache files check
 
Not possible.


All times are GMT -4. The time now is 18:48.

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