if(userTeam==L4D_TEAM_SPECTATOR && GeoipCountry(ClientIP, country, 45) && !IsFakeClient(userID))
{
CPrintToChatAll("{olive} %N {default}加入旁观{default}! {olive}%s \n {default}IP: {olive}%s {default}来自:{olive}%s %s", userID, SteamId, ClientIP, country, g_text);
PrintToServer(" %N 加入旁观! %s IP: %s 来自:%s %s", userID, SteamId, ClientIP, country, g_text);
}
else if(userTeam==L4D_TEAM_SPECTATOR && !IsFakeClient(userID))
{
PrintToChatAll("\x04 %N \x01 加入旁观\x01 \x05%s \n \x04IP: \x05%s \x04来自:\x05局域网", userID, SteamId, ClientIP);
}
if(userTeam==L4D_TEAM_SURVIVOR && GeoipCountry(ClientIP, country, 45) && !IsFakeClient(userID))
{
CPrintToChatAll("{olive} %N {blue}加入幸存者{default}! {olive}%s \n {default}IP: {olive}%s {default}来自:{olive}%s %s", userID, SteamId, ClientIP, country, g_text);
PrintToServer(" %N 加入幸存者! %s IP: %s 来自:%s %s", userID, SteamId, ClientIP, country, g_text);
}
else if(userTeam==L4D_TEAM_SURVIVOR && !IsFakeClient(userID))
{
PrintToChatAll("\x04 %N \x01 加入幸存者\x01 \x05%s \n \x04IP: \x05%s \x04来自:\x05局域网", userID, SteamId, ClientIP);
}
if(userTeam==L4D_TEAM_INFECTED && GeoipCountry(ClientIP, country, 45) && !IsFakeClient(userID))
{
CPrintToChatAll("{olive} %N {red}加入感染者{default}! {olive}%s \n {default}IP: {olive}%s {default}来自:{olive}%s %s", userID, SteamId, ClientIP, country, g_text);
PrintToServer(" %N 加入感染者! %s IP: %s 来自:%s %s", userID, SteamId, ClientIP, country, g_text);
}
else if(userTeam==L4D_TEAM_INFECTED && !IsFakeClient(userID))
{
PrintToChatAll("\x04 %N \x01 加入感染者\x01 \x05%s \n \x04IP: \x05%s \x04来自:\x05局域网", userID, SteamId, ClientIP);
}