AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [QUESTION] About Precache (https://forums.alliedmods.net/showthread.php?t=278612)

Depresie 02-04-2016 10:24

[QUESTION] About Precache
 
I'm wondering, if i have 3 plugins which uses for example the same sprite file and i precache it in every plugin, will i have 3 precached files or just one?

klippy 02-04-2016 10:39

Re: [QUESTION] About Precache
 
https://github.com/dreamstalker/rehl...cmds.cpp#L1528

Looks like the engine checks for already precached models, so you should be good.

Craxor 02-04-2016 10:50

Re: [QUESTION] About Precache
 
You should precache your files in any plugin, but i'm not sure .... Just test it and come back with answer.

Depresie 02-04-2016 11:19

Re: [QUESTION] About Precache
 
Thanks kyppy, i owe you twice now :P

Kakarot47 02-04-2016 16:52

Re: [QUESTION] About Precache
 
if you want to precache file then it will not work in server becuase prcaching file dos'nt show you any model sound or sprite so better is dont reache at 512 limit

klippy 02-04-2016 16:57

Re: [QUESTION] About Precache
 
Quote:

Originally Posted by Kakarot47 (Post 2390125)
if you want to precache file then it will not work in server becuase prcaching file dos'nt show you any model sound or sprite so better is dont reache at 512 limit

What are you talking about?

P.S.
Quote:

Originally Posted by Depresie (Post 2389996)
Thanks kyppy, i owe you twice now :P

I wonder why a lot of people can't manage to spell my nickname correctly? It happens quite frequently. :|


All times are GMT -4. The time now is 09:21.

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