AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Precache CFG files (https://forums.alliedmods.net/showthread.php?t=25954)

icecube3456 03-24-2006 12:27

Precache CFG files
 
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.

VEN 03-24-2006 13:43

And what if client delete cfg file?

Anyway (engine module):
Code:
/* Precaches any file. */ native precache_generic(szFile[]);

icecube3456 03-24-2006 15:50

so how exactly would it look in code

VEN 03-25-2006 02:30

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


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

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