Raised This Month: $ Target: $400
 0% 

set_task print color chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
popeye10
Senior Member
Join Date: May 2014
Location: Navi Mumbai (India)
Old 12-24-2014 , 11:05   Re: set_task print color chat
Reply With Quote #2

like this ?
PHP Code:
#include <amxmodx>
#include <colorchat>

#define PLUGIN "Simple Messages"
#define VERSION "1.0"
#define AUTHOR "FLAiTE"

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
set_task(10.0,  "m1"___"b"0);
    
set_task(30.0,  "m2"___"b"0);
    
set_task(50.0,  "m3"___"b"0);
    
set_task(70.0,  "m4"___"b"0);
    
set_task(90.0,  "m5"___"b"0);
}

public 
m1(id)
{
    
client_print_color(0RED"* RED_message");
}

public 
m2(id)
{
    
client_print_color(0BLUE"* BLUE_message");
}

public 
m3(id)
{
    
client_print_color(0GREY"* GREY_message");
}

public 
m4(id)
{
    
client_print_color(0GREEN"* Green_message");
}

public 
m5(id)
{
    
client_print_color(0NORMAL"* Yellow_message");

__________________

Last edited by popeye10; 12-24-2014 at 11:11.
popeye10 is offline
 



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 15:18.


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