Raised This Month: $12 Target: $400
 3% 

Help | Color Chat Amxx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-05-2016 , 07:29   Help | Color Chat Amxx
Reply With Quote #1

hi!
i need to all colorchat amxx.
plz help and share all color amxx
Dr.Mohammad is offline
zodisrael
Junior Member
Join Date: Apr 2016
Location: Israel
Old 07-07-2016 , 12:54   Re: Help | Color Chat Amxx
Reply With Quote #2

What you mean "all color chat amxx"
the names of the color chat is [1] Yellow, [2] Green, [3] White, [4] Blue, [5] Red, [6] Team-Color.
zodisrael is offline
Send a message via Skype™ to zodisrael
j.abdalftah
Member
Join Date: Jul 2016
Location: Palestine-Hebron
Old 07-08-2016 , 08:12   Re: Help | Color Chat Amxx
Reply With Quote #3

Meybe he want all plugin chat color
some of this plugins high the chat when it start with slash "/"
j.abdalftah is offline
Synceed
Junior Member
Join Date: Apr 2016
Old 07-08-2016 , 16:58   Re: Help | Color Chat Amxx
Reply With Quote #4

Quote:
Originally Posted by j.abdalftah View Post
Meybe he want all plugin chat color
some of this plugins high the chat when it start with slash "/"
Like /green its make your chat green /yellow its make your chat yellow?
Synceed is offline
zodisrael
Junior Member
Join Date: Apr 2016
Location: Israel
Old 07-08-2016 , 17:11   Re: Help | Color Chat Amxx
Reply With Quote #5

Quote:
Originally Posted by j.abdalftah View Post
Meybe he want all plugin chat color
some of this plugins high the chat when it start with slash "/"
If it's like that Synced said i'll try to find it
zodisrael is offline
Send a message via Skype™ to zodisrael
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-17-2016 , 02:27   Re: Help | Color Chat Amxx
Reply With Quote #6

Quote:
Originally Posted by zodisrael View Post
What you mean "all color chat amxx"
the names of the color chat is [1] Yellow, [2] Green, [3] White, [4] Blue, [5] Red, [6] Team-Color.
plz share cod for chat !

^x03text ^x01 =>> team color
^x04text ^x01 =>> green

[1] Yellow, [3] White, [4] Blue, [5] Red ???????
Dr.Mohammad is offline
ZdubZ0r
Senior Member
Join Date: Feb 2011
Location: Romania
Old 07-25-2016 , 14:05   Re: Help | Color Chat Amxx
Reply With Quote #7

Here`s a stock , wich you put inside any .sma and edit the text files from
client_print_color(id, bla bla to ColorChat(id, bla bla bla
Exemple of chat message
PHP Code:
ColorChat(0"!x04[ZP] !x03Player !x01%s !x03is the !x04VIP !x03this round"Name
!x04 - green
!x03 - normal ( yellow or whatever )
!x01 - team color
PHP Code:
stock ColorChat(const id, const input[], any:...) {
    new 
count 1players[32];
    static 
msg[191];
    
vformat(msg190input3);
    
    
replace_all(msg190"!x04""^4");
    
replace_all(msg190"!x03""^3");
    
    if(
idplayers[0] = id;
    else 
get_players(playerscount"ch"); {
        for(new 
0counti++) {
            if(
is_user_connected(players[i])) {
                
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }
        }
    }


Last edited by ZdubZ0r; 07-25-2016 at 14:06.
ZdubZ0r is offline
Send a message via Yahoo to ZdubZ0r Send a message via Skype™ to ZdubZ0r
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 08-07-2016 , 02:26   Re: Help | Color Chat Amxx
Reply With Quote #8

tank you all !
Dr.Mohammad is offline
NsaGcl
Junior Member
Join Date: Aug 2016
Location: Concepcion, Chile
Old 12-26-2016 , 00:17   Re: Help | Color Chat Amxx
Reply With Quote #9

A simple way is add #include <zp50_colorchat>(i supose you're using zp) and use
PHP Code:
zp_colored_print(id"^x01Normal color ^x03Team color ^x04Green Color"
In case you replace this
PHP Code:
client_print(idprint_chat"TEXT"
only delete "print_chat, " and replace "client_print" --> "zp_colored_print" ;)

NOTE: IF YOU USE ZP_COLORED_PRINT IT WILL ADD A PREFIX [ZOMBIEPLAGUE] OR YOUR ZP NAME
__________________
Just learning

Last edited by NsaGcl; 12-26-2016 at 00:20.
NsaGcl is offline
Reply


Thread Tools
Display Modes

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 04:41.


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