[Pomoc] Dupli chat

Započeo System32
1. Maj 2011.
672
pregleda
3
postova
Mr.Lowrey
5
Godfather
1. Maj 2011.
Skripta koju koristim: Freeroam by Fafu
Detaljan opis problema:znaci makao sam 2 jezicnu skriptu i sad imam 2 chat jer to nisam znao kako uklonit, znaci kad napisem nesto na chat onda se vidi ali pise recimo ovako
System32:
System32: a (mislim "a" je tekst koji upisem)
Dio skripte:ako treba dat cu GM neznam sta treba
Neke slike/video za lakse dobivanje pomoci(neobavezno):
pavle.bakun
5
Crime Lord
1. Maj 2011.
Ako je to na t daj nam OnPlayerText
Mr.Lowrey
5
Godfather
1. Maj 2011.
+ iznad tog publica imam jedan new i forward, to je za taj Spam
public OnPlayerText(playerid, text[])
{
if(text == '#' || text == '@')
{
    new string;
new adminChat;
strmid(adminChat,text,1,strlen(text));
format(string, sizeof(string),"(admin-chat)%s: %s", PlayerName(playerid), adminChat);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerAdmin(i) && IsPlayerConnected(i))
{
  SendClientMessage(i, COLOR_KRED, string);
}
}
return 0;
}

Spam++;
SetTimerEx("Spamm", 6000, 0, "d", playerid);
if(Spam > 6) KickMsg(playerid, "Spam");
new te;
SendPlayerMessageToAll(playerid, te);
    SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
    return 1;
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha