I need a working detection of country script
#4

I will give you an example for this one geolocation.inc, since it is the one I've been using and it works.
Code:
GetCountry(playerid)
{
    new country[32], message[128], name[24];
    GetPlayerName(playerid, name, sizeof(name));
    GetPlayerCountry(playerid, country, sizeof(country))
    format(message, sizeof(message), "%s is from the country %s",  name, country);
    return message; 
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)