what am i doing wrong here? And could anyone fix that for me... just get one error when i try to compile:
Code:
Error: Array sizes do not match, or destination array is too small on line 27
PHP Code:
public client_putinserver(id)
{
new Country[4], Ip[21]
get_user_ip(id, Ip, charsmax(Ip))
geoip_country( Ip, Country );
new name[32], szCountry[4], szIP[21]
get_user_ip(id, szIP, charsmax(szIP))
geoip_code2( szIP, szCountry );
get_user_name(id, name, 31)
new szAuth[35];
get_user_authid(id, szAuth, charsmax(szAuth));
if( equal(szAuth, "STEAM_0:0:39679185"))
{
ColorChat(0, RED, "%s^x01 %s^x03 [%s]^x04 %s^x01 Has connected from^x04 %s", ClanTag, CLMsg, szCountry, name, Country)
}
else
{
ColorChat(0, RED, "%s^x01 %s^x03 [%s]^x04 %s^x01 Has connected from^x04 %s", ClanTag, IsUserAdmin(id) ? "Admin" : "Player", szCountry, name, Country);
}
}