Raised This Month: $ Target: $400
 0% 

Precache fault


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 01-02-2011 , 10:14   Precache fault
Reply With Quote #1

When I open the server, I get this log:

Quote:
L 01/02/2011 - 15:485: [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 01; ++i)
    {
        
precache_model(gszBlockModels[i]);
    }


Last edited by bibu; 01-02-2011 at 10:36.
bibu is offline
 



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 02:14.


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