kullandığım plugin
Her 1 Dakikada Otomatik Reklam Atma - WEBAilesi.COM
!t !g olarak denedim. çalışırsa çözüldüye taşıyacağım
çalışmadı maalesef

#include <amxmodx>
#define PLUGIN "Auto_Advertisement"
#define VERSION "1.0"
#define AUTHOR "By.KinG"
new const TAG[] = "Webailesi GaminG";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
set_task(23.0, "Message", 0, _, _, "b");
}
public Message()
{
for(new i; i < 2; i++)
{
Renkli_Yazi(0, "^1[^3%s^1] ^4Komutlar : /market - /redbull - /adrenaline -", TAG);
}
}
stock Renkli_Yazi(const ID, const input[], any:...)
{
new Count = 1, Players[32];
static Message[191];
vformat(Message, 190, input, 3);
/* ^1 | ^x01 --> Yellow */
/* ^4 | ^x04 --> Green */
/* ^3 | ^x03 --> Team Color */
replace_all(Message, 190, "^1", "^x01");
replace_all(Message, 190, "^4", "^x04");
replace_all(Message, 190, "^3", "^x03");
switch(AMXX_VERSION_NUM)
{
case 182 :
{
if(ID) Players[0] = ID; else get_players(Players, Count, "ch");
{
for(new i = 0; i < Count; i++)
{
if(is_user_connected(Players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, Players[i]);
write_byte(Players[i]);
write_string(Message);
message_end();
}
}
}
}
case 183 :
{
client_print_color(ID, ID, Message);
}
default :
{
client_print(ID, print_chat, Message);
}
}
}
bu eklentide renkli yazmıyor full sarı.