From 3b2d711c4f5b676b14371005c785f88386c04838 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Tue, 29 Jun 2004 16:38:27 +0000 Subject: [PATCH] added get_datadir changed get_customdir (backwards compatibility) --- plugins/include/amxmisc.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 85751a36..e60caa8a 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -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)