[CS:S] Supporter Colors

Requirements:

  • SDKHooks - Required


  • Colors.inc - Required (To Compile)

Description:

  • A rather simple plugin that provides the functionality for players to color their weapons, player models, and thrown grenades.

Features:

  • Access to Supporter Colors can be provided to everyone, or restricted to players with access to the override "Colors_Access" or the defined flag.

  • Ability to enable/disable a client's ability to color their weapons and/or models.

  • Choose the default starting values for all client settings, or have them randomized per player.

  • Players can select a separate model/weapon color for Terrorists and Counter-Terrorists.

  • Control what commands open the plugin menu via a simple cvar.

ConVars:

  • css_colors_enabled - Enables/Disables all features of this plugin.

  • css_colors_flag - If "", everyone can use Supporter Colors, otherwise, only players with this flag or the "Colors_Access" override can access.

  • css_colors_commands - The chat triggers available to clients to access color features.

  • css_colors_reapply_time - The number of seconds after a player spawns for their model color to be reapplied, in case another plugin removes it.

  • css_colors_enable_models - Controls the model coloring portion of the plugin. (0 = Disabled, 1 = Enabled)

  • css_colors_default_red_models - The default model colors for new clients, for the Terrorist team.

  • css_colors_default_blue_models - The default model colors for new clients, for the Counter-Terrorist team.

  • css_colors_enable_weapons - Controls the weapon/projectile coloring portion of the plugin. (0 = Disabled, 1 = Enabled)

  • css_colors_default_red_weapons - The default ending width index to be applied to new players or upon css_trails_config_ending being set to 0 (-1 = Random, # = Index)

  • css_colors_default_blue_weapons - The default weapon colors for new clients, for the Counter-Terrorist team.

Installation:

  • /sourcemod/scripting/css_supporter_colors.sp

  • /sourcemod/plugins/css_supporter_colors.smx

  • /sourcemod/translations/css_supporter_colors.phrases.txt
















Attached Files











File Type: txt


css_supporter_colors.phrases.txt (2.7 KB)


File Type: sp


Get Plugin or
Get Source (css_supporter_colors.sp - 31.3 KB)


File Type: smx


css_supporter_colors.smx (17.8 KB)








Orignal From: [CS:S] Supporter Colors

No comments

Not a single link is allowed to submit in comment :o