mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
added backwards compatibility stocks (forgot some)
This commit is contained in:
parent
3ce69e473f
commit
4744f0dc0e
@ -15,7 +15,6 @@
|
||||
#include <engine>
|
||||
#include <fun>
|
||||
|
||||
/* 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)
|
||||
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)
|
Loading…
Reference in New Issue
Block a user