Connect Announce
Description: Replacement for standard "player has joined the server" message. Displays country and steam id of joining player. Allows for custom join messages eg, players can set a message that will display every time they connect to the server. This is not open to all players as they have to be allowed by an admin prior to setting their message. Menu integration included for allowing/disallowing custom join messages.
Notes: The connect messages show later than the default one, as the player has to be authorized (steam id validated) before we can use it but this should be no more than a few milliseconds and not noticeable. ROOT privileges are required to allow/disallow join messages but this can be changed in the code at the top of joinmsg.sp
This plugin stores custom join messages and sound paths in the file 'addons\sourcemod\data\cannounce_messages.txt '. If you manually edit this file, you will need to restart the plugin for changes to apply. If you do not the file may be overwritten on map change, without your changes.
When adding join sounds, all paths are to be specified relative to the sounds folder of your mod, eg the sound path 'player\death.wav' refers to the path '<modname>\sounds\player\death.wav'. Any sound included in your game/mod can be used, or any custom sound, depending on your sv_pure setup. Any custom sound specified will automatically be downloaded to all clients on map change.
MP3's do work as custom join sounds but they may need to be amplified to make them work as well as wav's.
Commands:
* sm_geolist <name or #userid> - lists player(s) and their country.
* sm_joinmsg [message] - (console command) player can use this to set their custom join message (if allowed) or if no message provided will display their currently set message.
* sm_joinmsgon <name or #userid> - allow target to set their custom join message.
* sm_joinmsgonid '<steamId>' '<player name>' - allows specified steam id to set a custom join message, useful if player not in game. Player name is only an indicator so the file storing the messages is human readable.
* sm_joinmsgoff <name or #userid> - disallow target from having a custom join message.
* sm_joinmsgoffid '<steamId>' - disallow specified steam id from having a custom join message.
* sm_setjoinmsg <name or #userid> '<message>' - set a custom join message for target, if they are allowed to have one.
* sm_setjoinmsgid '<steamId>' '<message>' - set a custom join message for steam id, if it is allowed
* sm_setjoinsnd <name or #userid> '<sound file path>' - set a custom join sound for target, if they are allowed to have one.
* sm_setjoinsndid '<steamId>' '<sound file path>' - set a custom join sound for steam id, if it is allowed
* sm_playsnd '<sound file path>' - plays sound file to all clients, useful for testing sound files before applying to a client.
Cvars:
* sm_ca_logconnects <1|0> - logs player connects in the sourcemod log files.
* sm_ca_showenhanced <1|0> - shows the enhanced player connect message from this plugin.
* sm_ca_showstandard <1|0> - shows the standard player connect message.
* sm_ca_autoallowmsg <1|0> - allows admins with the kick flag to always be able to set a custom join message
Thanks to:
* bl4nk
* Sourcemod forums posters in general
* Berni - Map Decals plugin helped a lot in custom sounds release
Install Instructions:
* 'plugins/cannounce.smx' goes into 'sourcemod/plugins'
* 'translations/cannounce.phrases.txt' goes into 'sourcemod/translations'
* after loading plugin file 'cfg/sourcemod/cannounce.cfg' gets created and can be modified to change default cvar settings

Ставится на sourcemod! Если будут проблемы пиши ICQ 9457093! Работает на 100 % сам пользуюсь на серваке