ohmygod like the modules are synced and updated for sdk v4

This commit is contained in:
David Anderson
2006-05-10 11:53:22 +00:00
parent 302b759fc8
commit beb975bdbf
44 changed files with 1116 additions and 136 deletions

View File

@ -28,7 +28,7 @@ static cell AMX_NATIVE_CALL amx_geoip_country(AMX *amx, cell *params)
void OnAmxxAttach()
{
char *path = MF_BuildPathname("%s/GeoIP.dat",LOCALINFO("amxx_datadir"));
char *path = MF_BuildPathname("%s/GeoIP.dat",MF_GetLocalInfo("amxx_datadir", "addons/amxmodx/data"));
gi = GeoIP_open(path, GEOIP_STANDARD);
if (gi == NULL) {
MF_Log("Failed to instantiate GeoIP!");