Raised This Month: $ Target: $400
 0% 

precache_generic does not work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 01-12-2011 , 15:08   precache_generic does not work
Reply With Quote #1

PHP Code:

#include <amxmodx>


#define RESFILE1 "resources/images/neco.tga"
#define RESFILE2 "resources/neco.res"

public plugin_precache()
{
    
precache_generic(RESFILE1)
    
precache_generic(RESFILE2)
}

public 
plugin_init()
    
register_plugin("Precache Res Files""1.0""IdiotStrike"
I see nothing wrong. The server doesn't crash, clients just don't download the files.
Backstabnoob 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:07.


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