Raised This Month: $ Target: $400
 0% 

#Cstrike_Chat_All


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-15-2017 , 16:37   #Cstrike_Chat_All
Reply With Quote #1

Is it possible to use the special tag #Cstrike_Chat_All and put a message right after it? Like this:

Code:
ColorChat(id, "#Cstrike_Chat_All%s", Name);
Edit: Fixed!

PHP Code:
ColorChatSpecial(id"#Cstrike_Chat_All""HelloWorld!");

------------------------------

stock ColorChatSpecial(const index, const tag[], const string[], {FloatSqlResul,_}:...) 
{    
    if(!
index) return 1;
    
    if(
is_user_connected(index))
    {
        
        static 
SayText;
        
        if(!
SayText)
            
SayText get_user_msgid("SayText");
            
        
message_begin(MSG_ONE_UNRELIABLESayText,_index);
        
write_byte(index);
        
write_string(tag);
        
write_string("");
        
write_string(string);
        
message_end();
    }
    return 
1;


Last edited by eyal282; 07-15-2017 at 16:40.
eyal282 is offline
 


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 23:09.


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