added get_datadir

changed get_customdir (backwards compatibility)
This commit is contained in:
Felix Geyer 2004-06-29 16:38:27 +00:00
parent 667d06b126
commit 3b2d711c4f

View File

@ -99,8 +99,13 @@ stock get_basedir(name[],len)
stock get_configsdir(name[],len)
return get_localinfo("amxx_configsdir",name,len)
stock get_datadir(name[],len)
return get_localinfo("amxx_datadir",name,len)
/* Backwards Compatibility
* don't use it! */
stock get_customdir(name[],len)
return get_localinfo("amxx_customdir",name,len)
return get_localinfo("amxx_configsdir",name,len)
#if defined NO_STEAM
stock get_user_wonid(index)