From a085cef0d6590a11a2ca5fa29aa57535598b5694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Sat, 5 Feb 2005 11:06:34 +0000 Subject: [PATCH] Updated to allow compiling with unmodified statsx.sma, and other plugins using the old csx api... hopefully. :-9 --- plugins/include/csstats.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/csstats.inc b/plugins/include/csstats.inc index 1d59ce7e..7755dcf2 100755 --- a/plugins/include/csstats.inc +++ b/plugins/include/csstats.inc @@ -45,7 +45,7 @@ native reset_user_wstats(index); /* Gets overall stats which stored in stats.dat file in amx folder * and updated on every mapchange or user disconnect. * Function returns next index of stats entry or 0 if no more exists. */ -native get_stats(index,stats[8],bodyhits[8],name[],len,authid[],authidlen = 0); +native get_stats(index,stats[8],bodyhits[8],name[],len,authid[] = "",authidlen = 0); /* Returns number of all entries in stats. */ native get_statsnum(); @@ -58,4 +58,4 @@ native get_statsnum(); * 3 - bomb explosions */ native get_user_stats2(index,stats[4]); -native get_stats2(index,stats[4],authid[],authidlen = 0); +native get_stats2(index,stats[4],authid[] = "",authidlen = 0);