Konu

#1
selamlar. serverimdeki reklamların renkleri komple sarı. 
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 Üzgünüm

#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ı.
Son Düzenleme: 06-02-2025, 13:56, Düzenleyen: hairless34.
#2
Konu istek sahibi tarafından çözülmüştür.

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Benzer Konular

Task
Kayıt Ol
Uygun fiyatlı ve yüksek performanslı teamspeak3