This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

amx_cmassage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
itsme1
Member
Join Date: Jun 2006
Location: Birmingham UK
Old 05-26-2024 , 13:45   amx_cmassage
Reply With Quote #1

Hi

In my amxx.cfg file i have amx_scrolling and anx_imessage which both work and are in colour.

When i add a amx_cmessage the message gets displayed but without any colour.

Please take a look at my amxx.cfg file and tell me where im going wrong please.

Thanks in advance.



// TheDoctor0 - Base Pack

// AMX Mod X Configuration File
echo [TheDoctor0 - Base Pack] Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
// 3 - show name only to admins, hide name from normal users
// 4 - show name only to admins, show nothing to normal users
// 5 - hide name only to admins, show nothing to normal users
//
// Default value: 2
amx_show_activity 2

// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to |C16S| Custom | XP | Rank | 1 |" 600
amx_scrollmsg "Welcome to |C16S| Custom | XP | Rank | 1 |" 65

// Center typed colored messages (last parameter is a color in 000000255 format)
//
// Default values: "Welcome to |C16S| Custom | XP | Rank | 1 |" "000000255"
//
amx_imessage "Welcome to |C16S| Custom | XP | Rank | 1 |" "000255100"
amx_imessage "Welcome to |C16S| Custom | XP | Rank | 1 |" "000100255"

// Frequency in seconds of colored messages
//
// Default value: 65
amx_freq_imessage 65

// Frequency in seconds and text of imessage message
//
// Default value: "CUSTOM SHOP BUY BUY BUY !!! TYPE /SHOP" "000255000"" 45
amx_imessage "CUSTOM SHOP BUY BUY BUY !!! TYPE /SHOP" 45

// Center typed colored messages (last parameter is a color in 000255000 format)
//
// Default values: "CUSTOM SHOP BUY BUY BUY !!! TYPE /SHOP" "000255000"
//
amx_imessage "CUSTOM SHOP BUY BUY BUY !!! TYPE /SHOP" "000255000"

// Frequency in seconds of colored messages
//
// Default value: 45
amx_freq_imessage 45

// Frequency in seconds and text of cmessage message
//
// Default value: "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" 30
amx_cmessage "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" 30

// Center typed colored messages (last parameter is a color in 000255000 format)
//
// Default values: "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" "000255000"
//
amx_cmessage "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" "000255000"
amx_cmessage "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" "000255000"
amx_cmessage "| C16S | CUSTOM SHOP TYPE :- SAY/SHOP" "000255000"

// Frequency in seconds of colored messages
//
// Default value: 30
amx_freq_cmessage 30

// Frequency in seconds and text of cmessage message
//
// Default value: "WWW.TSARVAR.COM AND JOIN |C16S| GET 1000 XP REWARD" 40
amx_cmessage "WWW.TSARVAR.COM AND JOIN |C16S| GET 1000 XP REWARD" 40

// Center typed colored messages (last parameter is a color in 000000255 format)
//
// Default values: "WWW.TSARVAR.COM AND JOIN |C16S| GET 1000 XP REWARD" "000255000"
//
amx_cmessage "WWW.TSARVAR.COM AND JOIN |C16S| GET 1000 XP REWARD" "000255000"

// Frequency in seconds of colored messages
//
// Default value: 40
amx_freq_imessage 40

// Frequency in seconds and text of cmessage message
//
// Default value: "SAY /RTV to rock the vote" 90
amx_cmessage "SAY /RTV to rock the vote" 90

// Center typed colored messages (last parameter is a color in 000000255 format)
//
// Default values: "SAY /RTV to rock the vote" "255255255"
//
amx_cmessage "SAY /RTV to rock the vote" "255255255"

// Frequency in seconds of colored messages
//
// Default value: 90
amx_freq_imessage 90

// Frequency in seconds and text of cmessage message
//
// Default value: "Press [e] or use Button for Parachute" 60
amx_cmessage "Press [e] or use Button for Parachute" 60

// Center typed colored messages (last parameter is a color in 000000255 format)
//
// Default values: "Press [e] or use Button for Parachute" "255000255"
//
amx_cmessage "Press [e] or use Button for Parachute" "255000255"

// Frequency in seconds of colored messages
//
// Default value: 60
amx_freq_imessage 60

// Frequency in seconds and text of cmessage message
//
// Default value: "TYPE /rs TOO RESET SCORE" 70
amx_cmessage "TYPE /rs TOO RESET SCORE" 70

// Center typed colored messages (last parameter is a color in 000000255 format)
//
// Default values: "TYPE /rs TOO RESET SCORE" "255255000"
//
amx_cmessage "TYPE /rs TOO RESET SCORE" "255255000"

// Frequency in seconds of colored messages
//
// Default value: 70
amx_freq_imessage 70

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60

// Max temporary ban time (admins with ADMIN_BAN_TEMP access can't ban more than this time)
// time in minutes, 60 is 1 hour, 120 is 2 hours, 1440 is 1 day, and 10080 is 1 week
// Default value: 4320 aka 3 days
amx_tempban_maxtime 4320

// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the last option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5

// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75

// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0

// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10

// How long voting session goes on
//
// Default value: 10
amx_vote_time 10

// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1

// Some ratios for voting success

// Default value: 0.40
amx_votekick_ratio 0.40

// Default value: 0.40
amx_voteban_ratio 0.40

// Default value: 0.40
amx_votemap_ratio 0.40

// Default value: 0.02
amx_vote_ratio 0.02

// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90

// Step for each extending
//
// Default value: 15
amx_extendmap_step 10

// Server language in ISO 639-1 format
// Please see data/lang/languages.txt file for a list of supported languages
//
// Default value: en
amx_language "en"

// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1

// If you set this to 0, clients will not see a message about amx_langmenu when they join the server
//
// Default value: 1
amx_language_display_msg 1

// If you set this to 0, clients will not see a message about amx_help when they join the server
//
// Default value: 1
amx_help_display_msg 1

// Time to wait (in seconds) before displaying a message about amx_help to a client once joined the server
//
// Default value: 15
amx_help_display_msg_time 15

// Amount of commands per amx_help page
//
// Default value: 10
amx_help_amount_per_page 10

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1

// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""

//
// Beginning of Counter-Strike package specific configurations.
//

// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 1

// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500

// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 1

// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0

// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0

// Sets whether Restrict Weapons plugin should use a configuration file per map or or not.
// If enabled, the file format is: weaprest_mapname.ini (e.g. weaprest_de_dust.ini).
// -
// Default value: 0
amx_restrmapsettings 0

// Performance monitor
//
// If function executed more than amx_perflog_ms milliseconds
// print plugin and function name to current amxmodx log file.
//
// Time in milliseconds
// Default value: 1.0
//
amx_perflog_ms 1.0
itsme1 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-27-2024 , 01:53   Re: amx_cmassage
Reply With Quote #2

amx_cmessage is not a function provided by AMX Mod X itself. If you have issues with a plugin that doesn't come with the AMX Mod X downloads, you should post that question in the thread that supports that plugin.

P.S. When posting contents of any file that is plain text, put it in [code][/code] tags.
__________________
fysiks is offline
Reply



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 06:27.


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