RSSy MYGO.pl Opublikowano Kwiecień 11, 2018 o 19:29 RSSy Udostępnij Opublikowano Kwiecień 11, 2018 o 19:29 Team Join AnnounceDiscord: http://discords.pw/nerpcsgoThis 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 :/ xDBuild:The build is very simplistic, I use this method to get the client's team if it selects team CT and have it hooked up to player_team with a timer on 0.2 secconds. Code: 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); } Have fun with the release!My goals in life: Become a knowledgeable coder. Get a girlfriend & hopefully married. Become the student of the year in class. Never skip school because of an injury. Grow & expand my community (http://nerp.cf/). Have fun with friends :) Attached Files Get Plugin or Get Source (Team Join Announce.sp - 2.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się