Ok, I've been trying to BLOCK some of the precaching and setmodel commands, but I've been having a strange problem. In TS, when I simply tell the plugin to tell me whenever things are precached, instead of a huge list of precached things at the beginning and nothing after, it tells me it continues precaching powerup.mdl over and over. And nothing else.
Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
public plugin_init() {
register_plugin("Precache Info","1.17","Melanie")
register_forward(FM_PrecacheModel,"model_handle",0);
}
public plugin_modules(){
require_module("Engine");
require_module("FakeMeta");
}
public model_handle(str[]){
server_print("Model %s precached",str);
return FMRES_SUPERCEDE
}
I tried to register it sooner, in plugin_modules, but even though it didnt crash, it gave me the same thing. Any idea on how I could capture the precache signals before its actually precached?
__________________