added numtostr() and strtonum()

This commit is contained in:
Felix Geyer 2004-03-08 17:19:41 +00:00
parent 10a28dcde9
commit d37bdc026c

View File

@ -17,14 +17,13 @@
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)
stock get_user_hitzones(index,target) stock get_user_hitzones(index,target)
return get_hitzones() return get_hitzones()
stock user_spawn(index) stock user_spawn(index)
return spawn(index) return spawn(index)
/* 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)
@ -32,4 +31,10 @@ stock get_user_money(index)
return cs_get_user_money(index) return cs_get_user_money(index)
stock set_user_money(index,money,flash=1) stock set_user_money(index,money,flash=1)
return cs_set_user_money(index,money,flash) return cs_set_user_money(index,money,flash)
stock numtostr(num,string[],len)
return num_to_str(num,string,len)
stock strtonum(const string[])
return str_to_num(string)