Raised This Month: $ Target: $400
 0% 

set_task print color chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-24-2014 , 12:05   Re: set_task print color chat
Reply With Quote #4

Maybe, something like this?
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
// For first message
    
set_task(10.0"m1")
}

public 
m1()
{
    
client_print_color(0print_team_red"^1* ^3RED_message");
    
    
// For message 2
    
set_task(10.0"m2")
}

public 
m2()
{
    
client_print_color(0print_team_blue"^1* ^3BLUE_message");
    
    
// For message 3
    
set_task(10.0"m3")
}

public 
m3()
{
    
client_print_color(0print_team_grey"^1* ^3GREY_message");
    
    
// For message 4
    
set_task(10.0"m4")
}

public 
m4()
{
    
client_print_color(0print_team_default"^1* ^4green_message");
    
    
// For message 5
    
set_task(10.0"m5")
}

public 
m5()
{
    
client_print_color(0print_team_default"^1* yellow_message");
    
    
// Start again with first message
    
set_task(10.0"m1")


Last edited by zmd94; 12-24-2014 at 20:51.
zmd94 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