Raised This Month: $51 Target: $400
 12% 

Extra Precacher


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Hawk552 (427)
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 03-13-2008 , 13:49   Extra Precacher
Reply With Quote #1

Extra Precacher

[Description]
  • Some plugins like this already exist, but are unsupported, unfunctional, and so.
  • This plugin basically precache files that are defined in a configuration file, with some advanced func.
  • Multiple file extension support. (Defined in plugin)
  • Multiple file name support. (name.ext, *.ext, *.*)
  • Useful for plugins that don't have source, maps, motd's and so.
  • Individual map configuration support.If config for current map "extra_precacher_mapname.ini" doesn't exist, the default file "extra_precacher.ini" will be loaded.
[Info]
  • You can define the allowed file extensions in source.To add more, just add a "," then the extension ".lol".
Code:
new const gValidExt[] = ".wad,.mdl,.spr,.wav,.mp3";
  • If the file writed in configuration file doesn't exist, won't be precached, to avoid a server warning in console.
  • Extensions :
name.ext - Precache specified file with specified extension.
*.ext - Precache all files from specified path with specified extension.
*.* - Precache all files from specified path.
Attached Files
File Type: sma Get Plugin or Get Source (extra_precacher.sma - 8182 views - 3.1 KB)
File Type: ini extra_precacher_example.ini (396 Bytes, 4871 views)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 04-09-2008 at 09:25.
Alka 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 06:43.


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