Raised This Month: $ Target: $400
 0% 

[CS:GO] Pug Setup (v2.0.7, 2021-11-03)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nongnoobjung
Junior Member
Join Date: Jul 2010
Old 04-29-2015 , 19:56   Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)
Reply With Quote #10

Quote:
Originally Posted by BudgieBrah View Post
Right, so I got the name to change using sm_cvar sm_pugsetup_message_prefix [TG-PUG]

Now all I need is too change the color of it to DARK_RED, but when I try to enter the command(sm_cvar sm_pugsetup_message_prefix "[{DARK_RED}TG-PUG{NORMAL}]"), it sets the prefix to "[" and not the desired name in the chosen color.




I want the [TG-PUG] to be in DARK_RED if possible. I am new to sourcemod and its commands, so please bear with me.

Budgie
Code:
sm_cvar sm_pugsetup_message_prefix "[{DARK_RED}TG-PUG{NORMAL}]"
in pugsetup.cfg it work fine

like this my config

Code:
// This file was auto-generated by SourceMod (v1.7.0)
// ConVars for plugin "pugsetup.smx"


// Admin flag to mark players as having elevated permissions - e.g. can always pause,setup,end the game, etc.
// -
// Default: "b"
sm_pugsetup_admin_flag "b"

// Whether to announce how long the countdown has left before the lo3 begins.
// -
// Default: "1"
sm_pugsetup_announce_countdown_timer "1"

// When games are using captains, should they be automatically randomized once? Note you can still manually set them or use .rand/!rand to redo the randomization.
// -
// Default: "0"
sm_pugsetup_auto_randomize_captains "0"	

// Whether a pug is automatically setup using the default setup options or not.
// -
// Default: "0"
sm_pugsetup_autosetup "0"

// Whether the plugin may (if the "Updater" plugin is loaded) automatically update.
// -
// Default: "1"
sm_pugsetup_autoupdate "1"

// Naming scheme for demos. You may use {MAP}, {TIME}, and {TEAMSIZE}. Make sure there are no spaces or colons in this.
// -
// Default: "pug_{MAP}_{TIME}"
sm_pugsetup_demo_name_format "pug_{MAP}_{TIME}"

// Whether to print to chat when clients ready/unready.
// -
// Default: "0"
sm_pugsetup_echo_ready_messages "1"

// Whether to exclude spectators in the ready-up counts. Setting this to 1 will exclude specators from being selected by captains as well.
// -
// Default: "0"
sm_pugsetup_exclude_spectators "1"

// Whether gamemode_competitive (the matchmaking config) should be executed before the live config.
// -
// Default: "1"
sm_pugsetup_exec_default_game_config "1"

// Whether the default setup options are forced as the setup options (note that admins can override them still).
// -
// Default: "0"
sm_pugsetup_force_defaults "0"

// Config to execute when the game goes live
// -
// Default: "sourcemod/pugsetup/live.cfg"
sm_pugsetup_live_cfg "sourcemod/pugsetup/live.cfg"

// Maplist file in addons/sourcemod/configs/pugsetup to use. You may also use a workshop collection ID instead of a maplist if you have the SteamWorks extension installed.
// -
// Default: "maps.txt"
sm_pugsetup_maplist "maps.txt"

// Maplist file in addons/sourcemod/configs/pugsetup to use. You may also use a workshop collection ID instead of a maplist if you have the SteamWorks extension installed.
// -
// Default: "aim_maps.txt"
sm_pugsetup_maplist_aim_maps "aim_maps.txt"

// How long the map vote should last if using map-votes.
// -
// Default: "20"
// Minimum: "10.000000"
sm_pugsetup_mapvote_time "20"

// Maximum size of a team when selecting team sizes.
// -
// Default: "6"
// Minimum: "2.000000"
sm_pugsetup_max_team_size "6"

// The tag applied before plugin messages. If you want no tag, you can set an empty string here.
// -
// Default: "[{YELLOW}PugSetup{NORMAL}]"
sm_pugsetup_message_prefix "[{YELLOW}ARG{NORMAL}]"

// Whether clients recieve 16,000 dollars when they spawn. It's recommended you use mp_death_drop_gun 0 in your warmup config if you use this.
// -
// Default: "1"
sm_pugsetup_money_on_warmup_spawn "1"

// Whether an unpause command requires someone from both teams to fully unpause the match. Note that this forces the pause/unpause commands to be unrestricted (so anyone can use them).
// -
// Default: "1"
sm_pugsetup_mutual_unpausing "1"

// Whether pausing is allowed.
// -
// Default: "1"
sm_pugsetup_pausing_enabled "1"

// Config to execute after games finish; should be in the csgo/cfg directory.
// -
// Default: "sourcemod/pugsetup/warmup.cfg"
sm_pugsetup_postgame_cfg "sourcemod/pugsetup/warmup.cfg"

// If set to 1, going live won't restart 3 times and will just do a single restart.
// -
// Default: "0"
sm_pugsetup_quick_restarts "0"

// Whether option 1 in a mapvote is the random map choice.
// -
// Default: "1"
sm_pugsetup_random_map_vote_option "1"

// When maps are shown in the map vote/veto, whether their order ise randomized.
// -
// Default: "1"
sm_pugsetup_randomize_maps "1"

// Whether captains will pick players in a "snaked" fashion rather than alternating, e.g. ABBAABBA rather than ABABABAB.
// -
// Default: "0"
sm_pugsetup_snake_captain_picks "1"

// How many seconds of a countdown phase right before the lo3 process begins.
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_pugsetup_start_delay "5"

// Time format to use when creating demo file names. Don't tweak this unless you know what you're doing! Avoid using spaces or colons.
// -
// Default: "%Y-%m-%d_%H"
sm_pugsetup_time_format "%Y-%m-%d_%H"

// Whether to change map to a random map from sm_pugsetup_maplist_aim_maps during warmup periods
// -
// Default: "0"
sm_pugsetup_use_aim_map_warmup "0"

// Whether to use csgo's built-in warmup functionality. The warmup config (sm_pugsetup_warmup_cfg) will be executed regardless of this setting.
// -
// Default: "1"
sm_pugsetup_use_game_warmup "1"

// Config file to run before/after games; should be in the csgo/cfg directory.
// -
// Default: "sourcemod/pugsetup/warmup.cfg"
sm_pugsetup_warmup_cfg "sourcemod/pugsetup/warmup.cfg"

Last edited by nongnoobjung; 04-29-2015 at 20:01.
nongnoobjung is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode