View Single Post
Author Message
sdz
Senior Member
Join Date: Feb 2012
Old 06-28-2017 , 05:58   [ANY] User Tagging [@name](v1.2, June 28th, 2017)
Reply With Quote #1

Changelog:
Quote:
Version 1.2 (6/29/2017)
  • Added cvar: sm_tagging_symbol - Change the symbol to tag
    • This can be used with multiple characters or even a string, upto 8 letters.

Version 1.1 (6/28/2017)
  • Added userid targeting
  • Added sound notification to tagged player
  • Added cvar: sm_tagging_sound - Change the sound when tagging

Version 1.0 (6/28/2017)
  • Plugin Released
Dependencies:
This plugin is pretty self explanatory..
type @name in chat, and it'll do something like so: (minus the second line.)


Things to note: If you're an admin with at least the flag of Chat, you won't be able to start messages with a tag without modifying/unloading basechat.smx, this is a standard sourcemod plugin.

Tested on Source 2009, not sure how it'll work on other games.

Due to the nature of how this was made, you'll need a space after the tagging. This may be changed in future updates if demand is high enough.

Server Variables:
Code:
// This file was auto-generated by SourceMod (v1.8.0.6009)
// ConVars for plugin "user_tagging.smx"

// Only admins can @tag players
// -
// Default: "0"
sm_tagging_adminonly "0"

// Color for the tagged player to see in the chat
// -
// Default: "green"
sm_tagging_color "green"

// Sound to play when tagged (omit sound/ in directory)
// -
// Default: "HL1/fvox/blip.wav"
sm_tagging_sound "HL1/fvox/blip.wav"

// Symbol which should be used to tag players
// -
// Default: "@"
sm_tagging_symbol "@"
Requests/Suggestions: Post here
Attached Files
File Type: sp Get Plugin or Get Source (user_tagging.sp - 324 views - 6.0 KB)
File Type: smx user_tagging.smx (14.0 KB, 326 views)

Last edited by sdz; 06-29-2017 at 08:21.
sdz is offline