Can someone fix this code?
PHP Code:
#include <amxmodx>
#include <colorchat>
#include <geoip>
public plugin_init() {
register_plugin("connecting info", "1.0", "you")
}
public client_connect(id)
{
new Name[32], Authid[32], Country[46], IP[21]
get_user_name(id, Name, 31)
get_user_authid(id, Authid, 31)
get_user_ip(id, IP, 20)
geoip_country (IP, Country, 45)
ColorChat(0, GREY, "^x01**^x04%s ^x01[^x04%s^x01]^3 has connected from ^x01%s**", Name, Authid, Country)
}
public client_disconnect(id)
{
new Name[32], Authid[32], Country[46], IP[21]
get_user_name(id, Name, 31)
get_user_authid(id, Authid, 31)
get_user_ip(id, IP, 20)
geoip_country (IP, Country, 45)
ColorChat(0, GREY, "^x01**^x04%s ^x01[^x04%s^x01]^3 has connected from ^x01%s**", Name, Authid, Country)
}