added default file pathes

This commit is contained in:
Felix Geyer
2004-08-20 13:20:53 +00:00
parent 40b5e7e817
commit f512ff25d8
6 changed files with 10 additions and 10 deletions

View File

@ -326,7 +326,7 @@ void OnAmxxAttach() {
MF_AddNatives( stats_Natives );
MF_AddNatives( base_Natives );
const char* path = get_localinfo("tfcstats_score");
const char* path = get_localinfo("tfcstats_score","addons/amxx/data/tfcstats.amxx");
if ( path && *path )
{
char error[128];
@ -334,7 +334,7 @@ void OnAmxxAttach() {
}
if ( !g_rank.begin() )
{
g_rank.loadRank( MF_BuildPathname("%s",get_localinfo("tfcstats") ) );
g_rank.loadRank( MF_BuildPathname("%s",get_localinfo("tfcstats","addons/amxx/data/tfcstats.dat") ) );
}
// set default PrivateData offsets