Raised This Month: $ Target: $400
 0% 

Precache CFG files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
icecube3456
New Member
Join Date: Mar 2006
Old 03-24-2006 , 12:27   Precache CFG files
Reply With Quote #1

Can you precache cfg files for clients because i would like to do it so i can set rates for clients in my server. This way i wouldnt have to do exec client commands on every person i could just add it to the menu.
icecube3456 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-24-2006 , 13:43  
Reply With Quote #2

And what if client delete cfg file?

Anyway (engine module):
Code:
/* Precaches any file. */ native precache_generic(szFile[]);
VEN is offline
icecube3456
New Member
Join Date: Mar 2006
Old 03-24-2006 , 15:50  
Reply With Quote #3

so how exactly would it look in code
icecube3456 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-25-2006 , 02:30  
Reply With Quote #4

Code:
#include <amxmodx> #include <engine> public plugin_precache() {     precache_generic("config.cfg") }
VEN is offline
Reply



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 16:32.


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