AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to Cache or Precache? (https://forums.alliedmods.net/showthread.php?t=187754)

Waleed 06-17-2012 12:12

How to Cache or Precache?
 
What in general Cache or Precache means and how does it effect my plugin?

If precache is needed to play a sound or load model then:

How can I precache a simple sound(.wav I think) to play on a special trigger or Event?
Model(.mdl) is working correct in my plugin without any Cache?

If I don't precache any thing,then is it okay O_O ?

wickedd 06-17-2012 12:35

Re: How to Cache or Precache?
 
Quote:

Originally Posted by Waleed (Post 1730540)
If precache is needed to play a sound or load model then:

How can I precache a simple sound(.wav I think) to play on a special trigger or Event?
Model(.mdl) is working correct in my plugin without any Cache?

If I don't precache any thing,then is it okay O_O ?

Try searching before posting. Read this.

Waleed 06-17-2012 12:41

Re: How to Cache or Precache?
 
Damn!
I forgot to search first :D Sorry!


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

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