Well this is a little plguin to precache files. usefull for svencoop to precache monsters and use it with entmod or my entity plugin (not released yet)
Install:
make this folder tree: addons/amxx/precache/
make a file named default.pre (addons/amxx/precache/default.pre)
make s file for every map (addons/amxx/precache/<mapname.pre>)
Commands to use in the files:
Code:
precache_model <modelfile> (example: models/islave.mdl)
precache_sound <soundfile> (example: ambience/alien_beacon.wav)
precache_generic <file> (example: mp3/yeah.mp3)
precache_class <classname> (example: monster_alien_slave)
load_file <filename> (example: addons/amxx/precache/test.pre)
have fun