Raised This Month: $ Target: $400
 0% 

Message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
raducuursu
Junior Member
Join Date: Sep 2012
Old 09-03-2013 , 10:43   Message
Reply With Quote #1

message_shower sma so I want to change it and put ColorChat of you attach far ColorChat
delete old ColorChat of sma and put it after include my
It is sma:

PHP Code:
#include < amxmodx >
#include < amxmisc >

#define PLUGIN "Messages Shower"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define ADVERTISING_TIME 60.0

stock const messages [ ] [ ] =
{
    
"mesaj",
      
"mesaj",
    
"mesaj",
    
"mesaj",
    
"mesaj"
}

public 
plugin_init ( )
{
    
register_plugin PLUGINVERSIONAUTHOR )
    
    
set_task ADVERTISING_TIME"show_messages"___,"b" );
}

public 
show_messages ( )
{
    new 
Buffer[256];
    
formatex(Buffersizeof Buffer 1"^x04%s"messages[random(sizeof messages)]);
    
    new 
players[32], numid;
    
get_players(playersnum);
    
    for(new 
num i++)
    {
        
id players[i]
    
        
message_begin(MSG_ONEget_user_msgid("SayText"), _id);
        
write_byte(id);
        
write_string(Buffer);
        
message_end();
    }

it is chatcolor.inc
PHP Code:
#if defined _chatcolor_included
  #endinput
#endif
#define _chatcolor_included

#pragma reqlib chatcolor

enum _:Colors {
    
DontChange,
    
Red,
    
Blue,
    
Grey
}

native client_print_color(idiColor=DontChange, const szMsg[], any:...) 

Last edited by raducuursu; 09-03-2013 at 10:50.
raducuursu 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 19:11.


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