From 4744f0dc0e467bced8746ade75a290bd4e2a4017 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 7 Mar 2004 14:29:34 +0000 Subject: [PATCH] added backwards compatibility stocks (forgot some) --- plugins/include/amxmod.inc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/plugins/include/amxmod.inc b/plugins/include/amxmod.inc index 0a924268..59f96e56 100755 --- a/plugins/include/amxmod.inc +++ b/plugins/include/amxmod.inc @@ -15,7 +15,6 @@ #include #include -/* String */ stock num_to_str(num,string[],len) return int_to_str(num,string,len) @@ -28,7 +27,6 @@ stock str_to_num(const string[]) stock strtonum(const string[]) return str_to_int(string) -/* Fun */ stock set_user_hitzones(index=0,target=0,body=255) return set_hitzones(body) @@ -38,7 +36,18 @@ stock get_user_hitzones(index,target) stock user_spawn(index) return spawn(index) -/* Misc */ /* use log_amx() instead */ stock get_logfile( name[], len ) - return get_time("admin%m%d.log",name,len) \ No newline at end of file + return get_time("admin%m%d.log",name,len) + +stock get_user_deaths(index) + return cs_get_user_deaths(index) + +stock set_user_deaths(index,newdeaths) + return cs_set_user_deaths(index,newdeaths) + +stock get_user_money(index) + return cs_get_user_money(index) + +stock set_user_money(index,money,flash=1) + return cs_set_user_money(index,money,flash) \ No newline at end of file