Hi,
I've just tested function precache_generic and there is an ignoring my precache of .txt file.
PHP Code:
#include <amxmodx>
#include <fakemeta>
//#define fm_precache_generic(%1) engfunc(EngFunc_PrecacheGeneric, %1) //the same
new forwards;
public plugin_precache(){
forwards = register_forward(FM_PrecacheGeneric, "prec_generic");
precache_generic("test.txt");
}
public plugin_init() unregister_forward(FM_PrecacheGeneric, forwards);
public prec_generic(const generic[])
{
static num; num++
server_print("generic %i ^"%s^"", num, generic)
}
So, what's the problem with it?Thx for the answers.
amxmodx-1.8.3-dev-git4868
build 6153