Raised This Month: $ Target: $400
 0% 

precache_generic does not work


Post New Thread Reply   
 
Thread Tools Display Modes
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
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-12-2011 , 15:17   Re: precache_generic does not work
Reply With Quote #2

If the files already exists on the client, it won't work.
__________________
Arkshine is offline
Reply



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