[CS:GO] Team Join Announce

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Team Join Announce

Post by Andreeas »

Team Join Announce
Discord: http://discords.pw/nerpcsgo
This plugin provides information in the chat for when players join a team.

There's not much "information", other than the name of the client, aswell as the country he connects from. I've had some private plugins on my list, just never released them yet, because I thought it wouldn't be a good idea for me to release it because I wanted to be one of a kind using this plugin.
(from what I know, I'm the only one.) Enjoy this release.

Requirements:
Sourcemod 1.8 or higher.
SDKtools, Geoip & Cstrike for compiling


Installation:
Simply just drag & drop the .smx file into: addons/sourcemod/plugins. Unless you want to make your own version of this release, you just copy the code & start . Let me know if you can make it better than I could :/ xD

Build:
if(GetClientTeam(client) == CS_TEAM_CT)
{
new String:name[99], String:IP[99], String:Country[99];

GetClientName(client, name, sizeof(name));

GetClientIP(client, IP, sizeof(IP), true);

if(!GeoipCountry(IP, Country, sizeof Country))
{
Country = "Unknown Country";
}

PrintToChatAll(" + \x03%s \x01has joined the \x0BCT-Team \x01from \x04%s", name, Country);
}
Download
Source
Post Reply

Return to “Server Management”