View Single Post
Author Message
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 03-14-2011 , 07:13   [CS:S] Country Clan Tags
Reply With Quote #1

Country Clan Tags

This plugin assigns clan tags based on the player's country. It utilizes the new CS:S clan tag section that you see on the scoreboard.



Installation:
  • Install the plugin as usual.
  • A config will be generated after the first run: plugin.countrytags.cfg
Cvars:
  • sm_countrytags <0|1|2> - Determines plugin functionality.
    • 0 = Disabled
    • 1 = Tag all players *Default
    • 2 = Only tag players that don't already have a tag

  • sm_countrytags_length <2|3> - Country code length.
    • 2 = CA, US, etc.
    • 3 = CAN, USA, etc. *Default

  • sm_countrytags_bots "CAN,USA" - Tags to assign bots. Separate tags by commas.
Notes:
  • Requires SourceMod 1.4 or later.
  • I recommend that you use the latest GeoIP database with this plugin.
Changelog:
Quote:
Country Clan Tags 1.2.0
- Updated to use the new SourceMod 1.4 natives.
- Config file is now auto-generated.
- Fixed tags not being assigned on late-load.

Country Clan Tags 1.1.0
- Using a more reliable method of assigning tags

Country Clan Tags 1.0.3
- Fixed tags not being assigned correctly on some occasions

Country Clan Tags 1.0.2
- Added sm_countrytags_length cvar
- Added support for multiple bot tags

Country Clan Tags 1.0.1
- Added sm_countrytags_bots cvar
- Minor code changes

Country Clan Tags 1.0.0
- Initial release
Attached Files
File Type: sp Get Plugin or Get Source (countrytags.sp - 5265 views - 4.3 KB)

Last edited by GoD-Tony; 01-14-2012 at 10:10. Reason: Updated to 1.2.0
GoD-Tony is offline