Quote:
|
Originally Posted by SniperBeamer
but better than no backwards compatibility
|
put all "backward compatibility" staff in the amxmod.inc
only old plugins the this use
Code:
/* amxmod.inc */
#if defined _amxmod_included
#endinput
#endif
#define _amxmod_included
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fun>
/* from string.inc */
stock str_to_int(const string[])
return str_to_num(string)
/* from string.inc */
stock strtonum(const string[])
return str_to_num(string)
/* from string.inc */
stock numtostr(num,string[],len)
return num_to_str(num,string,len)
/* from string.inc */
stock int_to_str(num,string[],len)
return num_to_str(num,string,len)
/* from fun.inc */
stock set_user_hitzones(index=0,target=0,body=255)
return set_hitzones(body)
/* from fun.inc */
stock get_user_hitzones(index,target)
return get_hitzones()
/* from fun.inc */
stock user_spawn(index)
return spawn(index)
/* from amxmisc.inc */
/* use log_amx() instead */
stock get_logfile( name[], len )
return get_time("admin%m%d.log",name,len)
possibly which are missing
__________________