Raised This Month: $ Target: $400
 0% 

Std Admin Color Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 11-19-2006 , 17:04   Re: Std Admin Color Chat
Reply With Quote #61

Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx        ; admin base (required for any admin-related)
;admin_sql.amxx        ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx        ; basic admin console commands
adminhelp.amxx        ; help command for admin console commands
;adminslots.amxx        ; slot reservation
;multilingual.amxx    ; Multi-Lingual management

; Menus
menufront.amxx        ; front-end for admin menus
cmdmenu.amxx        ; command menu (speech, settings)
plmenu.amxx            ; players menu (kick, ban, client cmds.)
telemenu.amxx        ; teleport menu (Fun Module required!)
mapsmenu.amxx        ; maps menu (vote, changelevel)

; Chat / Messages
std_admin_color_chat.amxx
adminchat.amxx        ; console chat commands
antiflood.amxx        ; prevent clients from chat-flooding the server
scrollmsg.amxx        ; displays a scrolling message
imessage.amxx        ; displays information messages
adminvote.amxx        ; vote commands

; Map related
;nextmap.amxx        ; displays next map in mapcycle
;mapchooser.amxx        ; allows to vote for next map
;timeleft.amxx        ; displays time left on map

; Configuration
pausecfg.amxx        ; allows to pause and unpause some plugins
statscfg.amxx        ; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx        ; restrict weapons menu
statsx.amxx        ; stats on death or round end (CSX Module required!)
miscstats.amxx        ; bunch of events announcement for Counter-Strike
stats_logging.amxx    ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx    ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

fullupdate.amxx

adminlisten.amxx
amx_adminpush.amxx
amx_extend.amxx
amx_super.amxx        ;configure admin flags
amxx_fuckoff.amxx
afkkicker2.amxx
csnadedrops.amxx
deagsmapmanage230b.amxx 
hostagepush.amxx
join_ip.amxx
voicecomm_ban.amxx
Code:
#define MAX_MESSAGE_SIZE            256 #define MAX_COMMAND_SIZE            10 #define AMX_CHAT_CHAR_RECOGNITION    '@'        // What character we look for when we decide if the message should go to the admins #define AMX_PSAY_CHAR_RECOGNITION    '#'        // Character to look for when sending PMs // Error Codes #define TOO_MANY_MATCHED            -1 #define NONE_MATCHED                -2 #define AMX_PSAY_FINDNICK_ERROR_TOO_MANY    "^x04[ACC] says: Error <More than one player matches your input>" #define AMX_PSAY_FINDNICK_ERROR_NONE        "^x04[ACC] says: Error <Player not found>" #define AMX_PSAY_FINDNICK_ERROR_UNKNOWN        "^x04[ACC] says: Error <Unknown error>" // Text defines, PREFIX is text before and SUFFIX is text after the username in a message. // Feel free to change these. Also note that ^x01 and ^x04 is color codes. #define AMX_CHAT_PREFIX                    "^x04 (ADMIN)"                // Text before the username in amx_chat command #define AMX_CHAT_SUFFIX                    ": "    // Text after the username in amx_chat command #define AMX_PSAY_SEND_PREFIX            "^x04 (PRIVATE MESSAGE)"                // Text before the username in a PM that you send #define AMX_PSAY_SEND_SUFFIX            ": ^x01"    // Text after the username in a PM that you send #define AMX_PSAY_BACK_TO_SENDER_PREFIX    "^x04(PRIVATE MESSAGE) "        // Text before the username in the confimation notice of the PM you send #define AMX_PSAY_BACK_TO_SENDER_SUFFIX    ": ^x01"            // Text after the username in the confimation notice of the PM you send #define AMX_SAY_PREFIX                    "^x04 (ALL)"                // Text before the username in the amx_say command #define AMX_SAY_SUFFIX                    ": ^x01"    // Text after the username in the amx_say command
Anyone see anything wrong with this?
Lee is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 11-19-2006 , 18:14   Re: Std Admin Color Chat
Reply With Quote #62

Have it like this instead

Code:
 
#define MAX_MESSAGE_SIZE 192
#define MAX_COMMAND_SIZE 10
#define AMX_CHAT_CHAR_RECOGNITION '@' // What character we look for when we decide if the message should go to the admins
#define AMX_PSAY_CHAR_RECOGNITION '#' // Character to look for when sending PMs
// Error Codes
#define TOO_MANY_MATCHED -1
#define NONE_MATCHED -2
#define AMX_PSAY_FINDNICK_ERROR_TOO_MANY "^x04[ACC] says: Error <Too many found>"
#define AMX_PSAY_FINDNICK_ERROR_NONE "^x04[ACC] says: Error <None found>"
#define AMX_PSAY_FINDNICK_ERROR_UNKNOWN "^x04[ACC] says: Error <Unknown error>"
// Text defines, PREFIX is text before and SUFFIX is text after the username in a message.
// Feel free to change these. Also note that ^x01 and ^x04 is color codes.
#define AMX_CHAT_PREFIX "^x04" // Text before the username in amx_chat command
#define AMX_CHAT_SUFFIX " tells admins: " // Text after the username in amx_chat command
#define AMX_PSAY_SEND_PREFIX "^x04" // Text before the username in a PM that you send
#define AMX_PSAY_SEND_SUFFIX " PMs you: ^x01" // Text after the username in a PM that you send
#define AMX_PSAY_BACK_TO_SENDER_PREFIX "^x04You PM " // Text before the username in the confimation notice of the PM you send
#define AMX_PSAY_BACK_TO_SENDER_SUFFIX ": ^x01" // Text after the username in the confimation notice of the PM you send
#define AMX_SAY_PREFIX "^x04" // Text before the username in the amx_say command
#define AMX_SAY_SUFFIX " tells all: ^x01" // Text after the username in the amx_say command
If you need to change it only change one thing then test.
If it doesn't work undo the change.
Maybe it doesnt like that you have the char ( and )
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Old 12-28-2006, 06:23
aligind4h0us3
This message has been deleted by aligind4h0us3.
illurox
New Member
Join Date: Feb 2007
Old 02-22-2007 , 05:17   Re: Std Admin Color Chat
Reply With Quote #63

Hello all .. This is my first post here .. I just started a server of my own a few dayz baq

My query iz that is there any "amx" plugin for coloured admin messages ? I did found one on djeyl but thats not working ..

If anyone knowz abt it, plz give me the link .. It'll be a great help to me
illurox is offline
Send a message via MSN to illurox
illurox
New Member
Join Date: Feb 2007
Old 02-22-2007 , 05:23   Re: Std Admin Color Chat
Reply With Quote #64

And yea .. I dunno whether itz a problem with my compiler or with the std_admin_chat.sma file, itz not converting to .amx

So if there is no amx version of this plugin available out there, can anyone of yew convert it and post it here ?
illurox is offline
Send a message via MSN to illurox
iggy_bus
BANNED
Join Date: Oct 2005
Old 03-17-2007 , 22:52   Re: Std Admin Color Chat
Reply With Quote #65

Hi, is there any code for text color other than ^x04 and ^01?
Pink maybe, or something?
iggy_bus is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-17-2007 , 23:00   Re: Std Admin Color Chat
Reply With Quote #66

That's impossible.

Only, red/bue/white and green/yellow.
__________________
Arkshine is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 03-18-2007 , 16:21   Re: Std Admin Color Chat
Reply With Quote #67

suxx.

yellow? how ?
iggy_bus is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 03-18-2007 , 22:03   Re: Std Admin Color Chat
Reply With Quote #68

Quote:
Originally Posted by iggy_bus View Post
suxx.

yellow? how ?
Yellow is Counter-Strike default color.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
RPG
Senior Member
Join Date: Aug 2005
Old 09-09-2007 , 04:26   Re: Std Admin Color Chat
Reply With Quote #69

Dm looks like this plugin don't work like it should anymore.
Amxx 1.76d, MM 1.19p31
Is amx_psay works for anybody?
Don't work with #userid, only works in console with name, exmpl.:
amx_psay peter Hello

No echo msgs and no error print in console ever.

Other question, is it possible to show admin msg by player like this (like default adminchat plugin):
Greeg (Player) : Hello admins

And by admin msg to admins:
N1 (ADMIN) : Wazapp

Can't find solution. Any help?
RPG is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-09-2007 , 14:55   Re: Std Admin Color Chat
Reply With Quote #70

IT works fine for me with 1.76d and 1.8beta
__________________
bmann_420 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 00:54.


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