AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   download from server (https://forums.alliedmods.net/showthread.php?t=164086)

drop 08-07-2011 06:40

download from server
 
Hi all :P

Can somebody help me telling how to make one thing ?
How could I make , that when players connect to my server, a file downloading starts for thoes files witch I puted Up for download...

I don't know why doesn't server automaticly start thoes file download...

Hunter-Digital 08-07-2011 08:42

Re: download from server
 
Files need to be precached by the server in order to be downloaded by the client.

Korxu 08-07-2011 09:22

Re: download from server
 
Maybe this helps you.

precache_generic
precache_model
precache_sound

drop 08-07-2011 13:26

Re: download from server
 
Korxu
Thanks , that helped :)
But is it posible to somehow put up a .txt file instead of .spr or .mdl ?

Korxu 08-08-2011 05:50

Re: download from server
 
You want that the player downloads a .txt file?

fysiks 08-08-2011 08:10

Re: download from server
 
Quote:

Originally Posted by drop (Post 1527704)
But is it posible to somehow put up a .txt file instead of .spr or .mdl ?

Explain exactly what you are trying to do. And, what is the text file?

drop 08-08-2011 09:01

Re: download from server
 
I need it for sprites
it's HUD.txt

Hunter-Digital 08-08-2011 09:24

Re: download from server
 
Client will not download anything that already has, and everybody has hud.txt... so leave the client's interface alone :)

drop 08-08-2011 11:26

Re: download from server
 
But is it posible to make it add lines in hud.txt ? instead of replaceing the whole file ?

fysiks 08-08-2011 12:52

Re: download from server
 
Quote:

Originally Posted by drop (Post 1528262)
But is it posible to make it add lines in hud.txt ? instead of replaceing the whole file ?

No. You cannot edit client files.


All times are GMT -4. The time now is 03:30.

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