Description
This plugin allows admins to send a direct warning to a specified user.
Commands
sm_send_warning <name|#userid> <message> - Sends a warning to a specified user - ADMFLAG_CHAT
sm_send_warn <name|#userid> <message> - Sends a warning to a specified user - ADMFLAG_CHAT
sm_warn <name|#userid> <message> - Sends a warning to a specified user - ADMFLAG_CHAT
ConVars
*The plugin automatically creates a file called "plugin.admin_warning.cfg" in cfg/sourcemod where you can change the ConVars.
sm_admin_warning_play_sound <1|0> - Play sound to client when message is send? (1 = on, 0 = off)
Changelog
Quote:
22/10/2017 (v1.7)
* Added new commands (sm_send_warn, sm_warn)
22/10/2017 (v1.6)
* Improved code.
* Additional bug fixing.
19/10/2017 (v1.5)
* Added ConVar sm_admin_warning_play_sound.
18/10/2017 (v1.4)
* Minor code improvements.
* sm_send_warning now requires ADMFLAG_CHAT (old flag: ADMFLAG_SLAY).
18/10/2017 (v1.3)
* Putting your message in parentheses if using more words is no longer needed.
17/10/2017 (v1.2)
* Now plays a sound to the target when the message is sent.
17/10/2017 (v1.1)
* Added logging.
* Added support for multiple targets.
* Now correctly handles input if no matching client is found.
17/10/2017 (v1.0)
* Initial release.
|
Installation instructions
Drop the sourcemod folder in your addons folder.
Plans
- Add more customization.
Known bugs
--- none at the moment ---
Pictures