AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Forcing a user to download something (https://forums.alliedmods.net/showthread.php?t=60119)

SenzuV3 08-27-2007 07:38

Forcing a user to download something
 
Is it possible to force a client to download a player model without using the precache_model function?

SenzuV3 08-27-2007 17:50

Re: Forcing a user to download something
 
Would this be a stupid question? I just want to know if there's another way.

djmd378 08-27-2007 19:21

Re: Forcing a user to download something
 
I think this may work.

PHP Code:

precache_generic szFile[] ) 


Also, whats the point in not using precache_model to precache a model?

SenzuV3 08-28-2007 01:47

Re: Forcing a user to download something
 
Quote:

Originally Posted by djmd378 (Post 524088)
I think this may work.

PHP Code:

precache_generic szFile[] ) 


Thanks, I'll try it out.

Quote:

Originally Posted by djmd378 (Post 524088)
Also, whats the point in not using precache_model to precache a model?

I run a TSRP server, the precache is at it's limit - however I want player models to be downloaded, so it wouldn't matter if the server doesn't precache the models, because the server will never actually use the models. (IF you know what I mean)

djmd378 08-28-2007 02:23

Re: Forcing a user to download something
 
Theres a limit to precaching models? I never knew that... is this limit global or just the individual plugin? If its just the individual plugin then you can just create another plugin solely to precache.

SenzuV3 08-28-2007 03:02

Re: Forcing a user to download something
 
Code:
precache_generic ( szFile[] )

Worked, thanks!

M249-M4A1 08-28-2007 12:16

Re: Forcing a user to download something
 
Quote:

Originally Posted by djmd378 (Post 524196)
Theres a limit to precaching models? I never knew that... is this limit global or just the individual plugin? If its just the individual plugin then you can just create another plugin solely to precache.

512 limit


All times are GMT -4. The time now is 16:17.

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