hi guys, i have this codes:
PHP Code:
#include <amxmodx>
#include <geoip>
#include <colorchat>
public plugin_init()
{
register_plugin("Join Country","1.0","<VeCo>")
}
public client_putinserver(id)
{
static sz_name[32]
get_user_name(id,sz_name,charsmax(sz_name))
static sz_ip[16],sz_country[20]
get_user_ip(id,sz_ip,charsmax(sz_ip),1)
geoip_country(sz_ip,sz_country,charsmax(sz_country))
ColorChat(0,GREY,"^1Player^4 %s^1 from^3 %s^1 has joined the game!",sz_name,sz_country)
}
here just display the country, i want it to display country and city
example:
Player [name] from [country / city] has joined the game!
__________________