Hi,
i know there are already more topics about this but there i cant understand anything...
so i want to print ma txt colored.
PHP Code:
#include <amxmodx>
#define PLUGIN "Commands Helper"
#define VERSION "1.0"
#define AUTHOR "One"
new ad_time
public plugin_init()
{
register_clcmd("say cm", "CommandHelper")
register_clcmd("say /cm", "CommandHelper")
ad_time = register_cvar("ads_time","60");
set_task(float(get_pcvar_num(ad_time)), "ads");
}
public CommandHelper(id)
{
show_motd(id,"commands.txt", "Commands Helper")
}
public ads()
{
client_print(0, print_chat, "Say /cm to see the validable Commands to you!")
set_task(float(get_pcvar_num(ad_time)), "ads")
}
how can i give this random colors? exam :
first time : green
secund time : blue
& ....
__________________