Raised This Month: $ Target: $400
 0% 

AMX Precache


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Sanji
Member
Join Date: Mar 2004
Old 03-23-2004 , 04:55   AMX Precache
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (precache.sma - 4112 views - 2.6 KB)
Sanji is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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