diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 394d3cec..075a0ffd 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -99,8 +99,4 @@ stock build_path( path[] , len , {Float,_}:... ) { } stock get_basedir( name[], len ) - return get_localinfo( "amxx_basedir", name , len ) - -/* 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_localinfo( "amxx_basedir", name , len ) \ No newline at end of file diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index fb0ecfd8..8f204ea0 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -17,12 +17,6 @@ #include #include #include -/* default modules */ -#include -#include -#include -#include -#include /* Function is called just after server activation. * Good place for configuration loading, commands and cvars registration. */ diff --git a/plugins/include/fun.inc b/plugins/include/fun.inc index 7fd1db75..10a4e7fa 100755 --- a/plugins/include/fun.inc +++ b/plugins/include/fun.inc @@ -1,6 +1,6 @@ /* Fun functions * -* (c) 2004, the AMX Mod X Development Team +* by the AMX Mod X Development Team * * This file is provided as is (no warranties). */ @@ -51,17 +51,9 @@ native give_item(index, const item[]); * 128 - right leg */ native set_hitzones(body = 255); -/* backwards compatibility */ -stock set_user_hitzones(index=0,target=0,body=255) - return set_hitzones(body) - /* Get current hitzones. */ native get_hitzones(); -/* backwards compatibility */ -stock get_user_hitzones(index,target) - return get_hitzones() - /* Sets users max. speed. */ native set_user_maxspeed(index, Float:speed = -1.0); @@ -77,10 +69,6 @@ native get_user_gravity(index); /* Spawns entity. */ native spawn(index); -/* backwards compatibility */ -stock user_spawn(index) - return spawn(index) - /* Sets player noclip. If you want to disable noclip set only first parameter. */ native set_user_noclip(index, noclip = 0); diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 4458fe5d..ed238403 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -35,22 +35,10 @@ native format(output[] ,len ,const format[] , {Float,_}:...); native format_args(output[] ,len ,pos = 0); /* Converts number to string. */ -native num_to_str(num,string[],len); - -stock numtostr(num,string[],len) - return num_to_str(num,string,len) - -stock int_to_str(num,string[],len) - return num_to_str(num,string,len) +native int_to_str(num,string[],len); /* Returns converted string to number. */ -native str_to_num(const string[]); - -stock strtonum(const string[]) - return str_to_num(string) - -stock str_to_int(const string[]) - return str_to_num(string) +native str_to_int(const string[]); /* Checks if two strings equal. If len var is set * then there are only c chars comapred. */