Ok, after some debug, it's the GeoIPCity.dat file fault. It seems that there are no data for region and city for this ip. But it's weird because latitude and longitude exist..
so in :
Code:
if ( rec )
{
MF_SetAmxString( amx, params[2], rec->region, 2 );
return 1;
}
rec is valid but rec->region is not initiliazed because of null and MF_SetAmxString() seems to not like null string.
So as fix, adding "&& rec->region" should be fine.
I'm going to test and I will update here ASAP.
__________________