When I open the server, I get this log:
Quote:
L 01/02/2011 - 15:48 5: [hns_blockmaker.amxx] [BM] Precache called.
Host_Error: PF_precache_model_I: Bad string ' '
|
or sometimes
Quote:
|
Host_Error: no precache: models/blockmaker/bm_block_platform.mdl
|
Code:
PHP Code:
new const gszBlockModelPlatform[] = "models/blockmaker/bm_block_platform.mdl";
//global array of strings to store the paths and filenames to the block models
new gszBlockModels[1][256];
enum
{
BM_PLATFORM //A
};
public plugin_precache()
{
log_amx("[BM] Precache called.");
//set block models to defaults
gszBlockModels[BM_PLATFORM] = gszBlockModelPlatform;
//precache blocks
for (new i = 0; i < 1; ++i)
{
precache_model(gszBlockModels[i]);
}
}