added backwards compatibility stocks (forgot some)

This commit is contained in:
Felix Geyer 2004-03-07 14:29:34 +00:00
parent 3ce69e473f
commit 4744f0dc0e

View File

@ -15,7 +15,6 @@
#include <engine> #include <engine>
#include <fun> #include <fun>
/* String */
stock num_to_str(num,string[],len) stock num_to_str(num,string[],len)
return int_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[]) stock strtonum(const string[])
return str_to_int(string) return str_to_int(string)
/* Fun */
stock set_user_hitzones(index=0,target=0,body=255) stock set_user_hitzones(index=0,target=0,body=255)
return set_hitzones(body) return set_hitzones(body)
@ -38,7 +36,18 @@ stock get_user_hitzones(index,target)
stock user_spawn(index) stock user_spawn(index)
return spawn(index) return spawn(index)
/* Misc */
/* use log_amx() instead */ /* use log_amx() instead */
stock get_logfile( name[], len ) stock get_logfile( name[], len )
return get_time("admin%m%d.log",name,len) 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)